Skip to content

Commit

Permalink
test app
Browse files Browse the repository at this point in the history
  • Loading branch information
punkerside committed Jul 24, 2023
1 parent a59f6c3 commit 505e5c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion manifest/argocd/updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ metadata:
namespace: argocd
labels:
runtime: golang
tool: helm
trigger: updater
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
path: helm/app/
repoURL: https://github.com/punkerside/awsday-demo
repoURL: https://github.com/punkerside/argocd-demo
targetRevision: HEAD
destination:
namespace: default
Expand Down
8 changes: 4 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ apps () {
# # instalando aplicacion para administrar cluster con gitops
# export NAME=${PROJECT}-${ENV} VERSION=v$(curl -s https://api.github.com/repos/kubernetes/autoscaler/releases | grep tag_name | grep cluster-autoscaler | grep ${EKS_VERSION} | cut -d '"' -f4 | cut -d "-" -f3 | head -1) && envsubst < manifest/argocd/cluster.yaml | kubectl apply -f -

# instalando aplicacion demo administrada por gitops
kubectl apply -f manifest/argocd/gitops.yaml
# # instalando aplicacion demo administrada por gitops
# kubectl apply -f manifest/argocd/gitops.yaml

# # instalando aplicacion demo administrada por image-updater
# export NAME=golang PROJECT=${PROJECT} ENV=${ENV} AWS_ACCOUNT=${AWS_ACCOUNT} AWS_REGION=${AWS_REGION} && envsubst < manifest/deploy/main.yaml | kubectl apply -f -
# instalando aplicacion demo administrada por image-updater
export NAME=golang PROJECT=${PROJECT} ENV=${ENV} AWS_ACCOUNT=${AWS_ACCOUNT} AWS_REGION=${AWS_REGION} && envsubst < manifest/deploy/main.yaml | kubectl apply -f -
}

"$@"

0 comments on commit 505e5c8

Please sign in to comment.