mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
* add replicaCount * Add authSecret.existingSecret * set image.tag null by default * implement ingress for githubwebhook server * fix deprecated and secretName template * backward compat .authSecret.enabled * existingSecret for github webhook secret * use secretName template * set default secret names * do not use app version based image tag * create and name variable for secrets
24 lines
866 B
YAML
24 lines
866 B
YAML
{{- if .Values.authSecret.create }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "actions-runner-controller.secretName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "actions-runner-controller.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
data:
|
|
{{- if .Values.authSecret.github_app_id }}
|
|
github_app_id: {{ .Values.authSecret.github_app_id | toString | b64enc }}
|
|
{{- end }}
|
|
{{- if .Values.authSecret.github_app_installation_id }}
|
|
github_app_installation_id: {{ .Values.authSecret.github_app_installation_id | toString | b64enc }}
|
|
{{- end }}
|
|
{{- if .Values.authSecret.github_app_private_key }}
|
|
github_app_private_key: {{ .Values.authSecret.github_app_private_key | toString | b64enc }}
|
|
{{- end }}
|
|
{{- if .Values.authSecret.github_token }}
|
|
github_token: {{ .Values.authSecret.github_token | toString | b64enc }}
|
|
{{- end }}
|
|
{{- end }}
|