Skip to content

Commit 72f8229

Browse files
feat(gitops-operator): add debug flag
1 parent aa43d3f commit 72f8229

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

charts/gitops-runtime/templates/_components/gitops-operator/_default_values.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ securityContext:
7979
capabilities:
8080
drop:
8181
- "ALL"
82-
command:
83-
- /manager
82+
command: []
8483
extraArgs: []
8584
nodeSelector: {}
8685
tolerations: []

charts/gitops-runtime/templates/_components/gitops-operator/_deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ spec:
5252
image: {{ include "codefresh-gitops-runtime.image.name" (dict "image" $imageContext "context" .) }}
5353
env: {{- include "codefresh-gitops-runtime.env-vars" (dict "Values" $mergedValues "context" .) | nindent 8 }}
5454
imagePullPolicy: {{ .Values.image.pullPolicy }}
55+
{{- with .Values.command }}
5556
command:
56-
{{- if .Values.command }}
57-
{{- .Values.command | toYaml | nindent 8 }}
57+
{{- . | toYaml | nindent 8 }}
5858
{{- end }}
5959
{{- with .Values.extraArgs }}
6060
args:

0 commit comments

Comments
 (0)