Skip to content

Commit

Permalink
fix: Ensure default private ca cert cm name (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski authored Aug 15, 2024
2 parents f4c875d + d844757 commit bae11f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/flowforge/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data:
cloudProvider: {{ .Values.forge.cloudProvider }}
{{- end }}
{{- if .Values.forge.privateCA }}
privateCA: {{ .Values.forge.privateCA.configMapName }}
privateCA: {{ .Values.forge.privateCA.configMapName | default "ff-ca-certs" }}
{{- end }}
{{- if .Values.ingress.certManagerIssuer }}
certManagerIssuer: {{ .Values.ingress.certManagerIssuer }}
Expand Down
2 changes: 1 addition & 1 deletion helm/flowforge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ spec:
{{- if .Values.forge.privateCA }}
- name: cacert
configMap:
name: {{ .Values.forge.privateCA.configMapName }}
name: {{ .Values.forge.privateCA.configMapName | default "ff-ca-certs" }}
{{- end }}
{{- if .Values.forge.managementSelector }}
nodeSelector:
Expand Down
2 changes: 1 addition & 1 deletion helm/flowforge/templates/private-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.forge.privateCA.configMapName | default "ff-ca-certts" }}
name: {{ .Values.forge.privateCA.configMapName | default "ff-ca-certs" }}
namespace: {{ .Values.forge.projectNamespace | default "flowforge" }}
labels:
{{- include "forge.labels" . | nindent 4 }}
Expand Down

0 comments on commit bae11f1

Please sign in to comment.