Skip to content

Commit

Permalink
deployments: bad idents
Browse files Browse the repository at this point in the history
  • Loading branch information
ElysaSrc committed Oct 25, 2024
1 parent 340fb7e commit fead2e3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions templates/editoast/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
{{- $amqp := .Values.endpoints.amqp.url }}
{{- if eq (typeOf $amqp) "map" }}
valueFrom:
{{- toYaml $amqp.valueFrom | nindent 6 }}
{{- toYaml $amqp.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqp }}"
{{- end }}
Expand All @@ -81,7 +81,7 @@ spec:
{{- $postgresql := .Values.endpoints.postgresql }}
{{- if eq (typeOf $postgresql) "map" }}
valueFrom:
{{- toYaml $postgresql.valueFrom | nindent 6 }}
{{- toYaml $postgresql.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $postgresql }}"
{{- end }}
Expand All @@ -90,7 +90,7 @@ spec:
{{- $redis := .Values.endpoints.redis }}
{{- if eq (typeOf $redis) "map" }}
valueFrom:
{{- toYaml $redis.valueFrom | nindent 6 }}
{{- toYaml $redis.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $redis }}"
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions templates/editoast/migration_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
{{- $amqp := .Values.endpoints.amqp.url }}
{{- if eq (typeOf $amqp) "map" }}
valueFrom:
{{- toYaml $amqp.valueFrom | nindent 6 }}
{{- toYaml $amqp.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqp }}"
{{- end }}
Expand All @@ -46,7 +46,7 @@ spec:
{{- $postgresql := .Values.endpoints.postgresql }}
{{- if eq (typeOf $postgresql) "map" }}
valueFrom:
{{- toYaml $postgresql.valueFrom | nindent 6 }}
{{- toYaml $postgresql.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $postgresql }}"
{{- end }}
Expand All @@ -55,7 +55,7 @@ spec:
{{- $redis := .Values.endpoints.redis }}
{{- if eq (typeOf $redis) "map" }}
valueFrom:
{{- toYaml $redis.valueFrom | nindent 6 }}
{{- toYaml $redis.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $redis }}"
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions templates/osrdyne/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
{{- $amqp := .Values.endpoints.amqp.url }}
{{- if eq (typeOf $amqp) "map" }}
valueFrom:
{{- toYaml $amqp.valueFrom | nindent 6 }}
{{- toYaml $amqp.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqp }}"
{{- end }}
Expand All @@ -76,7 +76,7 @@ spec:
{{- $amqpManagement := .Values.endpoints.amqp.management }}
{{- if eq (typeOf $amqpManagement) "map" }}
valueFrom:
{{- toYaml $amqpManagement.valueFrom | nindent 6 }}
{{- toYaml $amqpManagement.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqpManagement }}"
{{- end }}
Expand All @@ -86,7 +86,7 @@ spec:
{{- $amqpManagementWithVhost := .Values.endpoints.amqp.managementWithVhost }}
{{- if eq (typeOf $amqpManagementWithVhost) "map" }}
valueFrom:
{{- toYaml $amqpManagementWithVhost.valueFrom | nindent 6 }}
{{- toYaml $amqpManagementWithVhost.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqpManagementWithVhost }}"
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions templates/stateful_editoast/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
{{- $amqp := .Values.endpoints.amqp.url }}
{{- if eq (typeOf $amqp) "map" }}
valueFrom:
{{- toYaml $amqp.valueFrom | nindent 6 }}
{{- toYaml $amqp.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $amqp }}"
{{- end }}
Expand All @@ -80,7 +80,7 @@ spec:
{{- $postgresql := .Values.endpoints.postgresql }}
{{- if eq (typeOf $postgresql) "map" }}
valueFrom:
{{- toYaml $postgresql.valueFrom | nindent 6 }}
{{- toYaml $postgresql.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $postgresql }}"
{{- end }}
Expand All @@ -89,7 +89,7 @@ spec:
{{- $redis := .Values.endpoints.redis }}
{{- if eq (typeOf $redis) "map" }}
valueFrom:
{{- toYaml $redis.valueFrom | nindent 6 }}
{{- toYaml $redis.valueFrom | nindent 16 }}
{{- else }}
value: "{{ $redis }}"
{{- end }}
Expand Down

0 comments on commit fead2e3

Please sign in to comment.