Cannot overwrite table with non table for server-components.policyServer.aps
search cancel

Cannot overwrite table with non table for server-components.policyServer.aps

book

Article ID: 368355

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

 

Running SiteMinder in containers, when upgrading Policy Server 12.8SP7 to 12.8SP8CR01, the upgrade command fails.

# helm upgrade sp7 smrepo/server-components -n siteminder  -f new-ps-values.yaml -f policy-server-override.yaml  --set admin.enabled=true  --set policyServer.enabled=true  --set policyServer.tag=12.8.0801.3037  --set global.configuration.tag=12.8.0801.3037  --set global.runtimeConfiguration.tag=12.8.0801.3037  --set policyServer.metricsExporter.tag=12.8.0801.3037  --set admin.policyServer.tag=12.8.07.3109  --set admin.adminUI.tag=12.8.07.3109  --description="Siteminder 12.8 SP8 CR01"  --timeout=30m --wait  --version=${VERSION}

coalesce.go:220: warning: cannot overwrite table with non table for server-components.policyServer.aps (map[enabled:false])
coalesce.go:220: warning: cannot overwrite table with non table for server-components.admin.policyServer.importDefaultCACertificates (map[enabled:false])
Error: UPGRADE FAILED: template: server-components/templates/statefulset-admin.yaml:356:24: executing "server-components/templates/statefulset-admin.yaml" at <.Values
.admin.policyServer.importDefaultCACertificates.enabled>: can't evaluate field enabled in type interface {}

 

Resolution


In policy-server-override.yaml, comment the lines for the value of aps and importDefaultCACertificates to solve this issue.