Skip to content
Snippets Groups Projects
Commit b3588c9b authored by Leah Tacke genannt Unterberg's avatar Leah Tacke genannt Unterberg
Browse files

de-hardcoded the namespace in the chart

parent 5b3a187c
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ helm-push a: helm-package
# helm registry login registry-1.docker.io -u leahtgu
cd helm/ && helm push {{ a }} oci://registry-1.docker.io/leahtgu
helm *args:
helm --kube-context c4c -n mdata {{args}}
helm-install:
helm --kube-context c4c -n mdata install maed-exporter-app maed-exporter-app
......
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
......@@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: maed-exporter-env
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
{{- include "maed-exporter-app.labels" . | nindent 4 }}
......
......@@ -2,9 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: maed-exporter-backend
{{- if .Values.namespace }}
namespace: {{.Values.namespace | quote }}
{{- end }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
app.kubernetes.io/component: backend
......
......@@ -2,9 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: maed-exporter-backend-svc
{{- if .Values.namespace }}
namespace: {{.Values.namespace | quote }}
{{- end }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
{{- include "maed-exporter-app.labels" . | nindent 4 }}
......
......@@ -2,9 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: maed-exporter-frontend
{{- if .Values.namespace }}
namespace: {{.Values.namespace | quote }}
{{- end }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
app.kubernetes.io/component: frontend
......
......@@ -2,9 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: maed-exporter-frontend-svc
{{- if .Values.namespace }}
namespace: {{.Values.namespace | quote }}
{{- end }}
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
{{- include "maed-exporter-app.labels" . | nindent 4 }}
......
......@@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-cfg
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: maed-exporter-app
{{- include "maed-exporter-app.labels" . | nindent 4 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment