File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ cluster = os.getenv('CLUSTER', "")
1414# Branch of the helm-charts repo to use.
1515feature_branch = os .getenv ('FEATURE_BRANCH' , "master" )
1616
17+ # Remote updates are disabled by default in order to avoid accidental downgrades.
18+ enable_ac_remote_update = os .getenv ('ENABLE_AC_REMOTE_UPDATE' , "false" )
19+ enable_cd_remote_update = os .getenv ('ENABLE_CD_REMOTE_UPDATE' , "false" )
20+
1721# Enables basic auth in chartmuseum (for testing reasons)
1822#
1923chartmuseum_basic_auth = os .getenv ('CHARTMUSEUM_BASIC_AUTH' , "" )
@@ -109,6 +113,8 @@ ac_flags = [
109113 '--create-namespace' ,
110114 '--set=agentControlDeployment.chartRepositoryUrl=http://chartmuseum.default.svc.cluster.local:8080' ,
111115 '--set=agentControlDeployment.chartVersion=0.0.1' ,
116+ '--set=agentControlDeployment.chartValues.config.acRemoteUpdate=' + enable_ac_remote_update ,
117+ '--set=agentControlDeployment.chartValues.config.cdRemoteUpdate=' + enable_cd_remote_update ,
112118 '--version=>=0.0.0-beta' ,
113119 '--set=agentControlDeployment.chartValues.image.imagePullPolicy=Always' ,
114120 '--values=' + sa_chart_values_file ,
You can’t perform that action at this time.
0 commit comments