github.com/replicatedcom/ship@v0.50.0/pkg/patch/modify-test-cases/nested/original.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: the-deployment
     5  spec:
     6    replicas: 3
     7    template:
     8      metadata:
     9        labels:
    10          deployment: hello
    11      spec:
    12        containers:
    13        - name: the-container
    14          image: monopole/hello:1
    15          command: ["/hello",
    16                    "--port=8080",
    17                    "--enableRiskyFeature=$(ENABLE_RISKY)"]
    18          ports:
    19          - name: test
    20            containerPort: 8080
    21          - name: test2
    22            containerPort: 8081
    23          - name: test3
    24            containerPort: 8082
    25          env:
    26          - name: ALT_GREETING
    27            valueFrom:
    28              configMapKeyRef:
    29                name: the-map
    30                key: altGreeting
    31          - name: ENABLE_RISKY
    32            valueFrom:
    33              configMapKeyRef:
    34                name: the-map
    35                key: enableRisky