Skip to content

Commit

Permalink
Merge pull request #26 from chengyu-l/k8s_v1.12.0_2
Browse files Browse the repository at this point in the history
enhancement: support that csi image path can be configured
  • Loading branch information
shuoranliu authored Jun 15, 2020
2 parents 4cdeb15 + a523879 commit d3fd663
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions chubaofs/templates/csi-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- $namespace := .Values.namespace }}
---
kind: Deployment
apiVersion: apps/v1
apiVersion: extensions/v1beta1
metadata:
name: cfs-csi-controller
namespace: {{ $namespace }}
Expand All @@ -22,8 +22,8 @@ spec:
# chubaofs-csi-controller: enabled
containers:
- name: external-provisioner
image: quay.io/k8scsi/csi-provisioner:v0.4.2
imagePullPolicy: IfNotPresent
image: {{ $.Values.image.csi_provisioner }}
imagePullPolicy: {{ $.Values.image.pull_policy }}
securityContext:
privileged: true
args:
Expand All @@ -48,8 +48,8 @@ spec:
- name: kube-config
mountPath: /etc/kubernetes
- name: external-attacher
image: quay.io/k8scsi/csi-attacher:v0.4.2
imagePullPolicy: IfNotPresent
image: {{ $.Values.image.csi_attacher }}
imagePullPolicy: {{ $.Values.image.pull_policy }}
securityContext:
privileged: true
args:
Expand Down Expand Up @@ -125,4 +125,4 @@ spec:
name: csi-kube-config
name: kube-config
---
{{ end }}
{{ end }}
6 changes: 3 additions & 3 deletions chubaofs/templates/csi-node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- $namespace := .Values.namespace }}
---
kind: DaemonSet
apiVersion: apps/v1
apiVersion: extensions/v1beta1
metadata:
name: cfs-csi-node
namespace: {{ $namespace }}
Expand All @@ -23,8 +23,8 @@ spec:
chubaofs-csi-node: enabled
containers:
- name: driver-registrar
image: quay.io/k8scsi/driver-registrar:v0.4.2
imagePullPolicy: IfNotPresent
image: {{ $.Values.image.driver_registrar }}
imagePullPolicy: {{ $.Values.image.pull_policy }}
securityContext:
privileged: true
args:
Expand Down
3 changes: 3 additions & 0 deletions chubaofs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ image:
server: chubaofs/cfs-server:2.0.5
client: chubaofs/cfs-client:2.0.5
csi_driver: chubaofs/cfs-csi-driver:2.1.2
csi_provisioner: quay.io/k8scsi/csi-provisioner:v0.4.2
driver_registrar: quay.io/k8scsi/driver-registrar:v0.4.2
csi_attacher: quay.io/k8scsi/csi-attacher:v0.4.2
grafana: grafana/grafana:6.4.4
prometheus: prom/prometheus:v2.13.1
consul: consul:1.6.1
Expand Down

0 comments on commit d3fd663

Please sign in to comment.