fix(forgejo-runner): fix secrets creation, adding envs from values
This commit is contained in:
parent
19e361b9f5
commit
54755bc90c
6 changed files with 20 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: forgejo-runner
|
||||
description: Deploy runner for an forgejo instance (default codeberg.org)
|
||||
type: application
|
||||
version: 0.2.11
|
||||
version: 0.2.12
|
||||
# renovate: image=code.forgejo.org/forgejo/runner
|
||||
appVersion: "3.5.1"
|
||||
maintainers:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
= forgejo-runner
|
||||
|
||||
image::https://img.shields.io/badge/Version-0.2.11-informational?style=flat-square[Version: 0.2.11]
|
||||
image::https://img.shields.io/badge/Version-0.2.12-informational?style=flat-square[Version: 0.2.12]
|
||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||
image::https://img.shields.io/badge/AppVersion-3.5.1-informational?style=flat-square[AppVersion: 3.5.1]
|
||||
== Maintainers
|
||||
|
@ -248,6 +248,11 @@ helm uninstall forgejo-runner-release
|
|||
| `"27.3.1-dind"`
|
||||
|
|
||||
|
||||
| extraEnvVars
|
||||
| list
|
||||
| `[]`
|
||||
| Additional environment variables to be set on runner container Example: extraEnvVars: - name: FOO value: "bar"
|
||||
|
||||
| fullnameOverride
|
||||
| string
|
||||
| `""`
|
||||
|
|
|
@ -66,6 +66,9 @@ spec:
|
|||
value: /certs/client
|
||||
- name: DOCKER_TLS_VERIFY
|
||||
value: "1"
|
||||
{{- with .Values.extraEnvVars }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: runner-configfile
|
||||
mountPath: /etc/runner
|
||||
|
|
|
@ -60,6 +60,7 @@ metadata:
|
|||
name: {{ $secretName }}
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
||||
type: Opaque
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
|
@ -7,5 +7,6 @@ metadata:
|
|||
{{- include "forgejo-runner.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
config-hash: {{ toYaml .Values.runner.config.file | sha256sum }}
|
||||
"helm.sh/hook": "pre-install,pre-upgrade"
|
||||
data:
|
||||
config.yaml: {{ toYaml .Values.runner.config.file | b64enc }}
|
||||
|
|
|
@ -212,3 +212,11 @@ nodeSelector: {}
|
|||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
# -- Additional environment variables to be set on runner container
|
||||
# Example:
|
||||
# extraEnvVars:
|
||||
# - name: FOO
|
||||
# value: "bar"
|
||||
#
|
||||
extraEnvVars: []
|
||||
|
|
Loading…
Add table
Reference in a new issue