From 3e119d5aad7f78ec31b350bdd868aac6c0aae2f9 Mon Sep 17 00:00:00 2001 From: Ales Zelenik Date: Tue, 2 Jul 2024 18:55:59 +0200 Subject: [PATCH] fix: complete example --- .../example/configmap-signalilo-patch.yaml | 16 ++++++++++++++++ deploy/overlays/example/secret-signalilo.yaml | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 deploy/overlays/example/configmap-signalilo-patch.yaml create mode 100644 deploy/overlays/example/secret-signalilo.yaml diff --git a/deploy/overlays/example/configmap-signalilo-patch.yaml b/deploy/overlays/example/configmap-signalilo-patch.yaml new file mode 100644 index 0000000..6d030a9 --- /dev/null +++ b/deploy/overlays/example/configmap-signalilo-patch.yaml @@ -0,0 +1,16 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: signalilo +data: + SIGNALILO_ICINGA_CA: | + -----BEGIN CERTIFICATE----- + ... + -----END CERTIFICATE----- + SIGNALILO_ICINGA_DEBUG: "0" + SIGNALILO_ICINGA_HOSTNAME: host.example.com + SIGNALILO_ICINGA_URL: |- + https://master1.icinga.example.com:5665 + https://master2.icinga.example.com:5665 + SIGNALILO_ICINGA_USERNAME: api-username + SIGNALILO_UUID: 00000000-0000-0000-0000-000000000000 diff --git a/deploy/overlays/example/secret-signalilo.yaml b/deploy/overlays/example/secret-signalilo.yaml new file mode 100644 index 0000000..c311b0d --- /dev/null +++ b/deploy/overlays/example/secret-signalilo.yaml @@ -0,0 +1,7 @@ +kind: Secret +apiVersion: v1 +metadata: + name: signalilo +stringData:: + SIGNALILO_ALERTMANAGER_BEARER_TOKEN: foo + SIGNALILO_ICINGA_PASSWORD: bar \ No newline at end of file