Skip to content

Commit

Permalink
Merge in main (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco authored and GitHub Enterprise committed Sep 24, 2024
1 parent 61eb61e commit e906001
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.1.0-beta.2
version: 1.1.0-beta.3
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.1.0-beta.2
version: 1.1.0-beta.3
dependencies:
- name: xrd-common
version: 1.1.0-beta.2
version: 1.1.0-beta.3
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: 2.0.0-beta.1
version: 2.0.0-beta.2
dependencies:
- name: xrd-common
version: 1.1.0-beta.2
version: 1.1.0-beta.3
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 e906001

Please sign in to comment.