Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to config the ca issuer group and kind #173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/yugabyte/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: yugabyte
version: 2.19.0
version: 2.19.1
appVersion: 2.19.0.0-b190
kubeVersion: ">=1.17.0-0"
home: https://www.yugabyte.com
Expand Down
14 changes: 12 additions & 2 deletions stable/yugabyte/templates/certificates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ spec:
{{- include "yugabyte.labels" $root | indent 6 }}
issuerRef:
name: {{ include "yugabyte.tls_cm_issuer" $root | quote }}
{{- if $root.Values.tls.certManager.useClusterIssuer }}
{{- if $root.Values.tls.certManager.issuerRef.group }}
group: {{ $root.Values.tls.certManager.issuerRef.group }}
{{- end }}
{{- if $root.Values.tls.certManager.issuerRef.kind }}
kind: {{ $root.Values.tls.certManager.issuerRef.kind }}
{{- else if $root.Values.tls.certManager.useClusterIssuer }}
kind: ClusterIssuer
{{- else }}
kind: Issuer
Expand Down Expand Up @@ -126,7 +131,12 @@ spec:
{{- include "yugabyte.labels" $root | indent 6 }}
issuerRef:
name: {{ include "yugabyte.tls_cm_issuer" $root | quote }}
{{- if $root.Values.tls.certManager.useClusterIssuer }}
{{- if $root.Values.tls.certManager.issuerRef.group }}
group: {{ $root.Values.tls.certManager.issuerRef.group }}
{{- end }}
{{- if $root.Values.tls.certManager.issuerRef.kind }}
kind: {{ $root.Values.tls.certManager.issuerRef.kind }}
{{- else if $root.Values.tls.certManager.useClusterIssuer }}
kind: ClusterIssuer
{{- else }}
kind: Issuer
Expand Down
3 changes: 3 additions & 0 deletions stable/yugabyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ tls:
clusterIssuer: cluster-ca
# Name of Issuer to use when useClusterIssuer is false
issuer: yugabyte-ca
issuerRef:
group:
kind:
certificates:
# The lifetime before cert-manager will issue a new certificate.
# The re-issued certificates will not be automatically reloaded by the service.
Expand Down