github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-015_validate_sso_status/06-assert.yaml (about)

     1  apiVersion: argoproj.io/v1beta1
     2  kind: ArgoCD
     3  metadata:
     4    name: argocd
     5  spec:
     6    sso:
     7      provider: dex
     8      dex:
     9        config: test-config
    10        env:
    11          - name: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
    12            valueFrom:
    13              secretKeyRef:
    14                name: argo-workflows-sso
    15                key: client-secret
    16  status:
    17    phase: Available
    18    sso: Running
    19  ---
    20  apiVersion: apps/v1
    21  kind: Deployment
    22  metadata:
    23    name: argocd-dex-server
    24  spec:
    25    template:
    26      spec:
    27        containers:
    28          - name: dex
    29            env:
    30              - name: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
    31                valueFrom:
    32                  secretKeyRef:
    33                    name: argo-workflows-sso
    34                    key: client-secret
    35  status:
    36    readyReplicas: 1