feat(argo-cd): Add entry and notes for admin.enabled (#1370)
* feat(argo-cd): Add entry and notes for admin.enabled Signed-off-by: Hyeonmin Park <hyeonmin.park@kennysoft.kr> * feat(argo-cd): Consider and add comments for server.config.dex.config Signed-off-by: Hyeonmin Park <hyeonmin.park@kennysoft.kr>
This commit is contained in:
parent
79b109e7d9
commit
8b28c6a826
3 changed files with 28 additions and 5 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.4.8
|
appVersion: v2.4.8
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 4.10.4
|
version: 4.10.5
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,4 +21,5 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Update to app version 2.4.8"
|
- [Added]: Add entry and notes for admin.enabled
|
||||||
|
- [Added]: Add comments for server.config.dex.config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{- if or .Values.configs.repositoryCredentials .Values.server.config.repositories }}
|
{{- if or .Values.configs.repositoryCredentials .Values.server.config.repositories }}
|
||||||
WARNING: You are using configs.repositoryCredentials and/or server.config.repositories parameter that are DEPRECATED
|
WARNING: You are using `configs.repositoryCredentials` and/or `server.config.repositories` parameter that are 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
|
Read More about here: https://argo-cd.readthedocs.io/en/latest/operator-manual/declarative-setup/#legacy-behaviour
|
||||||
|
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
@ -15,8 +15,14 @@ In order to access the server UI you have the following options:
|
||||||
- Add the `--insecure` flag to `server.extraArgs` in the values file and terminate SSL at your ingress: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-2-multiple-ingress-objects-and-hosts
|
- Add the `--insecure` flag to `server.extraArgs` in the values file and terminate SSL at your ingress: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/ingress.md#option-2-multiple-ingress-objects-and-hosts
|
||||||
|
|
||||||
|
|
||||||
|
{{ if eq (index .Values.server.config "admin.enabled") "true" -}}
|
||||||
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
|
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
|
||||||
|
|
||||||
kubectl -n {{ .Release.Namespace }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
kubectl -n {{ .Release.Namespace }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
||||||
|
|
||||||
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://github.com/argoproj/argo-cd/blob/master/docs/getting_started.md#4-login-using-the-cli)
|
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://github.com/argoproj/argo-cd/blob/master/docs/getting_started.md#4-login-using-the-cli)
|
||||||
|
{{ else if or (index .Values.server.config "dex.config") (index .Values.server.config "oidc.config") -}}
|
||||||
|
After reaching the UI the first time you can login using Dex or OIDC.
|
||||||
|
{{ else -}}
|
||||||
|
After reaching the UI the first time you cannot login with username and password since you've disabled it. You should enable admin back or configure Dex via `server.config.dex.config` or OIDC via `server.config.oidc.config`.
|
||||||
|
{{ end -}}
|
||||||
|
|
|
@ -1213,7 +1213,7 @@ server:
|
||||||
# Argo CD instance label key
|
# Argo CD instance label key
|
||||||
application.instanceLabelKey: argocd.argoproj.io/instance
|
application.instanceLabelKey: argocd.argoproj.io/instance
|
||||||
|
|
||||||
# Enabled logs RBAC enforcement
|
# Enable logs RBAC enforcement
|
||||||
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#enable-logs-rbac-enforcement
|
# Ref: https://argo-cd.readthedocs.io/en/latest/operator-manual/upgrading/2.3-2.4/#enable-logs-rbac-enforcement
|
||||||
server.rbac.log.enforce.enable: "false"
|
server.rbac.log.enforce.enable: "false"
|
||||||
|
|
||||||
|
@ -1234,6 +1234,22 @@ server:
|
||||||
# url: https://argoproj.github.io/argo-helm
|
# url: https://argoproj.github.io/argo-helm
|
||||||
# name: argo
|
# name: argo
|
||||||
|
|
||||||
|
# admin.enabled indicates whether the admin user is enabled. It is enabled by default.
|
||||||
|
# https://argo-cd.readthedocs.io/en/latest/faq/#how-to-disable-admin-user
|
||||||
|
admin.enabled: "true"
|
||||||
|
|
||||||
|
# dex.config: |
|
||||||
|
# connectors:
|
||||||
|
# # GitHub example
|
||||||
|
# - type: github
|
||||||
|
# id: github
|
||||||
|
# name: GitHub
|
||||||
|
# config:
|
||||||
|
# clientID: aabbccddeeff00112233
|
||||||
|
# clientSecret: $dex.github.clientSecret # Alternatively $<some_K8S_secret>:dex.github.clientSecret
|
||||||
|
# orgs:
|
||||||
|
# - name: your-github-org
|
||||||
|
|
||||||
# oidc.config: |
|
# oidc.config: |
|
||||||
# name: AzureAD
|
# name: AzureAD
|
||||||
# issuer: https://login.microsoftonline.com/TENANT_ID/v2.0
|
# issuer: https://login.microsoftonline.com/TENANT_ID/v2.0
|
||||||
|
|
Loading…
Reference in a new issue