Skip to content

Commit a78a582

Browse files
authored
fix: explicitly set resourceFieldRef.divisor (#1655)
**Description of the change** In the helm chart the divisor is not set and kubernetes mutates the Deployments to "0" which is the same as "1". **Benefits** When deploying with ArgoCD the application will not be displayed as "OutOfSync" **Possible drawbacks** --- Signed-off-by: Jan <[email protected]>
1 parent 0ed8f32 commit a78a582

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helm/sealed-secrets/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,14 @@ spec:
158158
valueFrom:
159159
resourceFieldRef:
160160
resource: limits.cpu
161+
divisor: "1"
161162
{{- end }}
162163
{{- if (.Values.resources.limits).memory }}
163164
- name: GOMEMLIMIT
164165
valueFrom:
165166
resourceFieldRef:
166167
resource: limits.memory
168+
divisor: "1"
167169
{{- end }}
168170
ports:
169171
- name: http

0 commit comments

Comments
 (0)