1
0
Fork 0

refactor: move apps to apps/cluster-infrastructure

- apps/<project>/
This commit is contained in:
Vojtěch Mareš 2023-11-16 21:33:06 +01:00
parent 5884072dca
commit 7328d622c1
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
6 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: cert-manager
repoURL: https://charts.jetstack.io
targetRevision: 1.13.2
helm:
releaseName: cert-manager
valuesObject:
installCRDs: true
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
webhook:
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
destination:
server: "https://kubernetes.default.svc"
namespace: cert-manager

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: clusterissuer
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "5"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
source:
path: manifests/clusterissuer/
repoURL: https://github.com/vojtechmares/cthulhunetes-gitops.git
targetRevision: HEAD
destination:
server: "https://kubernetes.default.svc"
namespace: cert-manager

View file

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "5"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: cloudnative-pg
repoURL: https://cloudnative-pg.github.io/charts
targetRevision: 0.19.1
helm:
releaseName: cnpg-operator
valuesObject:
fullnameOverride: cnpg-operator
replicaCount: 2
destination:
server: "https://kubernetes.default.svc"
namespace: cnpg-operator

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: extra-storageclass
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
source:
path: manifests/storageclass/
repoURL: https://github.com/vojtechmares/cthulhunetes-gitops.git
targetRevision: HEAD
destination:
server: "https://kubernetes.default.svc"
namespace: longhorn-system

View file

@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: longhorn
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "5"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: longhorn
repoURL: https://charts.longhorn.io
targetRevision: 1.5.2
helm:
releaseName: longhorn
valuesObject:
# To use with ArgoCD, the pre-upgrade-checker job must be disabled
helmPreUpgradeCheckerJob:
enabled: false
defaultSettings:
logLevel: warn
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
host: longhorn.ops.mareshq.com
tls: true
destination:
server: "https://kubernetes.default.svc"
namespace: longhorn-system

View file

@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: minio-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: cluster-infrastructure
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
chart: operator
repoURL: https://operator.min.io
targetRevision: 5.0.10
helm:
releaseName: minio-operator
valuesObject:
console:
replicaCount: 2
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
host: console.minio.ops.mareshq.com
tls:
- hosts:
- console.minio.ops.mareshq.com
secretName: minio-console-ingress-tls
destination:
server: "https://kubernetes.default.svc"
namespace: minio-operator