Skip to content

Commit

Permalink
fix: use generateExisting instead of generateExistingOnPolicyUpdate (#…
Browse files Browse the repository at this point in the history
…1119)

Signed-off-by: Mariam Fahmy <[email protected]>
  • Loading branch information
MariamFahmy98 authored Aug 7, 2024
1 parent 3dd9aa6 commit a95ef02
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
"Cluster-API cluster auto-registration" and Rancher issue https://github.com/rancher/rancher/issues/38053
"Fix type and labels Rancher v2 provisioner specifies when creating CAPI Cluster Secret".
spec:
generateExistingOnPolicyUpdate: true
generateExisting: true
rules:
- name: source-rancher-non-local-cluster-and-capi-secret
match:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ annotations:
kyverno/category: "Argo"
kyverno/kubernetesVersion: "1.23"
kyverno/subject: "Secret"
digest: ddc3b0655fa1302142238ec869466e5f2ce2547f2f683effc7e5b0a813803b54
digest: 955247857bea3c8e70733e8dc214406319f08ded53700ba42a8bc59dfcf94aa5
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ annotations:
kyverno/category: "Kubeops"
kyverno/kubernetesVersion: "1.23"
kyverno/subject: "Secret"
digest: f45a05bf32cc4f14e962c58b62fbb69144d04a04a97abb08fe69e6c5843eb8e5
digest: 9ce7e5f048b29eeef789ebf868ed508a593a43a49b3ae76a8e031160779d77bf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
required by the Kubeops Config Syncer for it to sync ConfigMaps/Secrets from
the Rancher management cluster to downstream clusters.
spec:
generateExistingOnPolicyUpdate: true
generateExisting: true
rules:
- name: source-rancher-non-local-cluster-and-capi-secret
match:
Expand Down
2 changes: 1 addition & 1 deletion other/generate-networkpolicy-existing/artifacthub-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ annotations:
kyverno/category: "Other"
kyverno/kubernetesVersion: "1.23"
kyverno/subject: "Namespace, NetworkPolicy"
digest: 4cf8c5f46d007fdeb4f4da902003f65cbf9c783458ec752c342e5521eccf8c38
digest: 4b22640f313949b16d47e144996489a7070e952b06e68f3ad1dc9ee5e013d976
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
is additional overhead. This policy creates a new NetworkPolicy for existing
Namespaces which results in a default deny behavior and labels it with created-by=kyverno.
spec:
generateExistingOnPolicyUpdate: true
generateExisting: true
rules:
- name: generate-existing-networkpolicy
match:
Expand Down

0 comments on commit a95ef02

Please sign in to comment.