configMaps
¶
To add a configMap to configs
add the following to values.yaml
.
configs:
- name: yourWeb-config
namespace: mywebapplication
dontOverrideOnUpdate: false
values:
config.yaml: |
server:
host: localhost
port: 8080
name: first-order
- name: yourApp-config
namespace: mywebapplication
dontOverrideOnUpdate: true
values:
publicKey: thisIsMyPublicKey77838884774736627736
appURL: "mywebapp.local"
masterLogin: "enabled"
rouserLogin: "enabled"
inDevelopmentMode: "true"
With the option
dontOverrideOnUpdate: true
you can set that anhelm upgrade <releaseName>
will not overwrite your config. You can add multiple configMaps inconfigs
.