Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save josejulio/2fca58b02a08f05feef9241c7c7d0210 to your computer and use it in GitHub Desktop.
Save josejulio/2fca58b02a08f05feef9241c7c7d0210 to your computer and use it in GitHub Desktop.
apiVersion: batch/v1
kind: Job
metadata:
creationTimestamp: '2018-06-13T23:25:46Z'
labels:
job-name: openshift-ansible-istio-job
name: openshift-ansible-istio-job
namespace: istio-system
resourceVersion: '396'
selfLink: /apis/batch/v1/namespaces/istio-system/jobs/openshift-ansible-istio-job
uid: 19c529b5-6f61-11e8-b78f-54ee755e59e3
spec:
activeDeadlineSeconds: 300
backoffLimit: 6
completions: 1
parallelism: 1
selector:
matchLabels:
template:
metadata:
creationTimestamp: null
labels:
job-name: openshift-ansible-istio-job
spec:
containers:
- env:
- name: INVENTORY_FILE
value: /tmp/inventory
- name: PLAYBOOK_FILE
value: playbooks/openshift-istio/config.yml
- name: OPTS
value: '-vvv'
image: "openshiftistio/origin-ansible:0.7.1"
imagePullPolicy: IfNotPresent
name: openshift-ansible-istio-job
resources: {}
securityContext:
runAsUser: 0
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/origin/master
name: configdir
- mountPath: /tmp/inventory
name: inventoryfile
dnsPolicy: ClusterFirst
hostNetwork: true
restartPolicy: Never
schedulerName: default-scheduler
securityContext: {}
serviceAccount: openshift-ansible
serviceAccountName: openshift-ansible
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /var/lib/origin/openshift.local.config/master
type: ''
name: configdir
- hostPath:
path: /var/lib/origin/openshift.local.config/istio.inventory
type: ''
name: inventoryfile
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment