Skip to content

Commit

Permalink
chore: add 20
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Dec 14, 2024
1 parent 0c826f3 commit 8bf3bd6
Show file tree
Hide file tree
Showing 4 changed files with 158 additions and 0 deletions.
61 changes: 61 additions & 0 deletions registry/clusters/dev/components/20-dex.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dex-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "20"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/components/dex
targetRevision: sje/debug
kustomize:
patches:
- target:
group: argoproj.io
version: v1alpha1
kind: Application
name: dex
patch: |-
- op: replace
path: /spec/source/helm/valuesObject/ingress/hosts/0/host
value: oidc.dev.simonemms.com
- op: replace
path: /spec/source/helm/valuesObject/ingress/tls/0/hosts/0
value: oidc.dev.simonemms.com
- op: replace
path: /spec/source/helm/valuesObject/ingress/annotations/cert-manager.io~1cluster-issuer
value: letsencrypt-staging
- target:
group: generators.external-secrets.io
version: v1alpha1
kind: Fake
name: oidc-settings
patch: |-
- op: replace
path: /spec/data/base_url
value: https://oidc.dev.simonemms.com
- op: replace
path: /spec/data/argocd_url
value: https://argocd.dev.simonemms.com
- op: replace
path: /spec/data/homepage_url
value: https://homepage.dev.simonemms.com
destination:
server: https://kubernetes.default.svc
namespace: dex
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Service
namespace: dex
jsonPointers:
- /spec/externalName
24 changes: 24 additions & 0 deletions registry/clusters/dev/components/20-ingress-nginx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ingress-nginx-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "20"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/components/ingress-nginx
targetRevision: sje/debug
destination:
server: https://kubernetes.default.svc
namespace: ingress-nginx
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
24 changes: 24 additions & 0 deletions registry/clusters/dev/components/20-metallb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: metallb-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/components/metallb
targetRevision: sje/debug
destination:
server: https://kubernetes.default.svc
namespace: metallb-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
49 changes: 49 additions & 0 deletions registry/clusters/dev/components/20-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "20"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/mrsimonemms/infrastructure
path: registry/components/monitoring
targetRevision: sje/debug
kustomize:
patches:
- target:
group: argoproj.io
version: v1alpha1
kind: Application
name: monitoring
patch: |-
- op: replace
path: /spec/source/helm/valuesObject/grafana/ingress/hosts/0
value: grafana.dev.simonemms.com
- op: replace
path: /spec/source/helm/valuesObject/grafana/ingress/tls/0/hosts/0
value: grafana.dev.simonemms.com
- op: replace
path: /spec/source/helm/valuesObject/grafana/grafana.ini/server/domain
value: grafana.dev.simonemms.com
- op: replace
path: /spec/source/helm/valuesObject/grafana/ingress/annotations/cert-manager.io~1cluster-issuer
value: letsencrypt-staging
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Service
namespace: monitoring
jsonPointers:
- /spec/externalName

0 comments on commit 8bf3bd6

Please sign in to comment.