Test kustomization

master
Robin Marechal 3 years ago
parent e0ef37eac2
commit b814cf0830
  1. 4
      base/kustomization.yml
  2. 12
      overlays/recette/kustomization.yml
  3. 4
      overlays/recette/prometheus-msteams-config-patch.yml

@ -4,11 +4,11 @@ kind: Kustomization
nameSuffix: -kustom nameSuffix: -kustom
# https://github.com/prometheus-msteams/prometheus-msteams/tree/master/chart/prometheus-msteams # https://github.com/prometheus-msteams/prometheus-msteams/tree/master/chart/prometheus-msteams
helmCharts: helmChartInflationGenerator:
- chartName: prometheus-msteams - chartName: prometheus-msteams
chartRepoUrl: https://prometheus-msteams.github.io/prometheus-msteams/ chartRepoUrl: https://prometheus-msteams.github.io/prometheus-msteams/
values: values.yaml values: values.yaml
releaseName: test-prometheus-msteams releaseName: prometheus-msteams
# releaseNamespace: solar-system # releaseNamespace: solar-system
# resources: # resources:

@ -4,9 +4,9 @@ kind: Kustomization
bases: bases:
- ../../base - ../../base
patchesJson6902: # patchesJson6902:
- path: prometheus-msteams-config-patch.yml # - path: prometheus-msteams-config-patch.yml
target: # target:
kind: ConfigMap # kind: ConfigMap
name: prometheus-msteams-config # name: prometheus-msteams-config
version: v1 # version: v1

@ -0,0 +1,4 @@
- op: replace
path: /data/connectors.yaml
value: |
connectors:
Loading…
Cancel
Save