edit Bcrypt hashed admin password command

This commit is contained in:
Farshad Asadpour 2023-09-26 10:17:36 +03:30
parent 03c1be1c6d
commit e5acaa7e81

View file

@ -181,7 +181,6 @@ configs:
# -- Timeout to refresh application data as well as target manifests cache # -- Timeout to refresh application data as well as target manifests cache
timeout.hard.reconciliation: 0s timeout.hard.reconciliation: 0s
# Dex configuration # Dex configuration
# dex.config: | # dex.config: |
# connectors: # connectors:
@ -515,8 +514,7 @@ configs:
## Custom secrets. Useful for injecting SSO secrets into environment variables. ## Custom secrets. Useful for injecting SSO secrets into environment variables.
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/#sensitive-data-and-sso-client-secrets ## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/#sensitive-data-and-sso-client-secrets
## Note that all values must be non-empty. ## Note that all values must be non-empty.
extra: extra: {}
{}
# LDAP_PASSWORD: "mypassword" # LDAP_PASSWORD: "mypassword"
# -- Argo TLS Data # -- Argo TLS Data
@ -527,7 +525,7 @@ configs:
# -- Bcrypt hashed admin password # -- Bcrypt hashed admin password
## Argo expects the password in the secret to be bcrypt hashed. You can create this hash with ## Argo expects the password in the secret to be bcrypt hashed. You can create this hash with
## `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'` ## `htpasswd -nbBC 10 "" $ARGO_PWD | tr -d ':\n' | sed 's/$2y/$2a/'; echo`
argocdServerAdminPassword: "" argocdServerAdminPassword: ""
# -- Admin password modification time. Eg. `"2006-01-02T15:04:05Z"` # -- Admin password modification time. Eg. `"2006-01-02T15:04:05Z"`
# @default -- `""` (defaults to current time) # @default -- `""` (defaults to current time)
@ -539,38 +537,38 @@ configs:
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/ ## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
styles: "" styles: ""
# styles: | # styles: |
# .sidebar { # .sidebar {
# background: linear-gradient(to bottom, #999, #777, #333, #222, #111); # background: linear-gradient(to bottom, #999, #777, #333, #222, #111);
# } # }
# -- Array of extra K8s manifests to deploy # -- Array of extra K8s manifests to deploy
## Note: Supports use of custom Helm templates ## Note: Supports use of custom Helm templates
extraObjects: [] extraObjects: []
# - apiVersion: secrets-store.csi.x-k8s.io/v1 # - apiVersion: secrets-store.csi.x-k8s.io/v1
# kind: SecretProviderClass # kind: SecretProviderClass
# metadata: # metadata:
# name: argocd-secrets-store # name: argocd-secrets-store
# spec: # spec:
# provider: aws # provider: aws
# parameters: # parameters:
# objects: | # objects: |
# - objectName: "argocd" # - objectName: "argocd"
# objectType: "secretsmanager" # objectType: "secretsmanager"
# jmesPath: # jmesPath:
# - path: "client_id" # - path: "client_id"
# objectAlias: "client_id" # objectAlias: "client_id"
# - path: "client_secret" # - path: "client_secret"
# objectAlias: "client_secret" # objectAlias: "client_secret"
# secretObjects: # secretObjects:
# - data: # - data:
# - key: client_id # - key: client_id
# objectName: client_id # objectName: client_id
# - key: client_secret # - key: client_secret
# objectName: client_secret # objectName: client_secret
# secretName: argocd-secrets-store # secretName: argocd-secrets-store
# type: Opaque # type: Opaque
# labels: # labels:
# app.kubernetes.io/part-of: argocd # app.kubernetes.io/part-of: argocd
## Application controller ## Application controller
controller: controller:
@ -1415,7 +1413,7 @@ redis-ha:
# -- Additional affinities to add to the haproxy pods. # -- Additional affinities to add to the haproxy pods.
additionalAffinities: {} additionalAffinities: {}
# -- Assign custom [affinity] rules to the haproxy pods. # -- Assign custom [affinity] rules to the haproxy pods.
affinity: | affinity: ""
# -- [Tolerations] for use with node taints for haproxy pods. # -- [Tolerations] for use with node taints for haproxy pods.
tolerations: [] tolerations: []
@ -2027,9 +2025,9 @@ server:
# -- [FrontendConfigSpec] # -- [FrontendConfigSpec]
spec: {} spec: {}
# spec: # spec:
# redirectToHttps: # redirectToHttps:
# enabled: true # enabled: true
# responseCodeName: RESPONSE_CODE # responseCodeName: RESPONSE_CODE
## Repo Server ## Repo Server
repoServer: repoServer:
@ -2378,13 +2376,13 @@ repoServer:
# -- Repo server rbac rules # -- Repo server rbac rules
rbac: [] rbac: []
# - apiGroups: # - apiGroups:
# - argoproj.io # - argoproj.io
# resources: # resources:
# - applications # - applications
# verbs: # verbs:
# - get # - get
# - list # - list
# - watch # - watch
## ApplicationSet controller ## ApplicationSet controller
applicationSet: applicationSet:
@ -3203,37 +3201,37 @@ notifications:
## For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/ ## For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/
triggers: {} triggers: {}
# trigger.on-deployed: | # trigger.on-deployed: |
# - description: Application is synced and healthy. Triggered once per commit. # - description: Application is synced and healthy. Triggered once per commit.
# oncePer: app.status.sync.revision # oncePer: app.status.sync.revision
# send: # send:
# - app-deployed # - app-deployed
# when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy' # when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy'
# trigger.on-health-degraded: | # trigger.on-health-degraded: |
# - description: Application has degraded # - description: Application has degraded
# send: # send:
# - app-health-degraded # - app-health-degraded
# when: app.status.health.status == 'Degraded' # when: app.status.health.status == 'Degraded'
# trigger.on-sync-failed: | # trigger.on-sync-failed: |
# - description: Application syncing has failed # - description: Application syncing has failed
# send: # send:
# - app-sync-failed # - app-sync-failed
# when: app.status.operationState.phase in ['Error', 'Failed'] # when: app.status.operationState.phase in ['Error', 'Failed']
# trigger.on-sync-running: | # trigger.on-sync-running: |
# - description: Application is being synced # - description: Application is being synced
# send: # send:
# - app-sync-running # - app-sync-running
# when: app.status.operationState.phase in ['Running'] # when: app.status.operationState.phase in ['Running']
# trigger.on-sync-status-unknown: | # trigger.on-sync-status-unknown: |
# - description: Application status is 'Unknown' # - description: Application status is 'Unknown'
# send: # send:
# - app-sync-status-unknown # - app-sync-status-unknown
# when: app.status.sync.status == 'Unknown' # when: app.status.sync.status == 'Unknown'
# trigger.on-sync-succeeded: | # trigger.on-sync-succeeded: |
# - description: Application syncing has succeeded # - description: Application syncing has succeeded
# send: # send:
# - app-sync-succeeded # - app-sync-succeeded
# when: app.status.operationState.phase in ['Succeeded'] # when: app.status.operationState.phase in ['Succeeded']
# #
# For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/#default-triggers # For more information: https://argocd-notifications.readthedocs.io/en/stable/triggers/#default-triggers
# defaultTriggers: | # defaultTriggers: |
# - on-sync-status-unknown # - on-sync-status-unknown