Skip to content

Commit

Permalink
Pass ObjStore Credential Metadata EnvVars to APIServer
Browse files Browse the repository at this point in the history
- Allows DSP APIServer to use credentials found in secrets other than
  'mlpipeline-minio-artifact'
  • Loading branch information
gmfrasca committed Nov 7, 2023
1 parent 84be90c commit be46a1b
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/internal/apiserver/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "{{.ObjectStorageConnection.CredentialsSecret.SecretName}}"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "{{.ObjectStorageConnection.CredentialsSecret.AccessKey}}"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "{{.ObjectStorageConnection.CredentialsSecret.SecretKey}}"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "{{.ObjectStorageConnection.Bucket}}"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "ds-pipeline-s3-testdsp0"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "accesskey"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "secretkey"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "mlpipeline"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "ds-pipeline-s3-testdsp2"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "accesskey"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "secretkey"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "mlpipeline"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "teststoragesecretname3"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "testaccesskey3"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "testsecretkey3"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "testbucket3"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "ds-pipeline-s3-testdsp4"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "accesskey"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "secretkey"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "mlpipeline"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
value: "ds-pipeline-visualizationserver"
- name: ML_PIPELINE_VISUALIZATIONSERVER_SERVICE_PORT
value: "8888"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRET
value: "ds-pipeline-s3-testdsp5"
- name: OBJECTSTORECONFIG_CREDENTIALSACCESSKEYKEY
value: "accesskey"
- name: OBJECTSTORECONFIG_CREDENTIALSSECRETKEYKEY
value: "secretkey"
- name: OBJECTSTORECONFIG_BUCKETNAME
value: "mlpipeline"
- name: OBJECTSTORECONFIG_ACCESSKEY
Expand Down

0 comments on commit be46a1b

Please sign in to comment.