keep services in futureporn ns
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
89da424887
commit
71f4c7fb89
|
@ -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:
|
||||||
|
|
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue