feat(forgejo-runner): Added a separate setting for tune dind resources
This commit is contained in:
parent
46ad35ae44
commit
bcfd5388bb
3 changed files with 40 additions and 12 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: forgejo-runner
|
name: forgejo-runner
|
||||||
description: Deploy runner for an forgejo instance (default codeberg.org)
|
description: Deploy runner for an forgejo instance (default codeberg.org)
|
||||||
type: application
|
type: application
|
||||||
version: "0.4.15"
|
version: "0.4.16"
|
||||||
# renovate: image=code.forgejo.org/forgejo/runner
|
# renovate: image=code.forgejo.org/forgejo/runner
|
||||||
appVersion: "6.2.2"
|
appVersion: "6.2.2"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -82,7 +82,11 @@ spec:
|
||||||
image: "{{ .Values.dind.image.registry }}/{{ .Values.dind.image.repository }}:{{ .Values.dind.image.tag }}"
|
image: "{{ .Values.dind.image.registry }}/{{ .Values.dind.image.repository }}:{{ .Values.dind.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.dind.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.dind.image.pullPolicy }}
|
||||||
resources:
|
resources:
|
||||||
|
{{- with .Values.dind.resources }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- else }}
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: DOCKER_TLS_CERTDIR
|
- name: DOCKER_TLS_CERTDIR
|
||||||
value: /certs
|
value: /certs
|
||||||
|
|
|
@ -5,10 +5,13 @@
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
|
# -- image registry
|
||||||
registry: code.forgejo.org
|
registry: code.forgejo.org
|
||||||
|
# -- image repository
|
||||||
repository: forgejo/runner
|
repository: forgejo/runner
|
||||||
|
# -- pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# -- image tag - Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
@ -141,10 +144,31 @@ runner:
|
||||||
workdir_parent:
|
workdir_parent:
|
||||||
dind:
|
dind:
|
||||||
image:
|
image:
|
||||||
|
# -- image registry
|
||||||
|
# @section -- Docker in Docker
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
|
# -- image repository
|
||||||
|
# @section -- Docker in Docker
|
||||||
repository: library/docker
|
repository: library/docker
|
||||||
|
# -- pull policy
|
||||||
|
# @section -- Docker in Docker
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
# -- image tag
|
||||||
|
# @section -- Docker in Docker
|
||||||
tag: 28.0.0-dind
|
tag: 28.0.0-dind
|
||||||
|
# -- We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# @section -- Docker in Docker
|
||||||
|
resources: {}
|
||||||
|
|
||||||
kubectl:
|
kubectl:
|
||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
|
@ -178,17 +202,17 @@ securityContext:
|
||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# runAsUser: 1000
|
||||||
|
|
||||||
|
# -- We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
||||||
# limits:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue