Validate manifests / validate (push) Failing after 4s
- Base references upstream ArgoCD v3.3.6 install.yaml - Production overlay applies all cluster customizations: - KSOPS CMP sidecar on argocd-repo-server - Custom ConfigMaps (argocd-cm, argocd-cmd-params-cm, argocd-rbac-cm, argocd-notifications-cm) - Redis migrated to shared-redis.data:6379 - Traefik IngressRoute for argocd.olb42.com - SOPS-encrypted secrets (age key, redis auth, gitea tokens, repo-creds) - Bootstrap Application with prune:false for safe self-management
27 lines
746 B
YAML
27 lines
746 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cmp-cm
|
|
namespace: argocd
|
|
data:
|
|
ksops.yaml: |
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ConfigManagementPlugin
|
|
metadata:
|
|
name: ksops
|
|
spec:
|
|
generate:
|
|
command: ["sh", "-c"]
|
|
args:
|
|
- |
|
|
if [ -n "$ARGOCD_ENV_BRANCH_SLUG" ]; then
|
|
sed -i "s/BRANCH_SLUG_PLACEHOLDER/$ARGOCD_ENV_BRANCH_SLUG/g" kustomization.yaml
|
|
fi
|
|
if [ -n "$ARGOCD_ENV_IMAGE_TAG" ]; then
|
|
kustomize edit set image "ngorse/swarm-dns-watcher:$ARGOCD_ENV_IMAGE_TAG"
|
|
fi
|
|
kustomize build --enable-alpha-plugins --enable-exec .
|
|
discover:
|
|
find:
|
|
glob: "**/kustomization.yaml"
|