Skip to content

Commit

Permalink
Fix if condition that was always true
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Audier <[email protected]>
  • Loading branch information
Calvinaud committed Oct 16, 2024
1 parent 224ead2 commit a7172b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/litmus/templates/auth-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
{{- if .Values.portal.server.customLabels }}
{{ toYaml .Values.portal.server.customLabels | nindent 8 }}
{{- end }}
{{- if "litmus-portal.podannotations.auth-server"}}
{{- if include "litmus-portal.podannotations.auth-server" . }}
annotations:
{{- include "litmus-portal.podannotations.auth-server" . | indent 8 }}
{{- end}}
Expand Down
2 changes: 1 addition & 1 deletion charts/litmus/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
{{- if .Values.portal.frontend.customLabels }}
{{ toYaml .Values.portal.frontend.customLabels | nindent 8 }}
{{- end }}
{{- if "litmus-portal.podannotations.frontend"}}
{{- if include "litmus-portal.podannotations.frontend" . }}
annotations:
{{- include "litmus-portal.podannotations.frontend" . | indent 8 }}
{{- end}}
Expand Down
4 changes: 2 additions & 2 deletions charts/litmus/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ spec:
{{- if .Values.portal.server.customLabels }}
{{ toYaml .Values.portal.server.customLabels | nindent 8 }}
{{- end }}
{{- if "litmus-portal.podannotations.auth-server"}}
{{- if include "litmus-portal.podannotations.graphql-server" . }}
annotations:
{{- include "litmus-portal.podannotations.auth-server" . | indent 8 }}
{{- include "litmus-portal.podannotations.graphql-server" . | indent 8 }}
{{- end}}
spec:
automountServiceAccountToken: {{ .Values.portal.server.graphqlServer.automountServiceAccountToken }}
Expand Down

0 comments on commit a7172b2

Please sign in to comment.