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") }}
1
2
{{- $context := deepCopy . }}
2
3
3
4
{{- $defaultVals := include "gitops-operator.default-values" . | fromYaml }}
44
45
{{- end }}
45
46
46
47
{{- include "gitops-operator.resources.deployment" $context }}
48
+ {{- 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
+
1
3
{{- $context := deepCopy . }}
2
4
3
5
{{- $defaultVals := include "gitops-operator.default-values" . | fromYaml }}
7
9
{{- $_ := set $context.Values "global" (deepCopy (get .Values "global")) }}
8
10
9
11
{{- include "gitops-operator.resources.sa" $context }}
12
+
13
+ {{- end }}
You can’t perform that action at this time.
0 commit comments