Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 39 additions & 45 deletions deploy/dependency-api/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,68 +4,62 @@ metadata:
name: dependency-api
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: production
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.10.33"
valueFiles:
- $values/deploy/dependency-api/values.yaml
- repoURL: 'git@github.com:flowcommerce/dependency.git'
targetRevision: main
ref: values
- repoURL: 'git@github.com:flowcommerce/dependency.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.10.33"
valueFiles:
- $values/deploy/dependency-api/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
selfHeal: true
84 changes: 39 additions & 45 deletions deploy/dependency-www/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,68 +4,62 @@ metadata:
name: dependency-www
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: production
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.10.33"
valueFiles:
- $values/deploy/dependency-www/values.yaml
- repoURL: 'git@github.com:flowcommerce/dependency.git'
targetRevision: main
ref: values
- repoURL: 'git@github.com:flowcommerce/dependency.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.10.33"
valueFiles:
- $values/deploy/dependency-www/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
selfHeal: true