Skip to content

Commit 3bc30bf

Browse files
feat(gitops-operator): add debug flag
1 parent da6172a commit 3bc30bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ extraVolumeMounts: []
8989
affinity: {}
9090

9191
debug:
92-
enabled: false
92+
enabled: true
9393
image:
9494
registry: registry.k8s.io
9595
repository: pause

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ spec:
4646
{{- $imageContext := deepCopy .Values.debug.image }}
4747
{{- else }}
4848
{{- $imageContext := deepCopy .Values.image }}
49-
{{- end }}
50-
{{- if not (get $imageContext "tag") }}
51-
{{- $_ := set $imageContext "tag" .Chart.AppVersion }}
49+
{{- if not (get $imageContext "tag") }}
50+
{{- $_ := set $imageContext "tag" .Chart.AppVersion }}
51+
{{- end }}
5252
{{- end }}
5353
image: {{ include "codefresh-gitops-runtime.image.name" (dict "image" $imageContext "context" .) }}
5454
env: {{- include "codefresh-gitops-runtime.env-vars" (dict "Values" $mergedValues "context" .) | nindent 8 }}

0 commit comments

Comments
 (0)