From 23eb08d9aa0af96c1a3175e12d915b873d97049b Mon Sep 17 00:00:00 2001 From: Mathis Marcotte Date: Thu, 18 Apr 2024 13:45:53 +0000 Subject: [PATCH] feat(aaw-financial-data-reconciliation): added clusterrole and service account --- .../Chart.yaml | 4 +++- .../templates/clusterrole-binding.yaml | 12 ++++++++++++ .../templates/clusterrole.yaml | 13 +++++++++++++ .../templates/service-account.yaml | 4 ++++ 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 stable/aaw-financial-data-reconciliation-application/templates/clusterrole-binding.yaml create mode 100644 stable/aaw-financial-data-reconciliation-application/templates/clusterrole.yaml create mode 100644 stable/aaw-financial-data-reconciliation-application/templates/service-account.yaml diff --git a/stable/aaw-financial-data-reconciliation-application/Chart.yaml b/stable/aaw-financial-data-reconciliation-application/Chart.yaml index 4d83caaa..dbdb52e7 100644 --- a/stable/aaw-financial-data-reconciliation-application/Chart.yaml +++ b/stable/aaw-financial-data-reconciliation-application/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.0" description: A Helm chart for AAW Financial Data Reconciliation name: aaw-financial-data-reconciliation -version: 0.1.6 +version: 0.1.7 home: https://statcan.gc.ca icon: https://www.python.org/static/img/python-logo sources: @@ -10,4 +10,6 @@ sources: maintainers: - name: Marc-André Ménard email: marc-andre.menard@statcan.gc.ca + - name: Mathis Marcotte + email: mathis.marcotte@statcan.gc.ca engine: gotpl diff --git a/stable/aaw-financial-data-reconciliation-application/templates/clusterrole-binding.yaml b/stable/aaw-financial-data-reconciliation-application/templates/clusterrole-binding.yaml new file mode 100644 index 00000000..d6acf169 --- /dev/null +++ b/stable/aaw-financial-data-reconciliation-application/templates/clusterrole-binding.yaml @@ -0,0 +1,12 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: aaw-financial-data-reconciliation +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: aaw-financial-data-reconciliation +subjects: +- kind: ServiceAccount + name: aaw-financial-data-reconciliation + namespace: org-ces-system \ No newline at end of file diff --git a/stable/aaw-financial-data-reconciliation-application/templates/clusterrole.yaml b/stable/aaw-financial-data-reconciliation-application/templates/clusterrole.yaml new file mode 100644 index 00000000..05ca560c --- /dev/null +++ b/stable/aaw-financial-data-reconciliation-application/templates/clusterrole.yaml @@ -0,0 +1,13 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: aaw-financial-data-reconciliation +rules: +- apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch \ No newline at end of file diff --git a/stable/aaw-financial-data-reconciliation-application/templates/service-account.yaml b/stable/aaw-financial-data-reconciliation-application/templates/service-account.yaml new file mode 100644 index 00000000..6c4548a4 --- /dev/null +++ b/stable/aaw-financial-data-reconciliation-application/templates/service-account.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: aaw-financial-data-reconciliation \ No newline at end of file