Skip to content

Commit

Permalink
Merge pull request #1218 from AmitKumarDas/1184-operator-v0.5
Browse files Browse the repository at this point in the history
Adds ENV variables to connect to K8s APIs
  • Loading branch information
kmova authored Feb 7, 2018
2 parents c7b2716 + 27aa03d commit aa64a93
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions k8s/openebs-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ spec:
ports:
- containerPort: 5656
env:
# OPENEBS_IO_KUBE_CONFIG enables maya api service to connect to K8s
# based on this config. This is ignored if empty.
# This is supported for maya api server version 0.5.2 onwards
#- name: OPENEBS_IO_KUBE_CONFIG
# value: "/home/ubuntu/.kube/config"
# OPENEBS_IO_K8S_MASTER enables maya api service to connect to K8s
# based on this address. This is ignored if empty.
# This is supported for maya api server version 0.5.2 onwards
#- name: OPENEBS_IO_K8S_MASTER
# value: "http://172.28.128.3:8080"
- name: OPENEBS_IO_JIVA_CONTROLLER_IMAGE
value: "openebs/jiva:0.5.1"
- name: OPENEBS_IO_JIVA_REPLICA_IMAGE
Expand Down Expand Up @@ -115,6 +125,16 @@ spec:
imagePullPolicy: Always
image: openebs/openebs-k8s-provisioner:0.5.1
env:
# OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s
# based on this address. This is ignored if empty.
# This is supported for openebs provisioner version 0.5.2 onwards
#- name: OPENEBS_IO_K8S_MASTER
# value: "http://10.128.0.12:8080"
# OPENEBS_IO_KUBE_CONFIG enables openebs provisioner to connect to K8s
# based on this config. This is ignored if empty.
# This is supported for openebs provisioner version 0.5.2 onwards
#- name: OPENEBS_IO_KUBE_CONFIG
# value: "/home/ubuntu/.kube/config"
- name: NODE_NAME
valueFrom:
fieldRef:
Expand Down

0 comments on commit aa64a93

Please sign in to comment.