move api secrets from configmap to .env-backed k8s Secret
This commit is contained in:
@@ -16,7 +16,10 @@ if k8s_context() != 'kind-nvi':
|
||||
|
||||
local('kubectl --context kind-nvi create namespace nvi --dry-run=client -o yaml | kubectl --context kind-nvi apply -f -')
|
||||
|
||||
k8s_yaml(kustomize('k8s/overlays/dev'))
|
||||
# --load-restrictor=LoadRestrictionsNone: secretGenerator reads ../../../.env
|
||||
# (repo root), which kustomize otherwise refuses for security. Safe here —
|
||||
# it's our own repo, the path is explicit, and the only reachable file is .env.
|
||||
k8s_yaml(kustomize('k8s/overlays/dev', flags=['--load-restrictor=LoadRestrictionsNone']))
|
||||
|
||||
# --- Images ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user