-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path_all.yaml
More file actions
22 lines (18 loc) · 764 Bytes
/
_all.yaml
File metadata and controls
22 lines (18 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{- define "gitops-operator.crds" }}
{{- $context := deepCopy . }}
{{- $defaultVals := include "gitops-operator.default-values" . | fromYaml }}
{{- $vals := mergeOverwrite $defaultVals (get .Values "gitops-operator") }}
{{- $_ := set $context "Values" $vals }}
{{- $_ := set $context.Values "global" (deepCopy (get .Values "global")) }}
{{- include "gitops-operator.crds.promotion-flow" $context }}
---
{{- include "gitops-operator.crds.promotion-template" $context }}
---
{{- include "gitops-operator.crds.product" $context }}
---
{{- if not (get .Values "app-proxy").singleNamespace }}
{{- include "gitops-operator.crds.restricted-gitsource" $context }}
{{- end }}
---
{{- include "gitops-operator.crds.promotion-policy" $context }}
{{- end }}