mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-05 17:44:44 +00:00
Migrate sourcesecret package to runtime/secrets APIs
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>
This commit is contained in:
parent
8176d88801
commit
8b95a09319
19 changed files with 212 additions and 85 deletions
|
|
@ -5,6 +5,15 @@ metadata:
|
|||
name: ghcr
|
||||
namespace: my-namespace
|
||||
stringData:
|
||||
.dockerconfigjson: '{"auths":{"ghcr.io":{"username":"stefanprodan","password":"password","auth":"c3RlZmFucHJvZGFuOnBhc3N3b3Jk"}}}'
|
||||
.dockerconfigjson: |-
|
||||
{
|
||||
"auths": {
|
||||
"ghcr.io": {
|
||||
"username": "stefanprodan",
|
||||
"password": "password",
|
||||
"auth": "c3RlZmFucHJvZGFuOnBhc3N3b3Jk"
|
||||
}
|
||||
}
|
||||
}
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue