make fluentbit, docker and external dns optional

This commit is contained in:
Olu Shiyanbade
2023-05-23 12:00:59 +01:00
parent a566f84674
commit b46d89e078
7 changed files with 33 additions and 17 deletions

View File

@@ -3,13 +3,16 @@ kind: Namespace
metadata:
name: {{ .Values.namespaces.nexusNs }}
---
{{- if .Values.fluentbit.enabled }}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespaces.cloudwatchNs }}
{{- end }}
---
{{- if .Values.externaldns.enabled }}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespaces.externaldnsNs }}
---
{{- end }}