Included helpers in chart
¶
In chart
you CAN'T set an individually namespace for chart.secrets
or chart.configMaps
. It will use the namespace, you set with helm install --namespace "mynamespace"
. If you want to create secrets
or configMaps
with an individually namespace use the helpers
instead.
chart:
...
# ohMyHelm - secret helper
secrets:
- name: secret-nodered
values:
user: foo
pass: bar
# ohMyHelm - config helper
configs:
- name: config-nodered
dontOverrideOnUpdate: false
values:
values.yaml: |
server:
host: localhost
port: 80
name: my-first-db
# ohMyHelm - prometheus monitoring
monitoring:
- name: yourservice
namespace: monitoring
release: prometheus
endpoints:
- port: http
interval: 15s
path: merics
scheme: http