diff --git a/README.md b/README.md index 777df96..22d9d9e 100644 --- a/README.md +++ b/README.md @@ -96,16 +96,10 @@ helm repo add jx-labs https://jenkinsxio-labs.storage.googleapis.com/charts ```bash helm repo update ``` -install the gsm controller chart -```bash -helm install --set deployment.enabled=true --set projectID=$SECRETS_MANAGER_PROJECT_ID gsm-controller jx-labs/gsm-controller -``` - -or to run it as a Kubernetes CronJob which has the advantage of reguarly checking the Google Secret Manager store and -updating cluster secrets if there are new values. +install the helm chart, this includes a kubernetes controller that always runs and watches for new or updated secrets. We also install a kubernetes CronJon that periodically triggers and checks for updated secret versions in Google Secret Manager. ```bash -helm install --set cron.enabled=true --set projectID=$SECRETS_MANAGER_PROJECT_ID gsm jx-labs/gsm-controller +helm install --set projectID=$SECRETS_MANAGER_PROJECT_ID gsm-controller jx-labs/gsm-controller ``` ### Annotate secrets diff --git a/charts/gsm-controller/values.yaml b/charts/gsm-controller/values.yaml index cc4252e..183b16f 100755 --- a/charts/gsm-controller/values.yaml +++ b/charts/gsm-controller/values.yaml @@ -39,8 +39,8 @@ jxRequirements: # kubernetes.io/ingress.class: nginx deployment: - enabled: false + enabled: true cron: - enabled: false + enabled: true schedule: "*/5 * * * *" \ No newline at end of file