Browse Source

fix: remove not statement

pull/122/head
Bruno Bernard 7 months ago
parent
commit
bce5afaeb5
  1. 2
      charts/textbee/Chart.yaml
  2. 4
      charts/textbee/templates/deployment.yaml

2
charts/textbee/Chart.yaml

@ -3,6 +3,6 @@ name: textbee
description: A Helm chart to deploy TextBee. description: A Helm chart to deploy TextBee.
type: application type: application
version: 0.1.0
version: 0.1.1
appVersion: "v2.6.2" appVersion: "v2.6.2"

4
charts/textbee/templates/deployment.yaml

@ -6,7 +6,7 @@ metadata:
labels: labels:
{{- include "textbee.labels" . | nindent 4 }} {{- include "textbee.labels" . | nindent 4 }}
spec: spec:
{{- if not .Values.api.autoscaling.enabled }}
{{- if .Values.api.autoscaling.enabled }}
replicas: {{ .Values.api.replicaCount }} replicas: {{ .Values.api.replicaCount }}
{{- end }} {{- end }}
selector: selector:
@ -97,7 +97,7 @@ spec:
{{- end }} {{- end }}
--- ---
{{- if not .Values.web.enabled -}}
{{- if .Values.web.enabled -}}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:

Loading…
Cancel
Save