Add version and count overrides to elasticsearch+kibana.
Showing
2 changed files
with
24 additions
and
0 deletions
... | @@ -2,6 +2,10 @@ name: test | ... | @@ -2,6 +2,10 @@ name: test |
2 | namespace: default | 2 | namespace: default |
3 | elasticsearch: | 3 | elasticsearch: |
4 | enabled: true | 4 | enabled: true |
5 | version: 8.2.3 | ||
6 | count: 2 | ||
7 | kibana: | ||
8 | count: 1 | ||
5 | postgresql: | 9 | postgresql: |
6 | enabled: true | 10 | enabled: true |
7 | clone: {} | 11 | clone: {} | ... | ... |
... | @@ -16,14 +16,34 @@ releases: | ... | @@ -16,14 +16,34 @@ releases: |
16 | values: | 16 | values: |
17 | - namePrefix: {{ .Values.name }}- | 17 | - namePrefix: {{ .Values.name }}- |
18 | strategicMergePatches: | 18 | strategicMergePatches: |
19 | - apiVersion: elasticsearch.k8s.elastic.co/v1 | ||
20 | kind: Elasticsearch | ||
21 | metadata: | ||
22 | name: {{ .Values.name }}-moqui | ||
23 | namespace: {{ .Values.namespace }} | ||
24 | spec: | ||
25 | version: {{ .Values.elasticsearch.version }} | ||
19 | - apiVersion: kibana.k8s.elastic.co/v1 | 26 | - apiVersion: kibana.k8s.elastic.co/v1 |
20 | kind: Kibana | 27 | kind: Kibana |
21 | metadata: | 28 | metadata: |
22 | name: {{ .Values.name }}-moqui | 29 | name: {{ .Values.name }}-moqui |
23 | namespace: {{ .Values.namespace }} | 30 | namespace: {{ .Values.namespace }} |
24 | spec: | 31 | spec: |
32 | count: {{ .Values.elasticsearch.kibana.count }} | ||
33 | version: {{ .Values.elasticsearch.version }} | ||
25 | elasticsearchRef: | 34 | elasticsearchRef: |
26 | name: {{ .Values.name }}-moqui | 35 | name: {{ .Values.name }}-moqui |
36 | jsonPatches: | ||
37 | - target: | ||
38 | group: elasticsearch.k8s.elastic.co | ||
39 | version: v1 | ||
40 | kind: Elasticsearch | ||
41 | name: {{ .Values.name }}-moqui | ||
42 | namespace: {{ .Values.namespace }} | ||
43 | patch: | ||
44 | - op: replace | ||
45 | path: /spec/nodeSets/0/count | ||
46 | value: {{ .Values.elasticsearch.count }} | ||
27 | 47 | ||
28 | - name: {{ .Values.name }}-moqui-postgresql | 48 | - name: {{ .Values.name }}-moqui-postgresql |
29 | condition: postgresql.enabled | 49 | condition: postgresql.enabled | ... | ... |
-
Please register or sign in to post a comment