diff --git a/charts/actions-runner-controller/templates/manager_secrets.yaml b/charts/actions-runner-controller/templates/manager_secrets.yaml new file mode 100644 index 00000000..de98f5f7 --- /dev/null +++ b/charts/actions-runner-controller/templates/manager_secrets.yaml @@ -0,0 +1,14 @@ +{{- if or .Values.authSecret.enabled }} +apiVersion: v1 +kind: Secret +metadata: + name: controller-manager + namespace: {{ .Release.Namespace }} + labels: + {{- include "actions-runner-controller.labels" . | nindent 4 }} +type: Opaque +data: +{{- range $k, $v := .Values.authSecret }} + {{ $k }}: {{ $v | toString | b64enc }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 3203d2b5..c507efbd 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -8,6 +8,17 @@ replicaCount: 1 syncPeriod: 10m +# Only 1 authentication method can be deployed at a time +# Uncomment the configuration you are applying and fill in the details +authSecret: + enabled: false + ### GitHub Apps Configuration + #github_app_id: "" + #github_app_installation_id: "" + #github_app_private_key: | + ### GitHub PAT Configuration + #github_token: "" + image: repository: summerwind/actions-runner-controller # Overrides the manager image tag whose default is the chart appVersion if the tag key is commented out