Skip to content

Commit

Permalink
add variable usages
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo Sleebos <angelo.sleebos@alliander.com>
  • Loading branch information
Angelo Sleebos committed Aug 9, 2024
1 parent d3406be commit 217a62e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/gxf/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ spec:
name: {{ if $.issuerRefName }}{{ $.issuerRefName }}{{ else }}{{ printf "%s-ca-issuer" $.Release.Namespace }}{{ end }}
kind: {{ if $.issuerRefKind }}{{ $.issuerRefKind }}{{ else }}Issuer{{ end }}
usages:
{{- if .usages }}
{{- range .usages }}
- {{ . }}
{{- end }}
{{- else }}
- server auth
- client auth
{{- end }}
keystores:
pkcs12:
create: true
Expand Down
2 changes: 2 additions & 0 deletions charts/gxf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ logging:
certificates: []
# - name: example-client-tls-cert
# commonName: example-client
# usages:
# - client auth
# - name: example-server-tls-cert
# commonName: example.com
# dnsNames:
Expand Down

0 comments on commit 217a62e

Please sign in to comment.