diff --git a/deploy/slackin/app.yaml b/deploy/slackin/app.yaml index 23d10a98..31d30d5b 100644 --- a/deploy/slackin/app.yaml +++ b/deploy/slackin/app.yaml @@ -4,68 +4,62 @@ metadata: name: slackin namespace: argocd finalizers: - - resources-finalizer.argocd.argoproj.io + - resources-finalizer.argocd.argoproj.io spec: destination: namespace: apicollective server: 'https://kubernetes.default.svc' ignoreDifferences: - - group: networking.istio.io - kind: VirtualService - jsonPointers: - - /spec/http/0 - - group: datadoghq.com - kind: DatadogMonitor - jqPathExpressions: - - .spec.tags - # Required if enable KEDA autoscaler to avoid conflicts between - # ArgoCD and HPA managing the number of replicas - - group: "apps" - kind: "Deployment" - jsonPointers: - - /spec/replicas - - group: argoproj.io - kind: Rollout - jsonPointers: - - /spec/replicas + - group: networking.istio.io + kind: VirtualService + jsonPointers: + - /spec/http/0 + - group: "apps" + kind: "Deployment" + jsonPointers: + - /spec/replicas + - group: argoproj.io + kind: Rollout + jsonPointers: + - /spec/replicas # Ignore cluster IP changes - - group: "" - kind: Service - jsonPointers: - - /spec/clusterIP + - group: "" + kind: Service + jsonPointers: + - /spec/clusterIP #This is a common issue with Argo Rollouts and Istio DestinationRule resources. #The rollouts-pod-template-hash label is automatically managed #by the Argo Rollouts controller and gets added dynamically during rollout operations - - group: networking.istio.io - kind: DestinationRule - jqPathExpressions: - - .spec.subsets[].labels["rollouts-pod-template-hash"] + - group: networking.istio.io + kind: DestinationRule + jqPathExpressions: + - .spec.subsets[].labels["rollouts-pod-template-hash"] ################################### sources: - - repoURL: 'git@github.com:flowcommerce/generic-charts.git' - path: charts/flow-generic - targetRevision: v2.0.0 - helm: - parameters: - - name: deployments.live.version - value: "0.14.26" - valueFiles: - - $values/deploy/slackin/values.yaml - - repoURL: 'git@github.com:apicollective/slackin.git' - targetRevision: main - ref: values + - repoURL: 'git@github.com:apicollective/slackin.git' + targetRevision: main + ref: values + - repoURL: 'git@github.com:flowcommerce/generic-charts.git' + path: charts/flow-generic + targetRevision: v2.0.0 + helm: + parameters: + - name: deployments.live.version + value: "0.14.26" + valueFiles: + - $values/deploy/slackin/values.yaml project: production ## Keep it commenting out during the transition process to avoid auto ## sync applying changes automatically until transition is completed. syncPolicy: syncOptions: - - RespectIgnoreDifferences=true - - CreateNamespace=false # Namespace exists - - ApplyOutOfSyncOnly=true # Only sync out-of-sync resources - - ServerSideApply=true # Use server-side apply - - PruneLast=true # Prune after successful sync + - RespectIgnoreDifferences=true + - CreateNamespace=false # Namespace exists + - ApplyOutOfSyncOnly=true # Only sync out-of-sync resources + - ServerSideApply=true # Use server-side apply + - PruneLast=true # Prune after successful sync automated: prune: true selfHeal: true