From 2e665d2dd931a87a734cc6191716f2025332854f Mon Sep 17 00:00:00 2001 From: Jamie Dick Date: Tue, 23 Aug 2022 13:24:34 -0400 Subject: [PATCH] Fix rolebinging reference to created service account (#26) * fix rolebinding sa ref * version bump --- charts/prefect-agent/Chart.yaml | 2 +- charts/prefect-agent/README.md | 2 +- charts/prefect-agent/templates/agent/rbac.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/prefect-agent/Chart.yaml b/charts/prefect-agent/Chart.yaml index 25546da2..0d025354 100644 --- a/charts/prefect-agent/Chart.yaml +++ b/charts/prefect-agent/Chart.yaml @@ -3,7 +3,7 @@ name: prefect-agent description: Prefect orion application bundle type: application home: https://github.com/PrefectHQ -version: 0.3.1 +version: 0.3.2 appVersion: "latest" maintainers: - name: gabcoyne diff --git a/charts/prefect-agent/README.md b/charts/prefect-agent/README.md index f3da70ea..11d5ce8a 100644 --- a/charts/prefect-agent/README.md +++ b/charts/prefect-agent/README.md @@ -1,6 +1,6 @@ # prefect-agent -![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) Prefect orion application bundle diff --git a/charts/prefect-agent/templates/agent/rbac.yaml b/charts/prefect-agent/templates/agent/rbac.yaml index 59af5dca..3afa60f9 100644 --- a/charts/prefect-agent/templates/agent/rbac.yaml +++ b/charts/prefect-agent/templates/agent/rbac.yaml @@ -5,7 +5,7 @@ metadata: namespace: {{ .Release.Namespace | quote }} subjects: - kind: ServiceAccount - name: default + name: {{ template "prefect-agent.serviceAccountName" . }} namespace: {{ .Release.Namespace | quote }} roleRef: kind: Role