Skip to content

Commit

Permalink
Fix bug mountpath for server command line (#134)
Browse files Browse the repository at this point in the history
* Fix bug on Mount Path

* Add new tag version

* Address comments
  • Loading branch information
dvaldivia authored Jun 3, 2020
1 parent 8d6919a commit fca6533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion minio-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ spec:
serviceAccountName: minio-operator-sa
containers:
- name: minio-operator
image: minio/k8s-operator:2.0.3
image: minio/k8s-operator:2.0.4
imagePullPolicy: IfNotPresent
# To specify cluster domain, un comment the following:
# env:
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/statefulsets/minio-statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func minioServerContainer(mi *miniov1.MinIOInstance, serviceName string) corev1.

if mi.Spec.Zones[0].Servers == 1 {
// to run in standalone mode we must pass the path
args = append(args, miniov1.MinIOVolumeMountPath)
args = append(args, mi.VolumePath())
} else {
// append all the MinIOInstance replica URLs
for _, h := range mi.MinIOHosts() {
Expand Down

0 comments on commit fca6533

Please sign in to comment.