Fixing name for maas-export-api-key job

previously it was maas-export-api-key}-job.
It worked, but looked not accurate.

Change-Id: I578c70c09ebbf2bdbccbf81eae69db70250a715d
This commit is contained in:
Alexey Odinokov 2023-11-21 12:33:57 -06:00
parent ba3657c0c1
commit cd65140a7c

View File

@ -30,7 +30,7 @@ metadata:
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: {{ $envAll.Release.Name }}-{{ $envAll.Release.Namespace }}-{{ $serviceAccountName }}}-job name: {{ $envAll.Release.Name }}-{{ $envAll.Release.Namespace }}-{{ $serviceAccountName }}-job
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ $serviceAccountName }} name: {{ $serviceAccountName }}
@ -39,7 +39,7 @@ subjects:
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ $envAll.Release.Name }}-{{ $envAll.Release.Namespace }}-{{ $serviceAccountName }}}-job name: {{ $envAll.Release.Name }}-{{ $envAll.Release.Namespace }}-{{ $serviceAccountName }}-job
namespace: {{ $envAll.Release.Namespace }} namespace: {{ $envAll.Release.Namespace }}
rules: rules:
- apiGroups: - apiGroups: