fixup
This commit is contained in:
parent
9bd284fb7b
commit
319962a30a
|
|
@ -6,6 +6,9 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "gha-runner-scale-set.kubeModeRoleName" . }}
|
name: {{ include "gha-runner-scale-set.kubeModeRoleName" . }}
|
||||||
|
namespace: {{ include "gha-runner-scale-set.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- with .Values.labels }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $hasCustomResourceMeta }}
|
{{- if $hasCustomResourceMeta }}
|
||||||
|
|
@ -23,6 +26,7 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
finalizers:
|
||||||
- actions.github.com/cleanup-protection
|
- actions.github.com/cleanup-protection
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "gha-runner-scale-set.kubeModeServiceAccountName" . }}
|
name: {{ include "gha-runner-scale-set.kubeModeServiceAccountName" . }}
|
||||||
|
namespace: {{ include "gha-runner-scale-set.namespace" . }}
|
||||||
{{- if or .Values.annotations $hasCustomResourceMeta }}
|
{{- if or .Values.annotations $hasCustomResourceMeta }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- with .Values.annotations }}
|
{{- with .Values.annotations }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue