Skip to content

Commit

Permalink
watch with crd constraintpodstatus
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <[email protected]>
  • Loading branch information
yiraeChristineKim committed Nov 6, 2023
1 parent 0838887 commit de74236
Show file tree
Hide file tree
Showing 7 changed files with 442 additions and 190 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,12 @@ In order to create an instance of gatekeeper in the specified namespace you can
```shell
kubectl create -f config/samples/operator_v1alpha1_gatekeeper.yaml
```
## Updating gatekeeper
### Update gatekeeper package according to gatekeeper version
The gatekeeper package version should be updated with matched gatekeeper version when gatekeeper version updated in go.mod.
```
require github.com/open-policy-agent/gatekeeper/v3 v3.13.4
```
6 changes: 0 additions & 6 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,4 @@ var (

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme

GatekeeperGVR = schema.GroupVersionResource{
Group: GroupVersion.Group,
Version: GroupVersion.Version,
Resource: "gatekeeper",
}
)
Loading

0 comments on commit de74236

Please sign in to comment.