Skip to content

Commit

Permalink
Fix indent in ingress TLS configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Jeev B <[email protected]>
  • Loading branch information
jeevb committed Aug 9, 2023
1 parent 06f0d40 commit 333d959
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions charts/flyte-binary/templates/ingress/grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ spec:
{{- else if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- end }}
{{- if .Values.ingress.grpcTls }}
tls: {{- tpl ( .Values.ingress.grpcTls | toYaml ) . | nindent 2 }}
{{- else if .Values.ingress.tls }}
tls: {{- tpl ( .Values.ingress.tls | toYaml ) . | nindent 2 }}
{{- end }}
rules:
- http:
paths:
Expand Down Expand Up @@ -123,9 +128,4 @@ spec:
{{- if .Values.ingress.host }}
host: {{ tpl .Values.ingress.host . | quote }}
{{- end }}
{{- if .Values.ingress.grpcTls }}
tls: {{- tpl ( .Values.ingress.grpcTls | toYaml ) . | nindent 6 }}
{{- else if .Values.ingress.tls }}
tls: {{- tpl ( .Values.ingress.tls | toYaml ) . | nindent 6 }}
{{- end }}
{{- end }}
10 changes: 5 additions & 5 deletions charts/flyte-binary/templates/ingress/http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ spec:
{{- else if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- end }}
{{- if .Values.ingress.httpTls }}
tls: {{- tpl ( .Values.ingress.httpTls | toYaml ) . | nindent 2 }}
{{- else if .Values.ingress.tls }}
tls: {{- tpl ( .Values.ingress.tls | toYaml ) . | nindent 2 }}
{{- end }}
rules:
- http:
paths:
Expand Down Expand Up @@ -172,9 +177,4 @@ spec:
{{- if .Values.ingress.host }}
host: {{ tpl .Values.ingress.host . | quote }}
{{- end }}
{{- if .Values.ingress.httpTls }}
tls: {{- tpl ( .Values.ingress.httpTls | toYaml ) . | nindent 6 }}
{{- else if .Values.ingress.tls }}
tls: {{- tpl ( .Values.ingress.tls | toYaml ) . | nindent 6 }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: dmhFWEFXU2l3VW4wNmdHYg==
haSharedSecret: R3NIMExSV1VDTlh4Qlh3eA==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1345,7 +1345,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 9587ba37c31a9445f033acf56e7ea54c214532b8e13c8a6ef014c6d2090d05af
checksum/secret: 966ddd9aa11e209c8e2450a11d1e35e51f6bab83a248025ff2f92694c4fdb90d
labels:
app: docker-registry
release: flyte-sandbox
Expand Down
4 changes: 2 additions & 2 deletions docker/sandbox-bundled/manifests/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ metadata:
---
apiVersion: v1
data:
haSharedSecret: RnVLTjRtMHJvaEwxTWhueg==
haSharedSecret: SEVEQXNwVFNFOFBmQUNWNg==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -933,7 +933,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: a52f5b460b64e9d50cd7820278e691ae010451c1088685990544d0ee63d31227
checksum/secret: fd79606cd0b1063f59877c9cf987ceb3a0d37462286098053c4aac147e8deba4
labels:
app: docker-registry
release: flyte-sandbox
Expand Down

0 comments on commit 333d959

Please sign in to comment.