File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed
charts/gitops-runtime/templates/gitops-operator Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1- {{- include "gitops-operator.crds" . }}
1+ {{- if and (index .Values "gitops-operator" "enabled") }}
2+ {{- include "gitops-operator.crds" . }}
3+ {{- end }}
Original file line number Diff line number Diff line change 1+ {{- if and (index .Values "gitops-operator" "enabled") }}
12{{- $context := deepCopy . }}
23
34{{- $defaultVals := include "gitops-operator.default-values" . | fromYaml }}
4546{{- end }}
4647
4748{{- include "gitops-operator.resources.deployment" $context }}
49+ {{- end }}
Original file line number Diff line number Diff line change 1- {{- include "gitops-operator.resources.promotion-template" . }}
1+ {{- if and (index .Values "gitops-operator" "enabled") }}
2+ {{- include "gitops-operator.resources.promotion-template" . }}
3+ {{- end }}
Original file line number Diff line number Diff line change 1- {{- include "gitops-operator.resources.rbac" . }}
1+ {{- if and (index .Values "gitops-operator" "enabled") }}
2+ {{- include "gitops-operator.resources.rbac" . }}
3+ {{- end }}
Original file line number Diff line number Diff line change 1+ {{- if and (index .Values "gitops-operator" "enabled") }}
2+
13{{- $context := deepCopy . }}
24
35{{- $defaultVals := include "gitops-operator.default-values" . | fromYaml }}
79{{- $_ := set $context.Values "global" (deepCopy (get .Values "global")) }}
810
911{{- include "gitops-operator.resources.sa" $context }}
12+
13+ {{- end }}
You can’t perform that action at this time.
0 commit comments