A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: license header breaks helm chart (#591)
Lu Fei2cf77adbb5fc
diff --git a/charts/templates/hpa.yaml b/charts/templates/hpa.yamlindex 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/v2beta1kind: HorizontalPodAutoscalermetadata:diff --git a/charts/templates/ingress.yaml b/charts/templates/ingress.yamlindex 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.yamlindex 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: PersistentVolumeClaimapiVersion: v1metadata:diff --git a/charts/templates/serviceaccount.yaml b/charts/templates/serviceaccount.yamlindex 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: v1kind: ServiceAccountmetadata: