Add private key config to certificate template and values
This commit is contained in:
@@ -15,6 +15,11 @@ spec:
|
|||||||
{{- range .Values.api7.hosts }}
|
{{- range .Values.api7.hosts }}
|
||||||
- {{ . | quote }}
|
- {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
privateKey:
|
||||||
|
algorithm: RSA
|
||||||
|
encoding: PKCS1
|
||||||
|
size: 2048
|
||||||
|
rotationPolicy: {{ .Values.api7.tls.privateKey.rotationPolicy | default "Always" }}
|
||||||
usages:
|
usages:
|
||||||
- digital signature
|
- digital signature
|
||||||
- key encipherment
|
- key encipherment
|
||||||
|
|||||||
@@ -242,6 +242,9 @@ api7:
|
|||||||
enabled: true
|
enabled: true
|
||||||
issuer: cloudflare-acme-prod # ClusterIssuer name
|
issuer: cloudflare-acme-prod # ClusterIssuer name
|
||||||
issuerKind: ClusterIssuer # or Issuer
|
issuerKind: ClusterIssuer # or Issuer
|
||||||
|
# Private key configuration
|
||||||
|
privateKey:
|
||||||
|
rotationPolicy: Always # Always or Never (cert-manager >= v1.18.0 default is Always)
|
||||||
# Option 2: Use existing secret
|
# Option 2: Use existing secret
|
||||||
secretName: "" # Name of existing TLS secret
|
secretName: "" # Name of existing TLS secret
|
||||||
# Option 3: Provide certificates directly (not recommended for production)
|
# Option 3: Provide certificates directly (not recommended for production)
|
||||||
|
|||||||
Reference in New Issue
Block a user