Skip to content

Commit

Permalink
Merge pull request #1610 from SgtCoDFish/approval-install-note
Browse files Browse the repository at this point in the history
Reword approver policy install line
  • Loading branch information
SgtCoDFish authored Dec 5, 2024
2 parents 862f071 + 7808c3c commit 28737d7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions content/docs/policy/approval/approver-policy/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ you can disable the default approver by [Customizing the Chart Before Installing
disableAutoApproval: true
```
Here's a example which reconfigure an installed cert-manager to run without auto-approver:
If you already have cert-manager installed, you can reconfigure it to disable the default approver
as in the example below. Note that doing this in a running cluster with no other approval configured
will stop all issuance (as no certificate requests will be approved)!
```terminal
# ⚠️ This Helm option is only available in cert-manager v1.15.0 and later.
# ⚠️ The disableAutoApproval Helm option is only available in cert-manager v1.15.0 and later.
# ⚠️ DANGER: Only do this in a cluster if you're sure it's safe!

existing_cert_manager_version=$(helm get metadata -n cert-manager cert-manager | grep '^VERSION' | awk '{ print $2 }')
helm upgrade cert-manager jetstack/cert-manager \
Expand Down

0 comments on commit 28737d7

Please sign in to comment.