Skip to content
Open
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
34 changes: 4 additions & 30 deletions argo/apps/gatus.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: gatus-postgresql
namespace: default
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
imageName: ghcr.io/cloudnative-pg/postgresql:17.2-32@sha256:b17d21f8ec36add9b3c0ea3fb354d05f62a8fddf8ba65ae94e63ba77bc42202e
instances: 3
enablePDB: true
# Keep one instance per node; without spare nodes, a lost node leaves Gatus degraded.
affinity:
enablePodAntiAffinity: true
podAntiAffinityType: required
topologyKey: kubernetes.io/hostname
managed:
services:
disabledDefaultServices: ["ro", "r"]
bootstrap:
initdb:
database: gatus
owner: gatus
secret:
name: gatus-postgres-user
storage:
storageClass: local-path
size: 15Gi
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand All @@ -37,6 +8,9 @@ metadata:
spec:
project: default
sources:
- repoURL: https://github.com/anokfireball/cloud-as-code
targetRevision: main
path: argo/apps/gatus
- repoURL: https://twin.github.io/helm-charts
chart: gatus
targetRevision: 1.5.0
Expand All @@ -45,7 +19,7 @@ spec:
image:
repository: ghcr.io/twin/gatus
# renovate: datasource=docker depName=ghcr.io/twin/gatus
tag: "v5.34.0"
tag: "v5.35.0"
annotations:
reloader.stakater.com/auto: "true"
ingress:
Expand Down
28 changes: 28 additions & 0 deletions argo/apps/gatus/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: gatus-postgresql
namespace: default
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
imageName: ghcr.io/cloudnative-pg/postgresql:17.2-32@sha256:b17d21f8ec36add9b3c0ea3fb354d05f62a8fddf8ba65ae94e63ba77bc42202e
instances: 3
enablePDB: true
# Keep one instance per node; without spare nodes, a lost node leaves Gatus degraded.
affinity:
enablePodAntiAffinity: true
podAntiAffinityType: required
topologyKey: kubernetes.io/hostname
managed:
services:
disabledDefaultServices: ["ro", "r"]
bootstrap:
initdb:
database: gatus
owner: gatus
secret:
name: gatus-postgres-user
storage:
storageClass: local-path
size: 15Gi
27 changes: 27 additions & 0 deletions argo/bootstrap/apps/argo-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-cd
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
sources:
- repoURL: https://argoproj.github.io/argo-helm
chart: argo-cd
targetRevision: 9.5.0
helm:
skipCrds: true
valueFiles:
- $values/argo/system/argo-cd/values.yaml
- repoURL: https://github.com/anokfireball/cloud-as-code
targetRevision: main
ref: values
destination:
name: in-cluster
namespace: argocd-system
syncPolicy:
automated:
prune: true
selfHeal: true
32 changes: 32 additions & 0 deletions argo/bootstrap/apps/cert-manager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
project: default
sources:
- repoURL: https://charts.jetstack.io
chart: cert-manager
targetRevision: v1.20.1
helm:
valuesObject:
config:
enableGatewayAPI: true
global:
rbac:
disableHTTPChallengesRole: true
crds:
enabled: true
- repoURL: https://github.com/anokfireball/cloud-as-code
targetRevision: main
path: argo/system/cert-manager
destination:
name: in-cluster
namespace: cert-manager-system
syncPolicy:
automated:
prune: true
selfHeal: true
22 changes: 22 additions & 0 deletions argo/bootstrap/apps/cloudnative-pg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cloudnative-pg
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
project: default
sources:
- repoURL: https://cloudnative-pg.github.io/charts
chart: cloudnative-pg
targetRevision: 0.28.0
destination:
name: in-cluster
namespace: cloudnative-pg-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ServerSideApply=true
38 changes: 38 additions & 0 deletions argo/bootstrap/apps/envoy-gateway-crds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: envoy-gateway-crds
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
project: default
source:
repoURL: docker.io/envoyproxy
targetRevision: 1.7.1
chart: gateway-crds-helm
helm:
valuesObject:
crds:
gatewayAPI:
enabled: true
channel: experimental
envoyGateway:
enabled: true
destination:
name: in-cluster
namespace: argocd-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ServerSideApply=true
- RespectIgnoreDifferences=true
ignoreDifferences:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /metadata/annotations/argocd.argoproj.io~1sync-options
- /metadata/annotations/argocd.argoproj.io~1sync-wave
- /metadata/annotations/kubectl.kubernetes.io~1last-applied-configuration
29 changes: 29 additions & 0 deletions argo/bootstrap/apps/envoy-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: envoy-gateway
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
project: default
sources:
- repoURL: docker.io/envoyproxy
targetRevision: 1.7.1
chart: gateway-helm
helm:
valuesObject: {}
skipCrds: true
- repoURL: https://github.com/anokfireball/cloud-as-code
targetRevision: main
path: argo/system/envoy-gateway
destination:
name: in-cluster
namespace: envoy-gateway-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
35 changes: 35 additions & 0 deletions argo/bootstrap/apps/external-dns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-dns
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "4"
spec:
project: default
sources:
- repoURL: https://kubernetes-sigs.github.io/external-dns/
chart: external-dns
targetRevision: 1.20.0
helm:
valuesObject:
sources:
- service
- gateway-httproute
policy: upsert-only
registry: noop
provider:
name: cloudflare
env:
- name: CF_API_TOKEN
valueFrom:
secretKeyRef:
name: cloudflare-api-token
key: api-token
destination:
name: in-cluster
namespace: external-dns-system
syncPolicy:
automated:
prune: true
selfHeal: true
59 changes: 59 additions & 0 deletions argo/bootstrap/apps/gatus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gatus
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "6"
spec:
project: default
sources:
- repoURL: https://github.com/anokfireball/cloud-as-code
targetRevision: main
path: argo/apps/gatus
- repoURL: https://twin.github.io/helm-charts
chart: gatus
targetRevision: 1.5.0
helm:
valuesObject:
image:
repository: ghcr.io/twin/gatus
# renovate: datasource=docker depName=ghcr.io/twin/gatus
tag: "v5.35.0"
annotations:
reloader.stakater.com/auto: "true"
ingress:
enabled: false
gateway:
route:
enabled: true
parentRefs:
- name: envoy
namespace: default
hosts:
- gatus.kthxbye.cyou
path: /
env:
SERVICE_DOMAIN:
valueFrom:
secretKeyRef:
name: gatus-secrets
key: SERVICE_DOMAIN
POSTGRES_USER:
valueFrom:
secretKeyRef:
name: gatus-postgres-user
key: username
POSTGRES_PASSWORD:
valueFrom:
secretKeyRef:
name: gatus-postgres-user
key: password
externalConfigMap: gatus
destination:
name: in-cluster
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
64 changes: 64 additions & 0 deletions argo/bootstrap/apps/oracle-ccm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oracle-ccm
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
source:
repoURL: https://github.com/oracle/oci-cloud-controller-manager.git
targetRevision: v1.34.0
path: manifests/cloud-controller-manager
directory:
recurse: true
destination:
name: in-cluster
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oracle-csi
namespace: argocd-system
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
source:
repoURL: https://github.com/oracle/oci-cloud-controller-manager.git
targetRevision: v1.34.0
path: manifests/container-storage-interface
directory:
recurse: true
destination:
name: in-cluster
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oracle-csi-snapshotter
namespace: argocd-system
spec:
project: default
source:
repoURL: https://github.com/kubernetes-csi/external-snapshotter.git
targetRevision: v8.5.0
path: client/config/crd
destination:
name: in-cluster
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
Loading