Skip to content

Commit 916b4c6

Browse files
authored
chore: disable remote updates for e2e by default (#1735)
1 parent 3fabb1a commit 916b4c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tiltfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ cluster = os.getenv('CLUSTER', "")
1414
# Branch of the helm-charts repo to use.
1515
feature_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
#
1923
chartmuseum_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,

0 commit comments

Comments
 (0)