Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reword approver policy install line #1610

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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