mirror of
https://github.com/KevinMidboe/cloudflare-ddns.git
synced 2025-12-08 20:28:54 +00:00
Feat: Hydrate application environment variables from local vault (#3)
* Hydrate kubernetes secret w/ secrets from local vault * Fix CI sourcing of env var file * Compact and reduce output * Make sure secret is defined before cronjob * Create ghcr-login-secret from env variable injected from vault * Import ghcr-login-secret namespace from NAMESPACE * Export env variables for debugging * Prepend export keyword to variables file * Remove debug output
This commit is contained in:
9
.kubernetes/ghcr-token-secret.yml
Normal file
9
.kubernetes/ghcr-token-secret.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: ghcr-login-secret
|
||||
namespace: ${NAMESPACE}
|
||||
data:
|
||||
.dockerconfigjson: ${DOCKER_CONFIG_BASE64}
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
Reference in New Issue
Block a user