forseti-security / helm-charts

Apache License 2.0
8 stars 11 forks source link

Error with key during upgrade #11

Closed hshin-g closed 5 years ago

hshin-g commented 5 years ago

When trying to run

helm upgrade -i forseti forseti-security/forseti-security \
--set production=true \
--recreate-pods \
--set-string serverKeyContents="$(cat forseti-server.json | base64 -) \
--set-string orchestratorKeyContents="$(cat forseti-client.json | base64 -) \
--values=forseti-values.yaml

get the following error:

UPGRADE FAILED
Error: v1.Secret.ObjectMeta: v1.ObjectMeta.TypeMeta: Kind: Data: decode base64: illegal base64 data at input byte 3140, error found in #10 byte of ...|SIKfQo=\n"},"kind":"|..., bigger context ...|G0tdGVzdC5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIKfQo=\n"},"kind":"Secret","metadata":{"name":"forseti-serv|...
Error: UPGRADE FAILED: v1.Secret.ObjectMeta: v1.ObjectMeta.TypeMeta: Kind: Data: decode base64: illegal base64 data at input byte 3140, error found in #10 byte of ...|SIKfQo=\n"},"kind":"|..., bigger context ...|G0tdGVzdC5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIKfQo=\n"},"kind":"Secret","metadata":{"name":"forseti-serv|...
kevensen commented 5 years ago

OBE. No longer using IAM SA keys and K8s secrets