Skip to content

Commit

Permalink
Merge pull request #31 from chengyu-l/k8s_v1.12.0
Browse files Browse the repository at this point in the history
Refactor: simplify code
  • Loading branch information
awzhgw authored Jul 22, 2020
2 parents 43503a4 + c831468 commit a062f7a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion chubaofs/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ master-service.{{- $.Values.namespace -}}.svc.cluster.local

{{- define "chubaofs.monitor.consul.address" -}}
{{- $envAll := index . 0 -}}
consul-service.{{- $envAll.Values.namespace -}}.svc.cluster.local:{{- $envAll.Values.consul.port }}
http://consul-service.{{- $envAll.Values.namespace -}}.svc.cluster.local:{{- $envAll.Values.consul.port }}
{{- end -}}

{{- define "chubaofs.monitor.consul.url" -}}
Expand Down
4 changes: 1 addition & 3 deletions chubaofs/templates/csi-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ spec:
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
command:
- /bin/tini
- "--"
args:
- bash
- "-c"
- |-
Expand Down
4 changes: 1 addition & 3 deletions chubaofs/templates/csi-node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ spec:
imagePullPolicy: {{ $.Values.image.pull_policy }}
securityContext:
privileged: true
command:
- /bin/tini
- "--"
args:
- bash
- "-c"
- |-
Expand Down
2 changes: 1 addition & 1 deletion chubaofs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ component:
image:
server: chubaofs/cfs-server:2.0.6
client: chubaofs/cfs-client:2.0.6
csi_driver: chubaofs/cfs-csi-driver:2.1.3
csi_driver: chubaofs/cfs-csi-driver:2.1.4
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
Expand Down

0 comments on commit a062f7a

Please sign in to comment.