Skip to content

Instantly share code, notes, and snippets.

@owainlewis
Created August 29, 2018 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owainlewis/c17d6e6a9d4dfc269d8b9aa8549bcde2 to your computer and use it in GitHub Desktop.
Save owainlewis/c17d6e6a9d4dfc269d8b9aa8549bcde2 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: oci-volume-provisioner
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
app: oci-volume-provisioner
spec:
serviceAccountName: oci-volume-provisioner
containers:
- name: oci-volume-provisioner
image: iad.ocir.io/oracle/oci-volume-provisioner:0.9.0
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: PROVISIONER_TYPE
value: oracle.com/oci
volumeMounts:
- name: config
mountPath: /etc/oci/
readOnly: true
volumes:
- name: config
secret:
secretName: oci-volume-provisioner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment