Skip to content

Commit

Permalink
just change password to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed Sep 24, 2024
1 parent c519512 commit be6573c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/xrd-common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ keywords:
- xrd
sources:
- https://github.com/ios-xr/xrd-helm
version: 1.0.3
version: 1.0.4
2 changes: 1 addition & 1 deletion charts/xrd-common/templates/_config-configmap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ data:
username {{ .Values.config.username }}
group root-lr
group cisco-support
password {{ .Values.config.password }}
secret {{ .Values.config.password }}
!
{{- end }}
{{- if (get .Values.config "ascii") }}
Expand Down
4 changes: 2 additions & 2 deletions charts/xrd-control-plane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ keywords:
- xrd
sources:
- https://github.com/ios-xr/xrd-helm
version: 1.0.3
version: 1.0.4
dependencies:
- name: xrd-common
version: 1.0.3
version: 1.0.4
repository: "file://../xrd-common"
4 changes: 2 additions & 2 deletions charts/xrd-vrouter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ keywords:
- xrd
sources:
- https://github.com/ios-xr/xrd-helm
version: 1.0.5
version: 1.0.6
dependencies:
- name: xrd-common
version: 1.0.3
version: 1.0.4
repository: "file://../xrd-common"
2 changes: 1 addition & 1 deletion tests/ut/xrd-control-plane/configmap.bats
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ setup_file () {
@test "Control Plane ConfigMap: Startup config can be set using username and password" {
template --set 'config.username=foo' --set 'config.password=bar'
assert_query_equal '.data."startup.cfg"' \
"username foo\n group root-lr\n group cisco-support\n password bar\n!"
"username foo\n group root-lr\n group cisco-support\n secret bar\n!"
}

@test "Control Plane ConfigMap: password must be set if username is" {
Expand Down
2 changes: 1 addition & 1 deletion tests/ut/xrd-vrouter/configmap.bats
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ setup_file () {
@test "vRouter ConfigMap: Startup config can be set using username and password" {
template --set 'config.username=foo' --set 'config.password=bar'
assert_query_equal '.data."startup.cfg"' \
"username foo\n group root-lr\n group cisco-support\n password bar\n!"
"username foo\n group root-lr\n group cisco-support\n secret bar\n!"
}

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

0 comments on commit be6573c

Please sign in to comment.