Skip to content

Commit c009bbe

Browse files
committed
fix templating
1 parent 1664dbc commit c009bbe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cluster/manifests/kube-janitor/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {{ if eq .Cluster.ConfigItems "kube_janitor_enabled" "true" }}
1+
# {{ if eq .Cluster.ConfigItems.kube_janitor_enabled "true" }}
22
# {{ $image := "container-registry.zalando.net/teapot/kube-janitor:23.7.0-main-2" }}
33
# {{ $version := index (split (index (split $image ":") 1) "-") 0 }}
44
apiVersion: apps/v1

cluster/manifests/kube-janitor/rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ if eq .Cluster.ConfigItems "kube_janitor_enabled" "true" }}
1+
{{ if eq .Cluster.ConfigItems.kube_janitor_enabled "true" }}
22
apiVersion: v1
33
kind: ServiceAccount
44
metadata:

cluster/manifests/kube-janitor/rules-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {{ if eq .Cluster.ConfigItems "kube_janitor_enabled" "true" }}
1+
# {{ if eq .Cluster.ConfigItems.kube_janitor_enabled "true" }}
22
apiVersion: v1
33
kind: ConfigMap
44
metadata:

cluster/manifests/kube-janitor/vpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ if eq .Cluster.ConfigItems "kube_janitor_enabled" "true" }}
1+
{{ if eq .Cluster.ConfigItems.kube_janitor_enabled "true" }}
22
apiVersion: autoscaling.k8s.io/v1
33
kind: VerticalPodAutoscaler
44
metadata:

0 commit comments

Comments
 (0)