Skip to content

Commit bf56a60

Browse files
authored
just change password to secret (#15)
1 parent c519512 commit bf56a60

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

charts/xrd-common/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ keywords:
88
- xrd
99
sources:
1010
- https://github.com/ios-xr/xrd-helm
11-
version: 1.0.3
11+
version: 1.0.4

charts/xrd-common/templates/_config-configmap.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ data:
1818
username {{ .Values.config.username }}
1919
group root-lr
2020
group cisco-support
21-
password {{ .Values.config.password }}
21+
secret {{ .Values.config.password }}
2222
!
2323
{{- end }}
2424
{{- if (get .Values.config "ascii") }}

charts/xrd-control-plane/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ keywords:
88
- xrd
99
sources:
1010
- https://github.com/ios-xr/xrd-helm
11-
version: 1.0.3
11+
version: 1.0.4
1212
dependencies:
1313
- name: xrd-common
14-
version: 1.0.3
14+
version: 1.0.4
1515
repository: "file://../xrd-common"

charts/xrd-vrouter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ keywords:
88
- xrd
99
sources:
1010
- https://github.com/ios-xr/xrd-helm
11-
version: 1.0.5
11+
version: 1.0.6
1212
dependencies:
1313
- name: xrd-common
14-
version: 1.0.3
14+
version: 1.0.4
1515
repository: "file://../xrd-common"

tests/ut/xrd-control-plane/configmap.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ setup_file () {
7171
@test "Control Plane ConfigMap: Startup config can be set using username and password" {
7272
template --set 'config.username=foo' --set 'config.password=bar'
7373
assert_query_equal '.data."startup.cfg"' \
74-
"username foo\n group root-lr\n group cisco-support\n password bar\n!"
74+
"username foo\n group root-lr\n group cisco-support\n secret bar\n!"
7575
}
7676

7777
@test "Control Plane ConfigMap: password must be set if username is" {

tests/ut/xrd-vrouter/configmap.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ setup_file () {
7171
@test "vRouter ConfigMap: Startup config can be set using username and password" {
7272
template --set 'config.username=foo' --set 'config.password=bar'
7373
assert_query_equal '.data."startup.cfg"' \
74-
"username foo\n group root-lr\n group cisco-support\n password bar\n!"
74+
"username foo\n group root-lr\n group cisco-support\n secret bar\n!"
7575
}
7676

7777
@test "vRouter ConfigMap: password must be set if username is" {

0 commit comments

Comments
 (0)