fix: remove unwanted if

chore: adds link to read more about legacy behavior
Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>

Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>
This commit is contained in:
Emanuel Oliveira 2021-08-23 11:05:37 -03:00
parent 0aacf02ed5
commit 571e627d70
3 changed files with 1 additions and 4 deletions

View file

@ -1,6 +1,7 @@
{{- if .Values.configs.repositoryCredentials }} {{- if .Values.configs.repositoryCredentials }}
WARNING: You are using configs.repositoryCredentials parameter that's DEPRECATED WARNING: You are using configs.repositoryCredentials parameter that's DEPRECATED
Instead, use configs.repositoryTemplates and/or configs.repositories parameters Instead, use configs.repositoryTemplates and/or configs.repositories parameters
Read More about here: https://argo-cd.readthedocs.io/en/latest/operator-manual/declarative-setup/#legacy-behaviour
{{- end}} {{- end}}
In order to access the server UI you have the following options: In order to access the server UI you have the following options:

View file

@ -1,4 +1,3 @@
{{- if .Values.configs.credentialTemplates }}
{{- range $repo_cred_key, $repo_cred_value := .Values.configs.credentialTemplates }} {{- range $repo_cred_key, $repo_cred_value := .Values.configs.credentialTemplates }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@ -12,4 +11,3 @@ data:
{{ $key }}: {{ $value | toString | b64enc }} {{ $key }}: {{ $value | toString | b64enc }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.configs.repositories }}
{{- range $repo_key, $repo_value := .Values.configs.repositories }} {{- range $repo_key, $repo_value := .Values.configs.repositories }}
--- ---
apiVersion: v1 apiVersion: v1
@ -13,4 +12,3 @@ data:
{{ $key }}: {{ $value | b64enc }} {{ $key }}: {{ $value | b64enc }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}