Skip to content

Commit 47f8bd9

Browse files
committed
fixed wrong condition on bw enabled
1 parent c201b69 commit 47f8bd9

8 files changed

Lines changed: 8 additions & 8 deletions

charts/bunkerweb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.8
18+
version: 1.0.9
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/bunkerweb/templates/bunkerweb-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (.Values.bunkerweb.enabled | default true) (eq (.Values.bunkerweb.kind | default "DaemonSet") "DaemonSet") }}
1+
{{- if and .Values.bunkerweb.enabled (eq (.Values.bunkerweb.kind | default "DaemonSet") "DaemonSet") }}
22
apiVersion: apps/v1
33
kind: DaemonSet
44
metadata:

charts/bunkerweb/templates/bunkerweb-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (.Values.bunkerweb.enabled | default true) (eq (.Values.bunkerweb.kind | default "Deployment") "Deployment") }}
1+
{{- if and .Values.bunkerweb.enabled (eq (.Values.bunkerweb.kind | default "Deployment") "Deployment") }}
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:

charts/bunkerweb/templates/bunkerweb-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (.Values.bunkerweb.enabled | default true) .Values.bunkerweb.hpa.enabled }}
1+
{{- if and .Values.bunkerweb.enabled .Values.bunkerweb.hpa.enabled }}
22
apiVersion: autoscaling/v2
33
kind: HorizontalPodAutoscaler
44
metadata:

charts/bunkerweb/templates/bunkerweb-poddisruptionbudget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- $replicas := int .Values.bunkerweb.replicas }}
2-
{{- if and (.Values.bunkerweb.enabled | default true) .Values.bunkerweb.pdb.create (gt $replicas 1) }}
2+
{{- if and .Values.bunkerweb.enabled .Values.bunkerweb.pdb.create (gt $replicas 1) }}
33
apiVersion: policy/v1
44
kind: PodDisruptionBudget
55
metadata:

charts/bunkerweb/templates/bunkerweb-service-external.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (.Values.bunkerweb.enabled | default true) .Values.service.enabled -}}
1+
{{- if and .Values.bunkerweb.enabled .Values.service.enabled -}}
22
apiVersion: v1
33
kind: Service
44
metadata:

charts/bunkerweb/templates/bunkerweb-service-internal.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.bunkerweb.enabled | default true }}
1+
{{- if .Values.bunkerweb.enabled }}
22
apiVersion: v1
33
kind: Service
44
metadata:

charts/bunkerweb/templates/bunkerweb-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (.Values.bunkerweb.enabled | default true) (eq .Values.bunkerweb.kind "StatefulSet") }}
1+
{{- if and .Values.bunkerweb.enabled (eq .Values.bunkerweb.kind "StatefulSet") }}
22
apiVersion: apps/v1
33
kind: StatefulSet
44
metadata:

0 commit comments

Comments
 (0)