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

kyverno: rollout to dev overlay & production #5326

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 0 additions & 6 deletions argo-cd-apps/overlays/development/delete-applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ $patch: delete
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: kyverno
$patch: delete
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
Comment on lines -124 to -129
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will deploy to development with 3 replicas for each controller. That may be too much. I'd suggest to add an overlay for development where we explicitly set 1 replica for each Kyverno controller. We could also disable Report ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4b1460f.

metadata:
name: namespace-lister
$patch: delete
5 changes: 5 additions & 0 deletions argo-cd-apps/overlays/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,8 @@ patches:
kind: ApplicationSet
version: v1alpha1
name: vector-tekton-logs-collector
- path: development-overlay-patch.yaml
target:
kind: ApplicationSet
version: v1alpha1
name: kyverno
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ $patch: delete
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: kyverno
$patch: delete
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: namespace-lister
$patch: delete
26 changes: 26 additions & 0 deletions components/kyverno/development/kyverno-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
fullnameOverride: konflux-kyverno
namespaceOverride: konflux-kyverno
admissionController:
replicas: 1
initContainer:
securityContext: null
container:
securityContext: null
backgroundController:
replicas: 1
securityContext: null
cleanupController:
replicas: 1
securityContext: null
reportsController:
replicas: 1
securityContext: null
policyReportsCleanup:
securityContext: null
webhooksCleanup:
securityContext: null
test:
securityContext: null
crds:
migration:
securityContext: null