Skip to content

Commit

Permalink
Add some context for the secret refresher
Browse files Browse the repository at this point in the history
  • Loading branch information
mociarain committed Dec 17, 2024
1 parent ccfb091 commit 1dca4ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
################################
#
# This keeps the certificate secret fresh because the secret is mounted from the keyVault (via the SecretProviderClass) and
# it's if the certificate changes in the keyvault this will trigger the refreshing of the kubernetes secret.
#
# Note: the istio plugin doesn't support using the SecretProviderClass directly. When it does this can be removed.
#
################################

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
################################
#
# The addition of the secretObjects is to facilitate the istio plugin as it can't yet consume the SecretProviderClass directly.
# When it does this can be simplified and the secret.refresher removed.
#
################################

apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
Expand Down

0 comments on commit 1dca4ba

Please sign in to comment.