...

Text file src/k8s.io/cli-runtime/artifacts/kustomization/deployment.yaml

Documentation: k8s.io/cli-runtime/artifacts/kustomization

     1apiVersion: apps/v1
     2kind: Deployment
     3metadata:
     4  name: the-deployment
     5spec:
     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        - containerPort: 8080
    20        env:
    21        - name: ALT_GREETING
    22          valueFrom:
    23            configMapKeyRef:
    24              name: the-map
    25              key: altGreeting
    26        - name: ENABLE_RISKY
    27          valueFrom:
    28            configMapKeyRef:
    29              name: the-map
    30              key: enableRisky

View as plain text