Skip to content

Commit

Permalink
correct format values.yaml.tmpl + default mount value configMap
Browse files Browse the repository at this point in the history
  • Loading branch information
usamaahmadkhan committed May 2, 2019
1 parent 88df83b commit f41005c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kubernetes:
ingressMonitorController:
tolerations: {}
watchNamespace: ""
mount: "secret"
mount: "configMap"
useFullName: false
matchLabels:
group: com.stakater.platform
Expand Down
24 changes: 11 additions & 13 deletions deployments/kubernetes/templates/chart/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kubernetes:
ingressMonitorController:
tolerations: {}
watchNamespace: ""
mount: "secret"
mount: "configMap"
useFullName: false
matchLabels:
group: com.stakater.platform
Expand Down Expand Up @@ -34,16 +34,14 @@ ingressMonitorController:
name: {{ getenv "DOCKER_IMAGE" }}
tag: "{{ getenv "VERSION" }}"
pullPolicy: IfNotPresent
providers:
- name: UptimeRobot
apiKey: your-api-key
apiURL: https://google.com
alertContacts: some-alert-contacts
secrets: {}
# - variable: environment-variable-name
# name: secret-name
# key: secret-key

enableMonitorDeletion: true
configFilePath: /etc/IngressMonitorController/config.yaml
monitorNameTemplate: "{{ `{{.Namespace}}-{{.IngressName}}` }}"
data:
config.yaml: |-
providers:
- name: UptimeRobot
apiKey: your-api-key
apiURL: https://google.com
alertContacts: some-alert-contacts
secrets: {}
enableMonitorDeletion: true
monitorNameTemplate: "{{.Namespace}}-{{.IngressName}}"

0 comments on commit f41005c

Please sign in to comment.