Skip to content

Commit 931ab5a

Browse files
authored
Conditionally disable the generation of the auth service configmap (#270)
1 parent dd986a2 commit 931ab5a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

charts/tidepool/charts/auth/templates/0-configmap.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{ if .Values.configmap.enabled -}}
12
---
23
apiVersion: v1
34
kind: ConfigMap
@@ -11,4 +12,5 @@ data:
1112
AppleDeviceCheckKeyId: {{ .AppleDeviceCheckKeyId | default "" }}
1213
AppleDeviceCheckKeyIssuer: {{ .AppleDeviceCheckKeyIssuer | default "" }}
1314
AppleDeviceCheckUseDevelopment: "{{ .AppleDeviceCheckUseDevelopment | default "true" }}"
14-
{{- end }}
15+
{{- end }}
16+
{{- end }}

charts/tidepool/charts/auth/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ secret:
55
ServiceAuth: ""
66
AppleDeviceCheckKey: ""
77
configmap:
8+
# -- whether to generate a configmap
9+
enabled: false
810
data_:
9-
# -- used for checking generating jwts, which are required for checking the validity of apple device tokens during the insulet authorization flow.
11+
# -- used for checking generating jwts, which are required for checking the validity of apple device tokens during the insulet authorization flow.
1012
AppleDeviceCheckKeyIssuer: "75U4X84TEG"
1113
AppleDeviceCheckKeyId: "B542R658GF"
1214
AppleDeviceCheckUseDevelopment: "true"

0 commit comments

Comments
 (0)