Skip to content

Commit 35ce7b6

Browse files
committed
unify st2-urls configMapRef
1 parent dd2648a commit 35ce7b6

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

templates/deployments.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ spec:
485485
envFrom:
486486
- configMapRef:
487487
name: {{ .Release.Name }}-st2-urls
488-
optional: true
489488
{{- if or .Values.st2web.config .Values.st2web.extra_volumes .Values.st2web.postStartScript }}
490489
volumeMounts:
491490
{{- else }}

tests/unit/env_test.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -143,38 +143,6 @@ tests:
143143
content:
144144
configMapRef:
145145
name: st2ha-st2-urls
146-
documentIndex: 0
147-
- contains: *contains_st2_urls
148-
documentIndex: 1
149-
- contains: *contains_st2_urls
150-
documentIndex: 2
151-
- contains:
152-
path: spec.template.spec.containers[0].envFrom
153-
content:
154-
configMapRef:
155-
name: st2ha-st2-urls
156-
optional: true # TODO: consider dropping this unique diff from other deployments
157-
documentIndex: 3 # st2web
158-
- contains: *contains_st2_urls
159-
documentIndex: 4
160-
- contains: *contains_st2_urls
161-
documentIndex: 5
162-
- contains: *contains_st2_urls
163-
documentIndex: 6
164-
- contains: *contains_st2_urls
165-
documentIndex: 7
166-
- contains: *contains_st2_urls
167-
documentIndex: 8
168-
- contains: *contains_st2_urls
169-
documentIndex: 9
170-
- contains: *contains_st2_urls
171-
documentIndex: 10
172-
- contains: *contains_st2_urls
173-
documentIndex: 11
174-
- contains: *contains_st2_urls
175-
documentIndex: 12
176-
- contains: *contains_st2_urls
177-
documentIndex: 13
178146
# this is how st2chatops.env loads vars
179147
- contains:
180148
path: spec.template.spec.containers[0].envFrom

0 commit comments

Comments
 (0)