Skip to content

Commit

Permalink
chore: rename extra-cas to private-cas (#58)
Browse files Browse the repository at this point in the history
following comments on a previous prs we are defaulting to private-cas
instead of extra-cas.
  • Loading branch information
ricardomaraschini authored Sep 11, 2024
1 parent 181a4cd commit 85c52dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kotsadm-extra-ca
{{- if (not (empty .Values.extraCAs)) }}
name: kotsadm-private-cas
{{- if (not (empty .Values.privateCAs)) }}
data:
{{- range $key, $value := .Values.extraCAs }}
{{- range $key, $value := .Values.privateCAs }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- else }}
Expand Down
6 changes: 3 additions & 3 deletions templates/kotsadm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ spec:
- mountPath: /tmp
name: tmp
- mountPath: /certs
name: kotsadm-extra-ca
name: kotsadm-private-cas
initContainers:
- args:
- plan
Expand Down Expand Up @@ -209,5 +209,5 @@ spec:
- emptyDir: {}
name: tmp
- configmap:
name: kotsadm-extra-ca
name: kotsadm-extra-ca
name: kotsadm-private-cas
name: kotsadm-private-cas
2 changes: 1 addition & 1 deletion values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ kurlProxy:
enabled: false
targetPort: 8800

extraCAs: {}
privateCAs: {}

0 comments on commit 85c52dc

Please sign in to comment.