Skip to content

Commit e1158d8

Browse files
committed
feat: add helm chart
Signed-off-by: emirot <emirot.nolan@gmail.com>
1 parent 70f7002 commit e1158d8

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

chart/templates/crd/argocdcommitstatuses.promoter.argoproj.io.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,21 +135,6 @@ spec:
135135
is available to escape url query parameters. The template can be configured with options to control the behavior
136136
during execution if a variable is not present.
137137
138-
Example:
139-
140-
{{ "{{- $baseURL := \"https://dev.argocd.local\" -}}" }}
141-
{{- if eq .Environment "environment/development" -}}
142-
{{ "{{- $baseURL = \"https://dev.argocd.local\" -}}" }}
143-
{{- else if eq .Environment "environment/staging" -}}
144-
{{ "{{- $baseURL = \"https://staging.argocd.local\" -}}" }}
145-
{{- else if eq .Environment "environment/production" -}}
146-
{{ "{{- $baseURL = \"https://prod.argocd.local\" -}}" }}
147-
{{- end -}}
148-
{{ "{{- $labels := \"\" -}}" }}
149-
{{- range $key, $value := .ArgoCDCommitStatus.Spec.ApplicationSelector.MatchLabels -}}
150-
{{ "{{- $labels = printf \"%s%s=%s,\" $labels $key $value -}}" }}
151-
{{- end -}}
152-
{{ "{{ printf \"%s/applications?labels=%s\" $baseURL (urlQueryEscape $labels) }}" }}
153138
type: string
154139
type: object
155140
required:

0 commit comments

Comments
 (0)