github.com/tomwright/dasel@v1.27.3/tests/assets/deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: auth-deployment
     5  spec:
     6    replicas: 3
     7    selector:
     8      matchLabels:
     9        component: auth
    10    template:
    11      metadata:
    12        labels:
    13          component: auth
    14      spec:
    15        containers:
    16        - env:
    17          - name: BUSINESS_SERVICE
    18            value: business-cluster-ip:9000
    19          - name: PASSWORD
    20            valueFrom:
    21              secretKeyRef:
    22                key: pgpassword
    23                name: PGPASSWORD
    24          - name: MY_NEW_ENV_VAR
    25            value: NEW_VALUE
    26          image: tomwright/auth:dev
    27          name: auth
    28          ports:
    29          - containerPort: 9000
    30          - containerPort: 8000