@@ -14,12 +14,6 @@ data:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user