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
7 changes: 7 additions & 0 deletions clusters/prod/apps/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v2
name: argo-cd
version: 0.1.0
dependencies:
- name: argo-cd
version: 9.1.7
repository: https://pilotdataplatform.github.io/helm-charts/
23 changes: 23 additions & 0 deletions clusters/prod/apps/argo-cd/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-cd
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
project: default
source:
repoURL: https://github.com/PilotDataPlatform/pilot-hdc-platform-gitops.git
path: clusters/prod/apps/argo-cd
targetRevision: main
helm:
valueFiles:
- values.yaml
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
43 changes: 43 additions & 0 deletions clusters/prod/apps/argo-cd/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
argo-cd:
global:
domain: argocd.hdc.ebrains.eu

redis:
enabled: true
redis-ha:
enabled: false

server:
service:
type: ClusterIP
ingress:
enabled: true
controller: generic
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hostname: argocd.hdc.ebrains.eu
path: /
pathType: Prefix
tls: true

configs:
cm:
admin.enabled: true
url: https://argocd.hdc.ebrains.eu
# Workaround for StatefulSet volumeClaimTemplates drift with ServerSideApply
# https://github.com/argoproj/argo-cd/issues/11143#issuecomment-3351076060
resource.customizations.ignoreDifferences.apps_StatefulSet: |
jqPathExpressions:
- .spec.volumeClaimTemplates[].apiVersion
- .spec.volumeClaimTemplates[].kind
- .spec.volumeClaimTemplates[].metadata.creationTimestamp
# ESO webhook injects defaults (conversionStrategy, decodingStrategy, metadataPolicy)
# causing perpetual diff against git manifests
resource.customizations.ignoreDifferences.external-secrets.io_ExternalSecret: |
jqPathExpressions:
- .spec.data[].remoteRef.conversionStrategy
- .spec.data[].remoteRef.decodingStrategy
- .spec.data[].remoteRef.metadataPolicy
21 changes: 21 additions & 0 deletions clusters/prod/root-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/PilotDataPlatform/pilot-hdc-platform-gitops.git
path: clusters/prod/apps
targetRevision: main
directory:
recurse: true
exclude: "{**/templates/*,**/Chart.yaml,**/values.yaml}"
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
Loading