hashnao / gitops-practice

Install operators via OpenShift GitOps Operator
0 stars 0 forks source link

settings.xml encryption #57

Closed hashnao closed 11 months ago

hashnao commented 11 months ago

tenant-projects/camelk/sample/values.yaml に定義する Nexus Repository Manager のパスワードを暗号化する Cf. https://github.com/apache/camel-k/blob/release-2.1.x/docs/modules/ROOT/pages/installation/advanced/maven.adoc#maven-settings-security

hashnao commented 11 months ago

Secret に base64 で settings.xml をエンコードせずに ConfigMap の様に定義したためエラー、YAML 形式で Secret を定義する Failed sync attempt to 9a10da784d7e5b1f557089294e080daced525fde: one or more objects failed to apply, reason: Secret in version "v1" cannot be handled as a Secret: illegal base64 data at input byte 0 (retried 2 times).

hashnao commented 11 months ago

verified