Skip to content

Commit 63c3f2d

Browse files
committed
chore(addons): bind secretRef should be secretKeyRef
1 parent cf5fb8d commit 63c3f2d

18 files changed

Lines changed: 83 additions & 74 deletions

File tree

addons/opensearch/2.10/chart/opensearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
category: Analytics
66
licenses: Apache-2.0
77
apiVersion: v2
8-
appVersion: 2.10.0
8+
appVersion: "2.10"
99
dependencies:
1010
- name: common
1111
repository: oci://registry.drycc.cc/charts

addons/opensearch/2.10/chart/opensearch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ helm delete --purge my-release
105105
| `useIstioLabels` | Use this variable to add Istio labels to all pods | `true` |
106106
| `image.registry` | OpenSearch image registry | `docker.io` |
107107
| `image.repository` | OpenSearch image repository | `bitnami/opensearch` |
108-
| `image.tag` | OpenSearch image tag (immutable tags are recommended) | `2.10.0` |
108+
| `image.tag` | OpenSearch image tag (immutable tags are recommended) | `2.10` |
109109
| `image.digest` | OpenSearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
110110
| `image.pullPolicy` | OpenSearch image pull policy | `IfNotPresent` |
111111
| `image.pullSecrets` | OpenSearch image pull secrets | `[]` |
@@ -621,7 +621,7 @@ helm delete --purge my-release
621621
| `dashboards.enabled` | Enables OpenSearch Dashboards deployment | `false` |
622622
| `dashboards.image.registry` | OpenSearch Dashboards image registry | `docker.io` |
623623
| `dashboards.image.repository` | OpenSearch Dashboards image repository | `bitnami/opensearch-dashboards` |
624-
| `dashboards.image.tag` | OpenSearch Dashboards image tag (immutable tags are recommended) | `2.10.0` |
624+
| `dashboards.image.tag` | OpenSearch Dashboards image tag (immutable tags are recommended) | `2.10` |
625625
| `dashboards.image.digest` | OpenSearch Dashboards image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
626626
| `dashboards.image.pullPolicy` | OpenSearch Dashboards image pull policy | `IfNotPresent` |
627627
| `dashboards.image.pullSecrets` | OpenSearch Dashboards image pull secrets | `[]` |

addons/opensearch/2.10/meta.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: opensearch
2-
version: 2.10
2+
version: "2.10"
33
id: 5975094d-45cc-4e85-8573-f93937d026c7
44
description: "opensearch."
55
displayName: "opensearch"
@@ -15,8 +15,16 @@ instances_retrievable: true
1515
bindings_retrievable: true
1616
plan_updateable: true
1717
allow_parameters:
18-
- name: "networkPolicy.allowNamespaces"
19-
description: "networkPolicy allowNamespaces config for values.yaml"
18+
- name: "master.networkPolicy.allowNamespaces"
19+
description: "master networkPolicy allowNamespaces config for values.yaml"
20+
- name: "ingest.networkPolicy.allowNamespaces"
21+
description: "ingest networkPolicy allowNamespaces config for values.yaml"
22+
- name: "data.networkPolicy.allowNamespaces"
23+
description: "data networkPolicy allowNamespaces config for values.yaml"
24+
- name: "coordinating.networkPolicy.allowNamespaces"
25+
description: "coordinating networkPolicy allowNamespaces config for values.yaml"
26+
- name: "dashboards.networkPolicy.allowNamespaces"
27+
description: "dashboards networkPolicy allowNamespaces config for values.yaml"
2028
- name: "service.type"
2129
description: "service type config for values.yaml"
2230
- name: "dashboards.service.type"

addons/opensearch/2.10/plans/standard-1024/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ credential:
5050
{{- if .Values.security.enabled }}
5151
- name: OPENSEARCH_PASSWORD
5252
valueFrom:
53-
secretRef:
53+
secretKeyRef:
5454
name: {{ template "common.names.fullname" . }}
5555
jsonpath: '{ .data.opensearch-password }'
5656

5757
- name: OPENSEARCH_DASHBOARDS_PASSWORD
5858
valueFrom:
59-
secretRef:
59+
secretKeyRef:
6060
name: {{ template "common.names.fullname" . }}
6161
jsonpath: '{ .data.opensearch-dashboards-password }'
6262

6363
- name: LOGSTASH_PASSWORD
6464
valueFrom:
65-
secretRef:
65+
secretKeyRef:
6666
name: {{ template "common.names.fullname" . }}
6767
jsonpath: '{ .data.logstash-password }'
6868
{{- end }}

