Files
platform-state/argocd/applicationsets/platform-core-addons.yaml
T

56 lines
1.7 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: platform-core-addons
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-5"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- name: infisical-operator
namespace: infisical
chartRepo: https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/
chart: secrets-operator
version: 0.10.32
valuesPath: platform/infisical-operator/values/main.yaml
- name: cert-manager
namespace: cert-manager
chartRepo: https://charts.jetstack.io
chart: cert-manager
version: v1.20.2
valuesPath: platform/cert-manager/values/main.yaml
- name: haproxy-ingress
namespace: haproxy-controller
chartRepo: https://haproxytech.github.io/helm-charts
chart: kubernetes-ingress
version: 1.52.0
valuesPath: platform/haproxy-ingress/values/main.yaml
template:
metadata:
name: "{{.name}}"
spec:
project: platform
sources:
- repoURL: "{{.chartRepo}}"
chart: "{{.chart}}"
targetRevision: "{{.version}}"
helm:
valueFiles:
- "$values/{{.valuesPath}}"
- repoURL: https://git.dahyeon.us/dahyeon/platform-state.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: "{{.namespace}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true