Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save volschin/5ffce32ca1815781a05d1a2217b2b308 to your computer and use it in GitHub Desktop.

Select an option

Save volschin/5ffce32ca1815781a05d1a2217b2b308 to your computer and use it in GitHub Desktop.
Kutsomize patch to enable AdditionalCertificateOutputFormats
apiVersion: apps/v1
kind: Deployment
metadata:
name: cert-manager-webhook
namespace: kube-system
spec:
template:
spec:
containers:
- name: cert-manager-webhook
args:
- --v=2
- --secure-port=10250
- --dynamic-serving-ca-secret-namespace=$(POD_NAMESPACE)
- --dynamic-serving-ca-secret-name=cert-manager-webhook-ca
- --dynamic-serving-dns-names=cert-manager-webhook,cert-manager-webhook.$(POD_NAMESPACE),cert-manager-webhook.$(POD_NAMESPACE).svc
- --feature-gates=AdditionalCertificateOutputFormats=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment