Skip to content

Instantly share code, notes, and snippets.

@paulbrodner
Last active August 6, 2020 06:43
Show Gist options
  • Select an option

  • Save paulbrodner/a93b16fb6d20da747005141d55f3fc00 to your computer and use it in GitHub Desktop.

Select an option

Save paulbrodner/a93b16fb6d20da747005141d55f3fc00 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: test
objects:
- apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/scc: anyuid
creationTimestamp: null
name: hello-world-app
spec:
containers:
- image: paulbrodner/hello-world-app
imagePullPolicy: Always
name: deployment-example
ports:
- containerPort: 8080
protocol: TCP
dnsPolicy: ClusterFirst
restartPolicy: Always
tolerations:
- effect: NoExecute
key: ${T_KEY}
operator: Equal
value: ${T_VALUE}
parameters:
- description: Specify Tolleration Key
name: T_KEY
value: Ready
required: false
- description: Specify Tolleration Value
name: T_VALUE
value: 'True'
required: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment