mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-03-19 08:17:41 +08:00
minor fixes
This commit is contained in:
@@ -146,3 +146,4 @@ tests:
|
||||
- equal:
|
||||
path: spec.ephemeralRunnerConfigSecretMetadata.annotations.runner-secret
|
||||
value: "true"
|
||||
|
||||
|
||||
@@ -359,4 +359,4 @@ tests:
|
||||
value: "true"
|
||||
- equal:
|
||||
path: spec.ephemeralRunnerConfigSecretMetadata.labels.runner-secret
|
||||
value: "true"
|
||||
value: "true"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- $resourceMeta := default (dict) .Values.resourceMeta }}
|
||||
{{- $hasCustomResourceMeta := (and .Values.resourceMeta .Values.resourceMeta.autoscalingRunnerSet) }}
|
||||
apiVersion: actions.github.com/v1alpha1
|
||||
kind: AutoscalingRunnerSet
|
||||
@@ -154,42 +155,42 @@ spec:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.autoscalingListener }}
|
||||
{{- with (index $resourceMeta "autoscalingListener") }}
|
||||
autoscalingListener:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.listenerServiceAccount }}
|
||||
{{- with (index $resourceMeta "listenerServiceAccount") }}
|
||||
listenerServiceAccountMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.listenerRole }}
|
||||
{{- with (index $resourceMeta "listenerRole") }}
|
||||
listenerRoleMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.listenerRoleBinding }}
|
||||
{{- with (index $resourceMeta "listenerRoleBinding") }}
|
||||
listenerRoleBindingMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.listenerConfigSecret }}
|
||||
{{- with (index $resourceMeta "listenerConfigSecret") }}
|
||||
listenerConfigSecretMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.ephemeralRunnerSet }}
|
||||
{{- with (index $resourceMeta "ephemeralRunnerSet") }}
|
||||
ephemeralRunnerSetMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.ephemeralRunner }}
|
||||
{{- with (index $resourceMeta "ephemeralRunner") }}
|
||||
ephemeralRunnerMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.resourceMeta.ephemeralRunnerConfigSecret }}
|
||||
{{- with (index $resourceMeta "ephemeralRunnerConfigSecret") }}
|
||||
ephemeralRunnerConfigSecretMetadata:
|
||||
{{- include "gha-runner-scale-set.resourceMetaSpec" . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user