Skip to content

Commit

Permalink
Fixes ori-edge/k8s_gateway#8 (rename incorrectly reused "resources")
Browse files Browse the repository at this point in the history
  • Loading branch information
Marx2 committed Feb 1, 2021
1 parent 321ee66 commit cdaa502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/k8s-gateway/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ data:
k8s_gateway "{{ required "Delegated domain ('domain') is mandatory " .Values.domain }}" {
apex {{ .Values.apex }}
ttl {{ .Values.ttl }}
{{- if gt (len .Values.resources) 0 }}
resources {{ join " " .Values.resources }}
{{- if gt (len .Values.watchedResources) 0 }}
resources {{ join " " .Values.watchedResources }}
{{- end }}
}
prometheus 0.0.0.0:9153
Expand Down
5 changes: 4 additions & 1 deletion charts/k8s-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ apex: "dns"
# TTL for non-apex responses (in seconds)
ttl: 300

# Limit what kind of resources to watch, e.g. resources: ["Ingress"]
# Resources (CPU, memory etc)
resources: []

# Limit what kind of resources to watch, e.g. resources: ["Ingress"]
watchedResources: []

serviceAccount:
create: true
name:

0 comments on commit cdaa502

Please sign in to comment.