Skip to content

Commit

Permalink
Merge pull request #1219 from KevinCarterDev/patch-1
Browse files Browse the repository at this point in the history
Fix deployment-blue-green.yaml
  • Loading branch information
d-g-town authored Mar 7, 2024
2 parents d2862c8 + 8c2c106 commit f743b53
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions applications/web/templates/deployment-blue-green.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,17 @@ spec:
cpu: {{ $.Values.resources.requests.cpu }}
memory: {{ $.Values.resources.requests.memory }}
limits:
{{- if .Values.resources.setCPULimits }}
{{- if .Values.resources.limits.cpu }}
cpu: {{ .Values.resources.limits.cpu }}
{{- if $.Values.resources.setCPULimits }}
{{- if $.Values.resources.limits.cpu }}
cpu: {{ $.Values.resources.limits.cpu }}
{{- else }}
cpu: {{ .Values.resources.requests.cpu }}
cpu: {{ $.Values.resources.requests.cpu }}
{{- end }}
{{- end }}
{{- if .Values.resources.limits.memory }}
memory: {{ .Values.resources.limits.memory }}
{{- if $.Values.resources.limits.memory }}
memory: {{ $.Values.resources.limits.memory }}
{{- else }}
memory: {{ .Values.resources.requests.memory }}
memory: {{ $.Values.resources.requests.memory }}
{{- end }}
env:
# Porter default environment variables
Expand Down

0 comments on commit f743b53

Please sign in to comment.