Create namespace if thanos is enabled

This commit is contained in:
2023-11-07 08:21:27 +01:00
parent 1f2da6962a
commit b2d6c39bee
2 changed files with 8 additions and 3 deletions
@@ -1,5 +1,10 @@
{{- if .Values.thanos.enabled }}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.thanos.namespace | default "observability" }}
---
apiVersion: v1
kind: Secret
metadata:
namespace: {{ .Values.thanos.namespace | default "observability" }}