Merge 87039752a9
into de1a4c463c
This commit is contained in:
commit
c971d9dc74
3 changed files with 19 additions and 0 deletions
|
@ -255,8 +255,10 @@ metadata:
|
|||
| controller.addHeaders | object | `{}` | Will add custom headers before sending response traffic to the client according to: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers |
|
||||
| controller.admissionWebhooks.annotations | object | `{}` | |
|
||||
| controller.admissionWebhooks.certManager.admissionCert.duration | string | `""` | |
|
||||
| controller.admissionWebhooks.certManager.admissionCert.extraConfig | object | `{"privateKey":{"algorithm":"ECDSA","size":256}}` | Extra configuration for the admission webhook certificate. Can contain anything a cert-manager's [`CertificateSpec`](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.CertificateSpec) can. |
|
||||
| controller.admissionWebhooks.certManager.enabled | bool | `false` | |
|
||||
| controller.admissionWebhooks.certManager.rootCert.duration | string | `""` | |
|
||||
| controller.admissionWebhooks.certManager.rootCert.extraConfig | object | `{"privateKey":{"algorithm":"ECDSA","size":256}}` | Extra configuration for the admission webhook CA certificate. Can contain anything a cert-manager's [`CertificateSpec`](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.CertificateSpec) can. |
|
||||
| controller.admissionWebhooks.certificate | string | `"/usr/local/certificates/cert"` | |
|
||||
| controller.admissionWebhooks.createSecretJob.name | string | `"create"` | |
|
||||
| controller.admissionWebhooks.createSecretJob.resources | object | `{}` | |
|
||||
|
|
|
@ -26,6 +26,9 @@ spec:
|
|||
subject:
|
||||
organizations:
|
||||
- ingress-nginx
|
||||
{{- with .Values.controller.admissionWebhooks.certManager.rootCert.extraConfig }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
---
|
||||
# Create an Issuer that uses the above generated CA certificate to issue certs
|
||||
apiVersion: cert-manager.io/v1
|
||||
|
@ -60,4 +63,7 @@ spec:
|
|||
subject:
|
||||
organizations:
|
||||
- ingress-nginx-admission
|
||||
{{- with .Values.controller.admissionWebhooks.certManager.admissionCert.extraConfig }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -853,12 +853,23 @@ controller:
|
|||
rootCert:
|
||||
# default to be 5y
|
||||
duration: ""
|
||||
# -- Extra configuration for the admission webhook CA certificate. Can contain anything a cert-manager's [`CertificateSpec`](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.CertificateSpec) can.
|
||||
extraConfig:
|
||||
privateKey:
|
||||
algorithm: ECDSA
|
||||
size: 256
|
||||
|
||||
admissionCert:
|
||||
# default to be 1y
|
||||
duration: ""
|
||||
# issuerRef:
|
||||
# name: "issuer"
|
||||
# kind: "ClusterIssuer"
|
||||
# -- Extra configuration for the admission webhook certificate. Can contain anything a cert-manager's [`CertificateSpec`](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.CertificateSpec) can.
|
||||
extraConfig:
|
||||
privateKey:
|
||||
algorithm: ECDSA
|
||||
size: 256
|
||||
metrics:
|
||||
port: 10254
|
||||
portName: metrics
|
||||
|
|
Loading…
Reference in a new issue