Skip to content

Commit

Permalink
Bump ES, Redis for k8s 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Sep 28, 2020
1 parent fd6f428 commit f8c48da
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion elasticsearch/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 0.5.1
version: 0.5.2
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
icon: https://static-www.elastic.co/assets/blteb1c97719574938d/logo-elastic-elasticsearch-lt.svg
Expand Down
7 changes: 6 additions & 1 deletion elasticsearch/templates/client-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
Expand All @@ -9,6 +9,11 @@ metadata:
release: {{ .Release.Name }}
name: {{ template "elasticsearch.client.fullname" . }}
spec:
selector:
matchLabels:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.client.name }}"
release: {{ .Release.Name }}
replicas: {{ .Values.client.replicas }}
{{- if .Values.client.strategy }}
strategy:
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ data:
curl -s \
--cacert ${SERVICE_ACCOUNT_PATH}/ca.crt \
-H "Authorization: Bearer $KUBE_TOKEN" \
"https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_PORT_443_TCP_PORT}/apis/apps/v1beta1/namespaces/${KUBE_NAMESPACE}/statefulsets/${STATEFULSET_NAME}/status"
"https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_PORT_443_TCP_PORT}/apis/apps/v1/namespaces/${KUBE_NAMESPACE}/statefulsets/${STATEFULSET_NAME}/status"
)
INSTANCES_DESIRED=$(
python - <<-EOF
Expand Down
7 changes: 6 additions & 1 deletion elasticsearch/templates/data-statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
Expand All @@ -9,6 +9,11 @@ metadata:
release: {{ .Release.Name }}
name: {{ template "elasticsearch.data.fullname" . }}
spec:
selector:
matchLabels:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.data.name }}"
release: {{ .Release.Name }}
serviceName: {{ template "elasticsearch.data.fullname" . }}
replicas: {{ .Values.data.replicas }}
{{- if .Values.data.updateStrategy }}
Expand Down
7 changes: 6 additions & 1 deletion elasticsearch/templates/master-statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
Expand All @@ -9,6 +9,11 @@ metadata:
release: {{ .Release.Name }}
name: {{ template "elasticsearch.master.fullname" . }}
spec:
selector:
matchLabels:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.master.name }}"
release: {{ .Release.Name }}
serviceName: {{ template "elasticsearch.master.fullname" . }}
replicas: {{ .Values.master.replicas }}
{{- if .Values.master.updateStrategy }}
Expand Down
2 changes: 1 addition & 1 deletion redis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: redis
version: 1.1.2
version: 1.1.3
appVersion: 4.0.6
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
keywords:
Expand Down
6 changes: 5 additions & 1 deletion redis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ template "redis.fullname" . }}
labels:
{{- include "redis.labels.standard" . | nindent 4 }}
spec:
selector:
matchLabels:
app: {{ template "redis.name" . }}
release: {{ .Release.Name }}
serviceName: {{ template "redis.fullname" . }}
replicas: 1
updateStrategy:
Expand Down

0 comments on commit f8c48da

Please sign in to comment.