Skip to content

Commit b9d8bb4

Browse files
authored
DOCS Remove support for running Both (#10255)
1 parent 2f7486b commit b9d8bb4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

charts/ingress-nginx/templates/controller-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if or (eq .Values.controller.kind "DaemonSet") (eq .Values.controller.kind "Both") -}}
1+
{{- if eq .Values.controller.kind "DaemonSet" -}}
22
{{- include "isControllerTagValid" . -}}
33
apiVersion: apps/v1
44
kind: DaemonSet

charts/ingress-nginx/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if or (eq .Values.controller.kind "Deployment") (eq .Values.controller.kind "Both") -}}
1+
{{- if eq .Values.controller.kind "Deployment" -}}
22
{{- include "isControllerTagValid" . -}}
33
apiVersion: apps/v1
44
kind: Deployment

charts/ingress-nginx/templates/controller-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (or (eq .Values.controller.kind "Deployment") (eq .Values.controller.kind "Both")) .Values.controller.autoscaling.enabled (not .Values.controller.keda.enabled) -}}
1+
{{- if and (eq .Values.controller.kind "Deployment") .Values.controller.autoscaling.enabled (not .Values.controller.keda.enabled) -}}
22
apiVersion: {{ ternary "autoscaling/v2" "autoscaling/v2beta2" (.Capabilities.APIVersions.Has "autoscaling/v2") }}
33
kind: HorizontalPodAutoscaler
44
metadata:

charts/ingress-nginx/templates/controller-keda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.controller.keda.enabled (or (eq .Values.controller.kind "Deployment") (eq .Values.controller.kind "Both")) -}}
1+
{{- if and .Values.controller.keda.enabled (eq .Values.controller.kind "Deployment") -}}
22
# https://keda.sh/docs/
33

44
apiVersion: {{ .Values.controller.keda.apiVersion }}

0 commit comments

Comments
 (0)