Skip to content

Commit

Permalink
Chang object store naming for marketplace deployment (#2066)
Browse files Browse the repository at this point in the history
* pass in secret

* fix

* use application name by default for database prefix

* bug fixes and bump kfp version

* Update application.yaml

* fix objectstore name

* fix objectstore name
  • Loading branch information
IronPan authored and k8s-ci-robot committed Sep 9, 2019
1 parent 3edaa38 commit 0d81785
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ spec:
{{ if .Values.managedstorage.enabled }}
- name: OBJECTSTORECONFIG_BUCKETNAME
{{ if .Values.managedstorage.databaseNamePrefix }}
value: '{{ .Values.managedstorage.cloudsqlInstanceConnectionName | replace ":" "-" }}-{{ .Values.managedstorage.databaseNamePrefix }}'
value: '{{ printf "%s-%s" .Values.managedstorage.cloudsqlInstanceConnectionName .values.managedstore.databaseNamePrefix | replace ":" "-" | trunc 50 }}'
{{ else }}
value: '{{ .Values.managedstorage.cloudsqlInstanceConnectionName | replace ":" "-" }}-{{ .Release.Name | replace "-" "_" | replace "." "_" | trunc 50 }}'
value: '{{ printf "%s-%s" .Values.managedstorage.cloudsqlInstanceConnectionName .Release.Name | replace ":" "-" | trunc 50 }}'
{{ end }}
- name: DBCONFIG_DBNAME
{{ if .Values.managedstorage.databaseNamePrefix }}
Expand Down

0 comments on commit 0d81785

Please sign in to comment.