Slide 16
Slide 16 text
Secret
apikey: "YOUR_MACKEREL_APIKEY"
roles:
- "mackerelmeetup:database"
ignoreContainer: '\Amackerel-container-agent\z'
mackerel.yaml
Create Secret
$ oc create secret generic mackerel-config --from-file=./mackerel.yaml
secret/mackerel-config created
apikeyΛsecretʹͯ͠ઃఆྨconfigmapͰ͋ͯΔ͜ͱͰ͖Δ͕ɺ
secretͱconfigmapΛཧ͢Δͷ໘ͳͨΊɺઃఆϑΝΠϧΛؙʑSecretʹͨ͠