Skip to content

Commit

Permalink
Fixes Gatekeeper distribute example command
Browse files Browse the repository at this point in the history
It seems that `kwctl manifest` is no longer a valid command and from what I could tell, we should use instead `kwctl scaffold manifest`

Signed-off-by: Nuno Nelas <[email protected]>
  • Loading branch information
nnelas authored and jvanz committed Jul 5, 2023
1 parent afdd881 commit 33f16bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/writing-policies/rego/gatekeeper/04-distribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pulling policy...
We can now create a scaffold `ClusterAdmissionPolicy` resource:

```console
$ kwctl manifest registry://registry.my-company.com/kubewarden/no-default-namespace-gatekeeper:v0.0.1 --type ClusterAdmissionPolicy
$ kwctl scaffold manifest registry://registry.my-company.com/kubewarden/no-default-namespace-gatekeeper:v0.0.1 --type ClusterAdmissionPolicy
---
apiVersion: policies.kubewarden.io/v1alpha2
kind: ClusterAdmissionPolicy
Expand Down

0 comments on commit 33f16bd

Please sign in to comment.