From 99d90d4bd858a4f3587a6b034a668720eaf80bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Smolarek?= <34063647+Razz4780@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:09:23 +0100 Subject: [PATCH] Fixed hardcoded namespace (#140) --- mirrord-operator/templates/role-binding.yaml | 4 ++-- mirrord-operator/templates/role.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mirrord-operator/templates/role-binding.yaml b/mirrord-operator/templates/role-binding.yaml index 443037a..4f0d2f4 100644 --- a/mirrord-operator/templates/role-binding.yaml +++ b/mirrord-operator/templates/role-binding.yaml @@ -16,7 +16,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: mirrord-operator - namespace: mirrord + namespace: {{ .Values.namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -25,4 +25,4 @@ subjects: - apiGroup: '' kind: ServiceAccount name: mirrord-operator - namespace: mirrord \ No newline at end of file + namespace: {{ .Values.namespace }} \ No newline at end of file diff --git a/mirrord-operator/templates/role.yaml b/mirrord-operator/templates/role.yaml index 1565d59..e26450a 100644 --- a/mirrord-operator/templates/role.yaml +++ b/mirrord-operator/templates/role.yaml @@ -17,7 +17,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: mirrord-operator - namespace: mirrord + namespace: {{ .Values.namespace }} rules: - apiGroups: - ""