mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
* Add Argo CD server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD application controller Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD repo server component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Change staticasset paths and remove https port from server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add README.md and NOTES.txt * Skip the admin password change by creating it automatically Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove unneeded comments Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Wait for redis to avoid tokens sync errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex validations and instructions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add readme generator metadata Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Address sugestions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Redis image section to the values.yaml file Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use empty default dex.config Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add trailing space Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Delete additional applications Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add http prefix to metrics ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove additionalProjects and add selfSigned to ingress values Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Execute readme-generator again Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove option to deploy as statefulset Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use xxx.containerPorts instead of xxx.ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Do not edit files from other charts * Fix wrong template name Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add validation and render server configuration from string Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * conver to warning the config validation Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
{{- if .Values.config.secret.repositoryCredentials }}
|
|
piVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
# Mandatory hardcoded name.
|
|
# Ref: https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/templates/argocd-repo-server/repository-credentials-secret.yaml
|
|
name: argocd-repository-credentials
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: repo-server
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
# Mandatory label
|
|
# Ref: https://argoproj.github.io/argo-cd/operator-manual/declarative-setup/#atomic-configuration
|
|
app.kubernetes.io/part-of: argocd
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
{{- range $key, $value := .Values.config.secret.repositoryCredentials }}
|
|
{{ $key }}: {{ $value | b64enc }}
|
|
{{- end }}
|
|
{{- end }}
|