From b814cf0830b389fae166dded83c29f962b487db5 Mon Sep 17 00:00:00 2001 From: Robin Marechal Date: Sat, 19 Feb 2022 21:15:45 +0100 Subject: [PATCH] Test kustomization --- base/kustomization.yml | 4 ++-- overlays/recette/kustomization.yml | 12 ++++++------ overlays/recette/prometheus-msteams-config-patch.yml | 4 ++++ 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 overlays/recette/prometheus-msteams-config-patch.yml diff --git a/base/kustomization.yml b/base/kustomization.yml index 4ccd3db..b6c7619 100644 --- a/base/kustomization.yml +++ b/base/kustomization.yml @@ -4,11 +4,11 @@ kind: Kustomization nameSuffix: -kustom # https://github.com/prometheus-msteams/prometheus-msteams/tree/master/chart/prometheus-msteams -helmCharts: +helmChartInflationGenerator: - chartName: prometheus-msteams chartRepoUrl: https://prometheus-msteams.github.io/prometheus-msteams/ values: values.yaml - releaseName: test-prometheus-msteams + releaseName: prometheus-msteams # releaseNamespace: solar-system # resources: \ No newline at end of file diff --git a/overlays/recette/kustomization.yml b/overlays/recette/kustomization.yml index 23743aa..0278164 100644 --- a/overlays/recette/kustomization.yml +++ b/overlays/recette/kustomization.yml @@ -4,9 +4,9 @@ kind: Kustomization bases: - ../../base -patchesJson6902: - - path: prometheus-msteams-config-patch.yml - target: - kind: ConfigMap - name: prometheus-msteams-config - version: v1 \ No newline at end of file +# patchesJson6902: +# - path: prometheus-msteams-config-patch.yml +# target: +# kind: ConfigMap +# name: prometheus-msteams-config +# version: v1 \ No newline at end of file diff --git a/overlays/recette/prometheus-msteams-config-patch.yml b/overlays/recette/prometheus-msteams-config-patch.yml new file mode 100644 index 0000000..3fe5383 --- /dev/null +++ b/overlays/recette/prometheus-msteams-config-patch.yml @@ -0,0 +1,4 @@ +- op: replace + path: /data/connectors.yaml + value: | + connectors: \ No newline at end of file