stefanprodan / timoni

Timoni is a package manager for Kubernetes, powered by CUE and inspired by Helm.
https://timoni.sh
Apache License 2.0
1.51k stars 67 forks source link

Add image pull secret generator to Timoni's CUE schemas #267

Closed stefanprodan closed 9 months ago

stefanprodan commented 9 months ago

Add generator for Kubernetes Secrets of type kubernetes.io/dockerconfigjson.

Example:

secret: timoniv1.#ImagePullSecret & {
    metadata: _config.metadata
    registry: "ghcr.io"
    username: "bot"
    password: "ghp_1234567890"
    suffix:   "-regcred"
}