Skip to content

Commit

Permalink
Created constant
Browse files Browse the repository at this point in the history
Signed-off-by: Helber Belmiro <[email protected]>
  • Loading branch information
hbelmiro committed Nov 4, 2024
1 parent b2db6ba commit 8ed43ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/src/apiserver/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const (
SignedURLExpiryTimeSeconds string = "SIGNED_URL_EXPIRY_TIME_SECONDS"
CaBundleMountPath string = "ARTIFACT_COPY_STEP_CABUNDLE_MOUNTPATH"
CaBundleConfigMapKey string = "ARTIFACT_COPY_STEP_CABUNDLE_CONFIGMAP_KEY"
CaBundleConfigMapName string = "ARTIFACT_COPY_STEP_CABUNDLE_CONFIGMAP_NAME"
)

func IsPipelineVersionUpdatedByDefault() bool {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/v2/compiler/argocompiler/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func GetMLPipelineServicePortGRPC() string {
// ConfigureCABundle adds CABundle environment variables and volume mounts
// if CA Bundle env vars are specified.
func ConfigureCABundle(tmpl *wfapi.Template) {
caBundleCfgMapName := os.Getenv("ARTIFACT_COPY_STEP_CABUNDLE_CONFIGMAP_NAME")
caBundleCfgMapName := os.Getenv(common.CaBundleConfigMapName)
caBundleCfgMapKey := os.Getenv(common.CaBundleConfigMapKey)
caBundleMountPath := os.Getenv(common.CaBundleMountPath)
if caBundleCfgMapName != "" && caBundleCfgMapKey != "" {
Expand Down

0 comments on commit 8ed43ec

Please sign in to comment.