This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/main by this push:
new 2cf77adb fix: license header breaks helm chart (#591)
2cf77adb is described below
commit 2cf77adbb5fceb16d358985a5b58004329b2a32d
Author: Lu Fei <[email protected]>
AuthorDate: Wed Nov 22 01:44:23 2023 -0600
fix: license header breaks helm chart (#591)
This fixes #590.
---
charts/templates/hpa.yaml | 2 +-
charts/templates/ingress.yaml | 2 +-
charts/templates/pvc.yaml | 2 +-
charts/templates/serviceaccount.yaml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/charts/templates/hpa.yaml b/charts/templates/hpa.yaml
index 7d7360f4..fee246ee 100644
--- a/charts/templates/hpa.yaml
+++ b/charts/templates/hpa.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-{{- if .Values.autoscaling.enabled }}
+{{ if .Values.autoscaling.enabled -}}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
diff --git a/charts/templates/ingress.yaml b/charts/templates/ingress.yaml
index 9364b0c8..c43cf723 100644
--- a/charts/templates/ingress.yaml
+++ b/charts/templates/ingress.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-{{- if .Values.ingress.enabled -}}
+{{ if .Values.ingress.enabled -}}
{{- $fullName := include "answer.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0"
.Capabilities.KubeVersion.GitVersion)) }}
diff --git a/charts/templates/pvc.yaml b/charts/templates/pvc.yaml
index 5304474c..5dfab8fc 100644
--- a/charts/templates/pvc.yaml
+++ b/charts/templates/pvc.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-{{- if .Values.persistence.enabled }}
+{{ if .Values.persistence.enabled -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
diff --git a/charts/templates/serviceaccount.yaml
b/charts/templates/serviceaccount.yaml
index ed28d3b8..65cc297a 100644
--- a/charts/templates/serviceaccount.yaml
+++ b/charts/templates/serviceaccount.yaml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-{{- if .Values.serviceAccount.create -}}
+{{ if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata: