From 71f4c7fb89639cb195162774d1b8ea1edfb5a9a2 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Thu, 20 Jun 2024 15:34:34 -0800 Subject: [PATCH] keep services in futureporn ns --- infrastructure/controllers/grafana.yaml | 8 ++++---- scripts/k8s-secrets.sh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infrastructure/controllers/grafana.yaml b/infrastructure/controllers/grafana.yaml index 7fdb711..dad409f 100644 --- a/infrastructure/controllers/grafana.yaml +++ b/infrastructure/controllers/grafana.yaml @@ -2,14 +2,14 @@ apiVersion: v1 kind: Namespace metadata: - name: monitoring + name: futureporn --- apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: grafana - namespace: monitoring + namespace: futureporn spec: interval: 24h url: https://grafana.github.io/helm-charts @@ -19,7 +19,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: grafana - namespace: monitoring + namespace: futureporn spec: interval: 30m chart: @@ -29,7 +29,7 @@ spec: sourceRef: kind: HelmRepository name: grafana - namespace: monitoring + namespace: futureporn interval: 12h values: admin: diff --git a/scripts/k8s-secrets.sh b/scripts/k8s-secrets.sh index 2eb7f8c..c408deb 100755 --- a/scripts/k8s-secrets.sh +++ b/scripts/k8s-secrets.sh @@ -23,8 +23,8 @@ data: aws_secret_access_key: $(echo -n $VELERO_S3_ACCESS_KEY | base64) EOF -kubectl --namespace monitoring delete secret grafana --ignore-not-found -kubectl --namespace monitoring create secret generic grafana \ +kubectl --namespace futureporn delete secret grafana --ignore-not-found +kubectl --namespace futureporn create secret generic grafana \ --from-literal=admin-user=${GRAFANA_USERNAME} \ --from-literal=admin-password=${GRAFANA_PASSWORD}