Skip to content

Commit

Permalink
Disable admission by default (#156)
Browse files Browse the repository at this point in the history
* Disable admission by default

* Disable admission by default

* bump warden images
  • Loading branch information
kwiatekus authored Dec 27, 2023
1 parent 48a12c6 commit 1ce2041
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ install-admission-k3d: build-admission
## Install

install:
helm upgrade --install --wait --set global.config.data.logging.level=debug warden ./charts/warden/
helm upgrade --install --wait --set global.config.data.logging.level=debug --set admission.enabled=true warden ./charts/warden/
uninstall:
helm uninstall warden --wait

Expand Down
6 changes: 3 additions & 3 deletions charts/warden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nameOverride: ""
fullnameOverride: ""

admission:
enabled: true
enabled: false

operator:
enabled: true
Expand All @@ -20,7 +20,7 @@ global:
wardenPriorityClassName: warden-priority
wardenPriorityClassValue: 2000000
operator:
image: europe-docker.pkg.dev/kyma-project/prod/warden/operator:v20231221-fbb97cba
image: europe-docker.pkg.dev/kyma-project/prod/warden/operator:v20231222-48a12c63
resources:
requests:
cpu: 10m
Expand All @@ -30,7 +30,7 @@ global:
memory: 160Mi

admission:
image: europe-docker.pkg.dev/kyma-project/prod/warden/admission:v20231221-fbb97cba
image: europe-docker.pkg.dev/kyma-project/prod/warden/admission:v20231222-48a12c63
resources:
requests:
cpu: 10m
Expand Down
2 changes: 1 addition & 1 deletion hack/create-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CREATE_MODULE_EXTRA_ARGS="${CREATE_MODULE_EXTRA_ARGS:-}"

## generate manifest
printf "Generate manifest to the warden-manifest.yaml file\n"
${HELM} template --namespace kyma-system warden charts/warden > warden-manifest.yaml
${HELM} template --namespace kyma-system warden charts/warden --set admission.enabled=true > warden-manifest.yaml

## generate module-config.yaml template
printf "Generate the module-config.yaml from template\n"
Expand Down

0 comments on commit 1ce2041

Please sign in to comment.