Add separators to named templates

This commit is contained in:
Raffael H
2023-08-10 15:29:04 +02:00
parent 01fe8162c3
commit 7a01cc94b6
24 changed files with 24 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{{- define "alertmanager.alertmanager" }}
---
apiVersion: monitoring.coreos.com/v1
kind: Alertmanager
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "blackboxexporter.cm" }}
---
apiVersion: v1
kind: ConfigMap
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "blackboxexporter.deploy" }}
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.dashboardprovider" }}
---
kind: ConfigMap
apiVersion: v1
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.datasource" }}
---
apiVersion: v1
kind: Secret
type: Opaque

View File

@@ -1,4 +1,5 @@
{{- define "grafana.deploy" }}
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.ingress" }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.rolebinding" }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.sa" }}
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "grafana.svc" }}
---
apiVersion: v1
kind: Service
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "prometheus.ingress" }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "prometheus.role" }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "prometheus.rolebinding" }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "prometheus.sa" }}
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "prometheus.prometheus" }}
---
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "pushgateway.deploy" }}
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "pushgateway.servicemonitor" }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "pushgateway.svc" }}
---
apiVersion: v1
kind: Service
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "query.deploy" }}
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "query.ingress" }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "query.svc" }}
---
apiVersion: v1
kind: Service
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "ruler.ingress" }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:

View File

@@ -1,4 +1,5 @@
{{- define "ruler.ruler" }}
---
apiVersion: monitoring.coreos.com/v1
kind: ThanosRuler
metadata: