mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
The sourcesecret package now uses pkg/runtime/secrets factory functions instead of the previous monolithic approach. This provides standardized secret generation with consistent validation and error handling across all authentication types. Signed-off-by: cappyzawa <cappyzawa@gmail.com>
19 lines
344 B
YAML
19 lines
344 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: ghcr
|
|
namespace: my-namespace
|
|
stringData:
|
|
.dockerconfigjson: |-
|
|
{
|
|
"auths": {
|
|
"ghcr.io": {
|
|
"username": "stefanprodan",
|
|
"password": "password",
|
|
"auth": "c3RlZmFucHJvZGFuOnBhc3N3b3Jk"
|
|
}
|
|
}
|
|
}
|
|
type: kubernetes.io/dockerconfigjson
|
|
|