addons/opensearch/2.10/plans/standard-128/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ credential:
5050
{{- if .Values.security.enabled }}
5151
- name: OPENSEARCH_PASSWORD
5252
valueFrom:
53-
secretRef:
53+
secretKeyRef:
5454
name: {{ template "common.names.fullname" . }}
5555
jsonpath: '{ .data.opensearch-password }'
5656

5757
- name: OPENSEARCH_DASHBOARDS_PASSWORD
5858
valueFrom:
59-
secretRef:
59+
secretKeyRef:
6060
name: {{ template "common.names.fullname" . }}
6161
jsonpath: '{ .data.opensearch-dashboards-password }'
6262

6363
- name: LOGSTASH_PASSWORD
6464
valueFrom:
65-
secretRef:
65+
secretKeyRef:
6666
name: {{ template "common.names.fullname" . }}
6767
jsonpath: '{ .data.logstash-password }'
6868
{{- end }}

addons/opensearch/2.10/plans/standard-16/bind.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,23 @@ credential:
4747
jsonpath: '{ .spec.ports[?(@.name=="http")].port }'
4848
{{- end }}
4949

50+
5051
{{- if .Values.security.enabled }}
5152
- name: OPENSEARCH_PASSWORD
5253
valueFrom:
53-
secretRef:
54+
secretKeyRef:
5455
name: {{ template "common.names.fullname" . }}
5556
jsonpath: '{ .data.opensearch-password }'
5657

5758
- name: OPENSEARCH_DASHBOARDS_PASSWORD
5859
valueFrom:
59-
secretRef:
60+
secretKeyRef:
6061
name: {{ template "common.names.fullname" . }}
6162
jsonpath: '{ .data.opensearch-dashboards-password }'
6263

6364
- name: LOGSTASH_PASSWORD
6465
valueFrom:
65-
secretRef:
66+
secretKeyRef:
6667
name: {{ template "common.names.fullname" . }}
6768
jsonpath: '{ .data.logstash-password }'
6869
{{- end }}

addons/opensearch/2.10/plans/standard-16/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ master:
2121
##
2222
resources:
2323
limits:
24-
cpu: 1000m
25-
memory: 1024Mi
24+
cpu: 2000m
25+
memory: 2048Mi
2626
requests:
27-
cpu: 100m
27+
cpu: 500m
2828
memory: 512Mi
2929
## @param master.heapSize OpenSearch master-eligible node heap size.
3030
## Note: The recommended heapSize is half of the container's memory.

addons/opensearch/2.10/plans/standard-256/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ credential:
5050
{{- if .Values.security.enabled }}
5151
- name: OPENSEARCH_PASSWORD
5252
valueFrom:
53-
secretRef:
53+
secretKeyRef:
5454
name: {{ template "common.names.fullname" . }}
5555
jsonpath: '{ .data.opensearch-password }'
5656

5757
- name: OPENSEARCH_DASHBOARDS_PASSWORD
5858
valueFrom:
59-
secretRef:
59+
secretKeyRef:
6060
name: {{ template "common.names.fullname" . }}
6161
jsonpath: '{ .data.opensearch-dashboards-password }'
6262

6363
- name: LOGSTASH_PASSWORD
6464
valueFrom:
65-
secretRef:
65+
secretKeyRef:
6666
name: {{ template "common.names.fullname" . }}
6767
jsonpath: '{ .data.logstash-password }'
6868
{{- end }}

addons/opensearch/2.10/plans/standard-32/bind.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ credential:
5050
{{- if .Values.security.enabled }}
5151
- name: OPENSEARCH_PASSWORD
5252
valueFrom:
53-
secretRef:
53+
secretKeyRef:
5454
name: {{ template "common.names.fullname" . }}
5555
jsonpath: '{ .data.opensearch-password }'
5656

5757
- name: OPENSEARCH_DASHBOARDS_PASSWORD
5858
valueFrom:
59-
secretRef:
59+
secretKeyRef:
6060
name: {{ template "common.names.fullname" . }}
6161
jsonpath: '{ .data.opensearch-dashboards-password }'
6262

6363
- name: LOGSTASH_PASSWORD
6464
valueFrom:
65-
secretRef:
65+
secretKeyRef:
6666
name: {{ template "common.names.fullname" . }}
6767
jsonpath: '{ .data.logstash-password }'
6868
{{- end }}

addons/opensearch/2.10/plans/standard-32/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ master:
2222
resources:
2323
limits:
2424
cpu: 1500m
25-
memory: 2048Mi
25+
memory: 3072Mi
2626
requests:
2727
cpu: 150m
2828
memory: 1024Mi

0 commit comments

Comments
 (0)