Skip to content

Commit a879c4d

Browse files
authored
Updated the indentation issue in the template (#1985)
1 parent d543a61 commit a879c4d

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

config/charts/knative-operator/templates/operator.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ metadata:
4848
app.kubernetes.io/component: operator-webhook
4949
app.kubernetes.io/version: "{{ .Chart.Version }}"
5050
app.kubernetes.io/name: knative-operator
51-
{{- if and .Values.knative_operator.operator_webhook.annotations }}
51+
{{- if and .Values.knative_operator.operator_webhook.annotations }}
5252
annotations:
53-
{{ toYaml .Values.knative_operator.operator_webhook.annotations }}
54-
{{- end }}
53+
{{ toYaml .Values.knative_operator.operator_webhook.annotations | indent 4 }}
54+
{{- end }}
5555
spec:
5656
selector:
5757
matchLabels:
@@ -66,19 +66,19 @@ spec:
6666
app.kubernetes.io/version: "{{ .Chart.Version }}"
6767
app.kubernetes.io/name: knative-operator
6868
sidecar.istio.io/inject: "false"
69-
{{- if and .Values.knative_operator.operator_webhook.podAnnotations }}
69+
{{- if and .Values.knative_operator.operator_webhook.podAnnotations }}
7070
annotations:
71-
{{ toYaml .Values.knative_operator.operator_webhook.podAnnotations }}
72-
{{- end }}
71+
{{ toYaml .Values.knative_operator.operator_webhook.podAnnotations | indent 8 }}
72+
{{- end }}
7373
spec:
74-
{{- if .Values.knative_operator.operator_webhook.affinity }}
74+
{{- if .Values.knative_operator.operator_webhook.affinity }}
7575
affinity:
76-
{{ toYaml .Values.knative_operator.operator_webhook.affinity | indent 8 }}
77-
{{- end }}
78-
{{- if and .Values.knative_operator.operator_webhook.securityContext }}
76+
{{ toYaml .Values.knative_operator.operator_webhook.affinity | indent 8 }}
77+
{{- end }}
78+
{{- if and .Values.knative_operator.operator_webhook.securityContext }}
7979
securityContext:
80-
{{ toYaml .Values.knative_operator.operator_webhook.securityContext }}
81-
{{- end }}
80+
{{ toYaml .Values.knative_operator.operator_webhook.securityContext | indent 8 }}
81+
{{- end }}
8282
serviceAccountName: operator-webhook
8383
containers:
8484
- name: operator-webhook
@@ -6330,10 +6330,10 @@ metadata:
63306330
labels:
63316331
app.kubernetes.io/name: knative-operator
63326332
app.kubernetes.io/version: "{{ .Chart.Version }}"
6333-
{{- if and .Values.knative_operator.knative_operator.annotations }}
6333+
{{- if and .Values.knative_operator.knative_operator.annotations }}
63346334
annotations:
6335-
{{ toYaml .Values.knative_operator.knative_operator.annotations }}
6336-
{{- end }}
6335+
{{ toYaml .Values.knative_operator.knative_operator.annotations | indent 4 }}
6336+
{{- end }}
63376337
spec:
63386338
replicas: 1
63396339
selector:
@@ -6346,20 +6346,20 @@ spec:
63466346
app.kubernetes.io/name: knative-operator
63476347
app.kubernetes.io/version: "{{ .Chart.Version }}"
63486348
sidecar.istio.io/inject: "false"
6349-
{{- if and .Values.knative_operator.knative_operator.podAnnotations }}
6349+
{{- if and .Values.knative_operator.knative_operator.podAnnotations }}
63506350
annotations:
6351-
{{ toYaml .Values.knative_operator.knative_operator.podAnnotations }}
6352-
{{- end }}
6351+
{{ toYaml .Values.knative_operator.knative_operator.podAnnotations | indent 8 }}
6352+
{{- end }}
63536353
spec:
6354-
{{- if .Values.knative_operator.knative_operator.affinity }}
6354+
{{- if .Values.knative_operator.knative_operator.affinity }}
63556355
affinity:
6356-
{{ toYaml .Values.knative_operator.knative_operator.affinity | indent 8 }}
6357-
{{- end }}
6356+
{{ toYaml .Values.knative_operator.knative_operator.affinity | indent 8 }}
6357+
{{- end }}
63586358
serviceAccountName: knative-operator
6359-
{{- if and .Values.knative_operator.knative_operator.securityContext }}
6359+
{{- if and .Values.knative_operator.knative_operator.securityContext }}
63606360
securityContext:
6361-
{{ toYaml .Values.knative_operator.knative_operator.securityContext }}
6362-
{{- end }}
6361+
{{ toYaml .Values.knative_operator.knative_operator.securityContext | indent 8 }}
6362+
{{- end }}
63636363
containers:
63646364
- name: knative-operator
63656365
image: "{{ .Values.knative_operator.knative_operator.image }}:{{ .Values.knative_operator.knative_operator.tag }}"

hack/generate-helm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o nounset
1919
set -o pipefail
2020

2121
# Set the version and tag in Chart.yaml and values.yaml
22-
VERSION=v1.16.0
22+
VERSION=v1.17.0
2323
if [[ -n "${TAG:-}" ]]; then
2424
VERSION=${TAG}
2525
fi

0 commit comments

Comments
 (0)