Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Provide password as value in `elasticsearch-ephemeral`. This way we can use
different passwords on our test systems. Ensuring that the password is really
configurable (and not accidentally hardcoded somewhere.)
3 changes: 1 addition & 2 deletions charts/elasticsearch-ephemeral/templates/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ spec:
value: ".watches,.triggered_watches,.watcher-history-*,pod-*,node-*"
- name: "xpack.security.enabled"
value: "true"
# setting the password here is ok, as this chart is only used for integration tests on CI
- name: "ELASTIC_PASSWORD"
value: "changeme"
value: {{ .Values.secrets.password }}
ports:
- containerPort: 9200
name: http
Expand Down
3 changes: 3 additions & 0 deletions charts/elasticsearch-ephemeral/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ resources:
requests:
cpu: "250m"
memory: "500Mi"

secrets:
password: "changeme"