github.com/replicatedhq/ship@v0.55.0/pkg/patch/modify-test-cases/list/modified.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        - command:
    14          - /hello
    15          - --port=8080
    16          - --enableRiskyFeature=$(ENABLE_RISKY)
    17          env:
    18          - name: ALT_GREETING
    19            valueFrom:
    20              configMapKeyRef:
    21                key: altGreeting
    22                name: the-map
    23          - name: ENABLE_RISKY
    24            valueFrom:
    25              configMapKeyRef:
    26                key: enableRisky
    27                name: the-map
    28          image: monopole/hello:1
    29          name: the-container
    30          ports:
    31          - containerPort: 8080
    32            name: test
    33          - containerPort: 8081
    34            name: TO_BE_MODIFIED
    35          - containerPort: 8082
    36            name: test3