kyaml/fn/framework/testdata/template-processor/templates/container-sources/stateful_set.template.yaml
raw symbols SCIP| 1 | # Copyright 2021 The Kubernetes Authors. |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | apiVersion: apps/v1 |
| 5 | kind: StatefulSet |
| 6 | metadata: |
| 7 | name: hello |
| 8 | spec: |
| 9 | serviceName: "nginx" |
| 10 | selector: |
| 11 | matchLabels: |
| 12 | app: hello |
| 13 | template: |
| 14 | metadata: |
| 15 | labels: |
| 16 | app: hello |
| 17 | spec: |
| 18 | containers: |
| 19 | - name: hello |
| 20 | image: nginx |
| 21 | env: |
| 22 | - name: EXISTING |
| 23 | value: variable |
| 24 |