diff --git a/apps/musicman.yaml b/apps/musicman.yaml new file mode 100644 index 0000000..a65bda6 --- /dev/null +++ b/apps/musicman.yaml @@ -0,0 +1,51 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: music-man + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + + source: + repoURL: https://github.com/snothub/scaling-parakeet.git + targetRevision: HEAD + path: helm-chart + + helm: + valueFiles: + - values.yaml + - values-prod.yaml + + parameters: + - name: secrets.databasePassword + value: "change-me-in-production" + + destination: + server: https://kubernetes.default.svc + namespace: music-man + + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false + + syncOptions: + - CreateNamespace=true + - Validate=true + - ServerSideApply=false + - Replace=false + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m + + ignoreDifferences: + - group: apps + kind: Deployment + jsonPointers: + - /spec/replicas