Facebook
From Bulky Wigeon, 3 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 46
  1. apiVersion: v1
  2. kind: Template
  3. metadata:
  4.   name: template1
  5. objects:
  6. - apiVersion: v1
  7.   kind: Pod
  8.   metadata:
  9.     name: app1
  10.   spec:
  11.     containers:
  12.     - env:
  13.       - name: SHOW_DATA
  14.         value: ${SHOW_DATA}
  15.       image: example/appimage
  16.       name: app1
  17.       ports:
  18.       - containerPort: 8080
  19.         protocol: TCP
  20. parameters:
  21. - description: Myapp configuration data
  22.   name: SHOW_DATA
  23.   required: true
  24. labels:
  25.   mylabel: app1