Skip to content

Commit 77e64b6

Browse files
fix: reference for serviceAccount
1 parent f130059 commit 77e64b6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

charts/ecr-cleanup/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type: application
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 0.2.2
23+
version: 0.2.3
2424

2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to

charts/ecr-cleanup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Deploys a job that cleans up an ECR repo based on the following rules.
66
3. Has the container been tagged with the word `keep`
77
4. Is the container the only tag in the ECR repository
88

9-
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
9+
![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
1010

1111
## Values
1212

charts/ecr-cleanup/templates/rbac.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind: Role
33
metadata:
44
namespace: {{ .Release.Namespace }}
5-
name: {{ .Values.cron.serviceAccount.name }}
5+
name: {{ .Values.serviceAccount.name }}
66
rules:
77
- apiGroups: ["v1"]
88
resources: ["pods"]
@@ -17,13 +17,13 @@ rules:
1717
apiVersion: rbac.authorization.k8s.io/v1
1818
kind: RoleBinding
1919
metadata:
20-
name: {{ .Values.cron.serviceAccount.name }}
20+
name: {{ .Values.serviceAccount.name }}
2121
namespace: {{.Release.Namespace}}
2222
roleRef:
2323
apiGroup: rbac.authorization.k8s.io
2424
kind: Role
25-
name: {{ .Values.cron.serviceAccount.name }}
25+
name: {{ .Values.serviceAccount.name }}
2626
subjects:
2727
- namespace: {{.Release.Namespace}}
2828
kind: ServiceAccount
29-
name: {{ .Values.cron.serviceAccount.name }}
29+
name: {{ .Values.serviceAccount.name }}

0 commit comments

Comments
 (0)