refactor(cnpg): unify all apps on 'app' database user/credentials pattern
This commit is contained in:
@@ -82,6 +82,12 @@ kubectl get secret ddb-cluster-app -n ddb -o yaml \
|
||||
| sed 's/namespace: ddb/namespace: cicd/' \
|
||||
| kubectl apply -f -
|
||||
|
||||
# Copy DB secret to iam namespace (for authentik)
|
||||
log "Copying ddb-cluster-app secret to iam namespace..."
|
||||
kubectl get secret ddb-cluster-app -n ddb -o yaml \
|
||||
| sed 's/namespace: ddb/namespace: iam/' \
|
||||
| kubectl apply -f -
|
||||
|
||||
# 7. Wait for Forgejo
|
||||
log "Waiting for Forgejo to be ready..."
|
||||
kubectl wait --for=condition=available --timeout=600s \
|
||||
|
||||
Reference in New Issue
Block a user