Skip to content

Commit e4c854f

Browse files
committed
update use of st2-auth secret in tests
1 parent 082bc10 commit e4c854f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

templates/tests/st2tests-pod.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,11 @@ spec:
3333
envFrom:
3434
- configMapRef:
3535
name: {{ .Release.Name }}-st2-urls
36+
- secretRef:
37+
name: {{ .Release.Name }}-st2-auth
3638
env:
3739
- name: BATS_HELPERS_DIR
3840
value: /tools/bats-helpers/
39-
- name: ST2_AUTH_USERNAME
40-
valueFrom:
41-
secretKeyRef:
42-
name: {{ .Release.Name }}-st2-auth
43-
key: username
44-
- name: ST2_AUTH_PASSWORD
45-
valueFrom:
46-
secretKeyRef:
47-
name: {{ .Release.Name }}-st2-auth
48-
key: password
4941
- name: ST2_VERSION
5042
value: "{{ .Chart.AppVersion }}"
5143
- name: ST2_RBAC_ENABLED

0 commit comments

Comments
 (0)