apiVersion: apps.openshift.io/v1 kind: DeploymentConfig metadata: name: oai-inf-core-sa labels: app: oai-inf-core-sa spec: replicas: 1 selector: app: oai-inf-core-sa strategy: type: Rolling rollingParams: intervalSeconds: 1 updatePeriodSeconds: 1 maxUnavailable: 0 maxSurge: 1 minReadySeconds: 30 template: metadata: labels: app: oai-inf-core-sa annotations: k8s.v1.cni.cncf.io/networks: oai-core-net spec: securityContextConstraints: - name: privileged - name: oai-scc serviceAccountName: oai-sa containers: - name: inf-core image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-image-core securityContext: privileged: true capabilities: add: ["SYS_ADMIN"] volumeMounts: - mountPath: /dev/net/tun readOnly: true name: dev-tun volumes: - name: dev-tun hostPath: path: /dev/net/tun triggers: - type: ConfigChange - type: ImageChange imageChangeParams: automatic: true containerNames: - oai-inf-core-sa from: kind: ImageStreamTag name: oai-image-core:latest namespace: infidel-test