Skip to content

Commit

Permalink
Merge pull request #110 from Pro/fix-kyverno
Browse files Browse the repository at this point in the history
loosen kyverno policies due to #107
  • Loading branch information
stefanprodan committed Jun 29, 2023
2 parents 4eb6299 + 5938ad4 commit ad1f1b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion infrastructure/kyverno-policies/verify-flux-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: verify-flux-images
spec:
validationFailureAction: enforce
validationFailureAction: Audit
background: false
webhookTimeoutSeconds: 30
failurePolicy: Fail
Expand All @@ -28,6 +28,7 @@ spec:
- "docker.io/fluxcd/notification-controller:*"
- "docker.io/fluxcd/image-reflector-controller:*"
- "docker.io/fluxcd/image-automation-controller:*"
mutateDigest: false
attestors:
- entries:
- keyless:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
# This provides users a working example of how an admin
# would be able to enforce git repository sources across
# all tenants.
validationFailureAction: audit # Change to 'enforce' once the specific org url is set.
validationFailureAction: Audit # Change to 'Enforce' once the specific org url is set.
rules:
- name: github-repositories-only
exclude:
Expand Down

0 comments on commit ad1f1b2

Please sign in to comment.