github.com/argoproj-labs/argocd-operator@v0.10.0/tests/k8s/1-030_validate_applciationset_add_env_vars/02-assert.yaml (about)

     1  ---
     2  apiVersion: apps/v1
     3  kind: Deployment
     4  metadata:
     5    name: example-argocd-applicationset-controller
     6  spec:
     7    selector:
     8      matchLabels:
     9        app.kubernetes.io/name: example-argocd-applicationset-controller
    10    template:
    11      spec:
    12        containers:
    13          - name: argocd-applicationset-controller
    14            env:
    15              - name: NAMESPACE
    16                valueFrom:
    17                  fieldRef:
    18                    apiVersion: v1
    19                    fieldPath: metadata.namespace
    20              - name: foo
    21                value: bar
    22