From 8846047f0432880f25fe2c725f8430e3be8a4c55 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Tue, 28 Jan 2020 13:30:30 +0100 Subject: [PATCH] Improvements --- bootstrap/bin/install-namespace.sh | 4 ++-- bootstrap/charts/prometheus-operator.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bootstrap/bin/install-namespace.sh b/bootstrap/bin/install-namespace.sh index df47e10..d3b868e 100755 --- a/bootstrap/bin/install-namespace.sh +++ b/bootstrap/bin/install-namespace.sh @@ -23,9 +23,9 @@ kind: Secret metadata: name: gitlab-registry-auth namespace: $namespace -data: - .dockerconfigjson: eyJhdXRocyI6eyJodHRwczovL3JlZ2lzdHJ5Lml0cGFydG5lci5ubyI6eyJ1c2VybmFtZSI6ImpvbmFzIiwicGFzc3dvcmQiOiJTRldwLVk0bkVfdXpNZFJxeHp6SyIsImF1dGgiOiJhbTl1WVhNNlUwWlhjQzFaTkc1RlgzVjZUV1JTY1hoNmVrcz0ifX19 type: kubernetes.io/dockerconfigjson +data: + .dockerconfigjson: ewoJImF1dGhzIjogewoJCSJyZWdpc3RyeS5pdHBhcnRuZXIubm8iOiB7CgkJCSJhdXRoIjogImNtOXZkRHAwY21sdElIUnlZVzBnY0d4cGJTQndiR0Z0IgoJCX0KCX0KfQo= EOF kubectl apply -f $tmpfile diff --git a/bootstrap/charts/prometheus-operator.yaml b/bootstrap/charts/prometheus-operator.yaml index 4cd81e1..f72ea9f 100644 --- a/bootstrap/charts/prometheus-operator.yaml +++ b/bootstrap/charts/prometheus-operator.yaml @@ -111,26 +111,26 @@ kubeEtcd: serviceMonitor: insecureSkipVerify: true endpoints: - - @apiserver@ + - @apiserverAddress@ kubeControllerManager: enabled: true serviceMonitor: insecureSkipVerify: true endpoints: - - @apiserver@ + - @apiserverAddress@ kubeScheduler: enabled: true serviceMonitor: insecureSkipVerify: true endpoints: - - @apiserver@ + - @apiserverAddress@ kubeProxy: enabled: false endpoints: - - @apiserver@ + - @apiserverAddress@ @workers@ kubeStateMetrics: