Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created January 5, 2022 09:47
Show Gist options
  • Save developer-guy/de82fb8e97557ec711ae2dd79ac1d029 to your computer and use it in GitHub Desktop.
Save developer-guy/de82fb8e97557ec711ae2dd79ac1d029 to your computer and use it in GitHub Desktop.
sample pod yaml for testing renew
apiVersion: v1
kind: Pod
metadata:
name: your-webhook
namespace: platform
spec:
volumes:
- name: tls-volume
secret:
defaultMode: 420
secretName: config-admission-webhook-tls
containers:
- image: erkanzileli/goreleaser-demo:latest
name: your-webhook
ports:
- name: https
containerPort: 8080
volumeMounts:
- mountPath: /etc/webhook/cert
name: tls-volume
readOnly: true
imagePullPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment