keep services in futureporn ns
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-20 15:34:34 -08:00
parent 89da424887
commit 71f4c7fb89
2 changed files with 6 additions and 6 deletions

View File

@ -2,14 +2,14 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: monitoring name: futureporn
--- ---
apiVersion: source.toolkit.fluxcd.io/v1 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: grafana name: grafana
namespace: monitoring namespace: futureporn
spec: spec:
interval: 24h interval: 24h
url: https://grafana.github.io/helm-charts url: https://grafana.github.io/helm-charts
@ -19,7 +19,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: grafana name: grafana
namespace: monitoring namespace: futureporn
spec: spec:
interval: 30m interval: 30m
chart: chart:
@ -29,7 +29,7 @@ spec:
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: grafana name: grafana
namespace: monitoring namespace: futureporn
interval: 12h interval: 12h
values: values:
admin: admin:

View File

@ -23,8 +23,8 @@ data:
aws_secret_access_key: $(echo -n $VELERO_S3_ACCESS_KEY | base64) aws_secret_access_key: $(echo -n $VELERO_S3_ACCESS_KEY | base64)
EOF EOF
kubectl --namespace monitoring delete secret grafana --ignore-not-found kubectl --namespace futureporn delete secret grafana --ignore-not-found
kubectl --namespace monitoring create secret generic grafana \ kubectl --namespace futureporn create secret generic grafana \
--from-literal=admin-user=${GRAFANA_USERNAME} \ --from-literal=admin-user=${GRAFANA_USERNAME} \
--from-literal=admin-password=${GRAFANA_PASSWORD} --from-literal=admin-password=${GRAFANA_PASSWORD}