Skip to content

Commit 9ac8fcc

Browse files
authored
add a password config item to the CI app (#525)
* add a password config item to the CI app * set config in a better way
1 parent 0c79c7d commit 9ac8fcc

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

e2e/kots-release-install/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ spec:
88
- name: hostname
99
title: Hostname
1010
type: text
11+
- name: pw
12+
title: Password
13+
type: password

e2e/kots-release-install/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ spec:
3333
value: "{{repl ChannelName }}"
3434
- name: CONFIG_HOSTNAME
3535
value: '{{repl ConfigOption "hostname" }}'
36+
- name: CONFIG_PASSWORD
37+
value: '{{repl ConfigOption "pw" }}'

e2e/kots-release-upgrade/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ spec:
88
- name: hostname
99
title: Hostname
1010
type: text
11+
- name: pw
12+
title: Password
13+
type: password

e2e/kots-release-upgrade/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ spec:
3333
value: "{{repl ChannelName }}"
3434
- name: CONFIG_HOSTNAME
3535
value: '{{repl ConfigOption "hostname" }}'
36+
- name: CONFIG_PASSWORD
37+
value: '{{repl ConfigOption "pw" }}'

e2e/scripts/single-node-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ deploy_app() {
132132

133133
echo "providing a config for the app"
134134
# provide a config for the app
135-
kubectl kots set config embedded-cluster-smoke-test-staging-app -n kotsadm --key="hostname" --value="123" --deploy
135+
kubectl kots set config embedded-cluster-smoke-test-staging-app -n kotsadm --key="hostname" --value="123" --key="pw" --value="mypassword" --deploy
136136
echo "app versions"
137137
kubectl kots get versions -n kotsadm embedded-cluster-smoke-test-staging-app
138138

0 commit comments

Comments
 (0)