Files
platform-state/argocd/applicationsets/platform-secret-backed-addons.yaml
T

66 lines
1.9 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: platform-secret-backed-addons
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- name: monitoring
namespace: monitoring
chartRepo: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
version: 85.2.0
valuesPath: platform/monitoring/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}}"
ignoreDifferences:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /metadata/annotations
- /metadata/labels
- /status
jqPathExpressions:
- .spec.conversion.webhook.clientConfig.caBundle
- group: monitoring.coreos.com
kind: Alertmanager
managedFieldsManagers:
- kube-apiserver
- prometheus-operator
- group: monitoring.coreos.com
kind: Prometheus
managedFieldsManagers:
- kube-apiserver
- prometheus-operator
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- SkipDryRunOnMissingResource=true
- RespectIgnoreDifferences=true