Skip to content

Commit

Permalink
add namespace metadata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
eh-am committed May 21, 2019
1 parent 6a52d19 commit 545f27a
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/minio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.
name: minio
version: 2.4.14
version: 2.4.15
appVersion: RELEASE.2019-04-09T01-22-30Z
keywords:
- storage
Expand Down
Binary file added stable/minio/minio-2.4.15.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions stable/minio/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: NetworkPolicy
apiVersion: {{ template "minio.networkPolicy.apiVersion" . }}
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/post-install-create-bucket-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ template "minio.fullname" . }}-make-bucket-job
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "minio.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: {{ template "minio.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions stable/minio/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "minio.fullname" . }}-svc
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minio.name" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down

0 comments on commit 545f27a

Please sign in to comment.