Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created March 29, 2021 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developer-guy/9033a0266218929a3e8e2a5c9f8c5234 to your computer and use it in GitHub Desktop.
Save developer-guy/9033a0266218929a3e8e2a5c9f8c5234 to your computer and use it in GitHub Desktop.
Bank-Vaults webhook installation
# Next, install the mutating webhook with Helm into its own namespace (to bypass the catch-22 situation of self mutation)
$ helm upgrade --namespace vault-infra --install vault-secrets-webhook banzaicloud-stable/vault-secrets-webhook --wait
Release "vault-secrets-webhook" does not exist. Installing it now.
NAME: vault-secrets-webhook
LAST DEPLOYED: Mon Mar 29 13:32:21 2021
NAMESPACE: vault-infra
STATUS: deployed
REVISION: 1
TEST SUITE: None
# Check if all pods are running
$ kubectl get pods --namespace=vault-infra
NAME READY STATUS RESTARTS AGE
vault-operator-7ff96c7fcb-2d277 1/1 Running 0 57m
vault-secrets-webhook-65d8b89f98-68f6j 1/1 Running 0 46s
vault-secrets-webhook-65d8b89f98-bq9sc 1/1 Running 0 46s
# Check mutatingwebhookconfigurations
$ kubectl get mutatingwebhookconfigurations.admissionregistration.k8s.io
NAME WEBHOOKS AGE
vault-secrets-webhook 2 61s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment