k8s-deployments/app-files/apps.yaml

237 lines
5.8 KiB
YAML
Raw Normal View History

2024-05-29 21:17:25 +02:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: k8s-deployments-self
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
path: "app-files"
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: false
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
2024-11-04 20:45:29 +01:00
name: argocd
2024-05-29 21:17:25 +02:00
namespace: argocd
spec:
project: default
2024-11-04 20:45:29 +01:00
sources:
- repoURL: https://argoproj.github.io/argo-helm
chart: argo-cd
targetRevision: 7.6.8
helm:
releaseName: argo
valueFiles:
- $values/argocd/values.yaml
- repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
ref: values
- repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
path: argocd
2024-05-29 21:17:25 +02:00
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
syncOptions:
2024-11-04 20:45:29 +01:00
- CreateNamespace=true
2024-05-29 21:17:25 +02:00
automated:
2024-11-04 20:45:29 +01:00
selfHeal: true
prune: false
2024-05-29 21:17:25 +02:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: drone-runner
namespace: argocd
spec:
project: default
2024-05-29 21:18:24 +02:00
sources:
2024-05-29 21:25:04 +02:00
- chart: drone-runner-kube
2024-05-29 21:17:25 +02:00
repoURL: https://charts.drone.io
targetRevision: 0.1.10
helm:
releaseName: drone-runner
values: |
extraSecretNamesForEnvFrom:
- drone-secrets
rbac:
buildNamespaces:
- drone
env:
2024-05-29 21:30:52 +02:00
DRONE_RPC_HOST: drone.ar21.de
2024-05-29 21:17:25 +02:00
DRONE_RPC_PROTO: https
DRONE_NAMESPACE_DEFAULT: drone
2024-11-04 21:02:33 +01:00
- repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
path: drone
2024-05-29 21:17:25 +02:00
destination:
server: https://kubernetes.default.svc
namespace: drone
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: false
2024-05-29 22:38:08 +02:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: hoylogo
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
2024-10-10 21:31:56 +02:00
path: hoylogo/overlays/prod
2024-05-29 22:38:08 +02:00
destination:
server: https://kubernetes.default.svc
namespace: hoylogo
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
2024-07-25 04:32:32 +02:00
name: hoylogo-staging
2024-05-29 22:38:08 +02:00
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
2024-10-10 21:31:56 +02:00
path: hoylogo/overlays/staging
2024-05-29 22:38:08 +02:00
destination:
server: https://kubernetes.default.svc
namespace: hoylogo-staging
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
2024-07-12 14:44:14 +02:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: surveybot
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
path: surveybot
destination:
server: https://kubernetes.default.svc
namespace: surveybot
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
2024-10-10 21:31:56 +02:00
prune: true
2024-11-04 21:09:19 +01:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cloudnative-pg
namespace: argocd
spec:
project: default
sources:
- chart: cloudnative-pg
repoURL: https://cloudnative-pg.io/charts
targetRevision: 0.22.1
helm:
releaseName: cloudnative-pg
destination:
server: https://kubernetes.default.svc
namespace: cnpg
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: false
2024-11-04 22:12:44 +01:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: openproject
namespace: argocd
spec:
project: default
sources:
- repoURL: https://charts.openproject.org
chart: openproject
targetRevision: 8.3.2
helm:
releaseName: openproject
values: |
clusterDomain: "project.aaronriedel.de"
ingress:
annotations:
kubernetes.io/tls-acme: "true"
host: "project.aaronriedel.de"
workers:
default:
replicas: 2
openproject:
oidc:
enabled: true
provider: "Keycloak"
displayName: "aaronID"
host: "auth.ar21.de"
existingSecret: openproject-secret
userinfoEndpoint: "https://auth.ar21.de/application/o/userinfo/"
tokenEndpoint: "https://auth.ar21.de/application/o/token/"
authorizationEndpoint: "https://auth.ar21.de/application/o/authorize/"
endSessionEndpoint: "https://auth.ar21.de/application/o/openproject/end-session/"
persistence:
enabled: false
s3:
enabled: true
auth:
existingSecret: openproject-s3
region: fsn1
bucketName: openproject
endpoint: https://fsn1.your-objectstorage.com
pathStyle: true
enableSignatureV4Streaming: false
directUploads: false
postgresql:
bundled: false
connection:
host: openproject-rw.openproject.svc.cluster.local
port: 5432
auth:
existingSecret: openproject-app
secretKeys:
adminPasswordKey: "password"
userPasswordKey: "password"
username: "app"
database: "app"
- repoURL: https://git.ar21.de/aaron/k8s-deployments.git
targetRevision: HEAD
path: openproject
destination:
server: https://kubernetes.default.svc
namespace: openproject
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
prune: false