mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add namespace metadata (#13956)
this is needed for when helm is used purely as a templating tool, since helm template does not add the namespace helm/helm#3553 Signed-off-by: eduardo aleixo <eduardoaleixomartins@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
551fbb5d5a
commit
2ea77442d1
@@ -1,7 +1,7 @@
|
||||
name: rabbitmq-ha
|
||||
apiVersion: v1
|
||||
appVersion: 3.7.12
|
||||
version: 1.27.0
|
||||
version: 1.27.1
|
||||
description: Highly available RabbitMQ cluster, the open source message broker
|
||||
software that implements the Advanced Message Queuing Protocol (AMQP).
|
||||
keywords:
|
||||
|
||||
@@ -3,6 +3,7 @@ apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -3,6 +3,7 @@ apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -3,6 +3,7 @@ apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -11,6 +11,7 @@ metadata:
|
||||
{{ toYaml .Values.extraLabels | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["endpoints"]
|
||||
|
||||
@@ -11,9 +11,11 @@ metadata:
|
||||
{{ toYaml .Values.extraLabels | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "rabbitmq-ha.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
|
||||
@@ -3,6 +3,7 @@ apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -7,6 +7,7 @@ metadata:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ printf "%s-discovery" (include "rabbitmq-ha.fullname" .) | trunc 63 | trimSuffix "-" }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -12,6 +12,7 @@ metadata:
|
||||
prometheus.io/port: {{ .Values.prometheus.exporter.port | quote }}
|
||||
{{- end }}
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
@@ -11,4 +11,5 @@ metadata:
|
||||
{{ toYaml .Values.extraLabels | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ template "rabbitmq-ha.serviceAccountName" . }}
|
||||
{{- end }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
@@ -2,6 +2,7 @@ apiVersion: apps/v1beta1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: {{ template "rabbitmq-ha.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
app: {{ template "rabbitmq-ha.name" . }}
|
||||
chart: {{ template "rabbitmq-ha.chart" . }}
|
||||
|
||||
Reference in New Issue
Block a user