From b968cd0e1e7f8933571c992baccb72b69ca13f61 Mon Sep 17 00:00:00 2001 From: Wolfgang Kulhanek Date: Mon, 11 Dec 2023 15:13:33 +0100 Subject: [PATCH] Remove more namespace settings --- charts/showroom-single-pod/Chart.yaml | 2 +- charts/showroom-single-pod/templates/terminal/rbac.yaml | 4 ---- charts/showroom-single-pod/templates/terminal/secret.yaml | 1 - .../templates/terminal/serviceaccount.yaml | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/charts/showroom-single-pod/Chart.yaml b/charts/showroom-single-pod/Chart.yaml index 9082c34..1ef376d 100644 --- a/charts/showroom-single-pod/Chart.yaml +++ b/charts/showroom-single-pod/Chart.yaml @@ -7,7 +7,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.0.6 +version: 0.0.7 # 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 diff --git a/charts/showroom-single-pod/templates/terminal/rbac.yaml b/charts/showroom-single-pod/templates/terminal/rbac.yaml index fa2738e..45d7e6f 100644 --- a/charts/showroom-single-pod/templates/terminal/rbac.yaml +++ b/charts/showroom-single-pod/templates/terminal/rbac.yaml @@ -3,9 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: edit-{{ .Values.terminal.serviceAccount }} - namespace: {{ .Values.namespace.name }} - labels: - app.kubernetes.io/instance: {{ .Values.namespace.name }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -13,4 +10,3 @@ roleRef: subjects: - kind: ServiceAccount name: {{ .Values.terminal.serviceAccount }} - namespace: {{ .Values.namespace.name }} diff --git a/charts/showroom-single-pod/templates/terminal/secret.yaml b/charts/showroom-single-pod/templates/terminal/secret.yaml index 18cc739..2bbc36d 100644 --- a/charts/showroom-single-pod/templates/terminal/secret.yaml +++ b/charts/showroom-single-pod/templates/terminal/secret.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Secret metadata: name: terminal-secret - namespace: {{ .Values.namespace.name }} type: kubernetes.io/ssh-auth data: ssh-privatekey: | diff --git a/charts/showroom-single-pod/templates/terminal/serviceaccount.yaml b/charts/showroom-single-pod/templates/terminal/serviceaccount.yaml index daa4f15..f89383d 100644 --- a/charts/showroom-single-pod/templates/terminal/serviceaccount.yaml +++ b/charts/showroom-single-pod/templates/terminal/serviceaccount.yaml @@ -3,4 +3,3 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ .Values.terminal.serviceAccount }} - namespace: {{ .Values.namespace.name }}