Skip to content

Commit

Permalink
Revert "minio: Set secure=true to enable TLS by default (kubeflow#3168)…
Browse files Browse the repository at this point in the history
…" (kubeflow#3192)

This reverts commit 5cb158d.
  • Loading branch information
Bobgy authored Feb 28, 2020
1 parent a6df279 commit 743746b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion backend/src/apiserver/client_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func initMinioClient(initConnectionTimeout time.Duration) storage.ObjectStoreInt
minioServiceRegion := common.GetStringConfigWithDefault(
"ObjectStoreConfig.Region", os.Getenv(minioServiceRegion))
minioServiceSecure := common.GetBoolConfigWithDefault(
"ObjectStoreConfig.Secure", common.GetBoolFromStringWithDefault(os.Getenv(minioServiceSecure), true))
"ObjectStoreConfig.Secure", common.GetBoolFromStringWithDefault(os.Getenv(minioServiceSecure), false))
accessKey := common.GetStringConfigWithDefault("ObjectStoreConfig.AccessKey", "")
secretKey := common.GetStringConfigWithDefault("ObjectStoreConfig.SecretAccessKey", "")
bucketName := common.GetStringConfigWithDefault("ObjectStoreConfig.BucketName", os.Getenv(pipelineBucketName))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,6 @@ spec:
{{ if .Values.managedstorage.enabled }}
- name: OBJECTSTORECONFIG_BUCKETNAME
value: '{{ tpl .Values.managedstorage.gcsBucketName . }}'
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: DBCONFIG_DBNAME
{{ if .Values.managedstorage.databaseNamePrefix }}
value: '{{ .Values.managedstorage.databaseNamePrefix }}_pipeline'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: OBJECTSTORECONFIG_SECURE
value: "false"
image: gcr.io/ml-pipeline/api-server:0.1.27
imagePullPolicy: IfNotPresent
name: ml-pipeline-api-server
Expand Down

0 comments on commit 743746b

Please sign in to comment.