fix(k8s/gitea): patch act_runner storageClassName around chart 0.1.0 bug
This commit is contained in:
@@ -23,13 +23,23 @@ spec:
|
|||||||
retries: 3
|
retries: 3
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
|
# chart 0.1.0 has a broken `global.storageClass` helper (extra newline breaks YAML),
|
||||||
|
# so we set storageClassName via a kustomize patch instead.
|
||||||
|
postRenderers:
|
||||||
|
- kustomize:
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
kind: StatefulSet
|
||||||
|
name: gitea-actions-act-runner
|
||||||
|
patch: |
|
||||||
|
- op: add
|
||||||
|
path: /spec/volumeClaimTemplates/0/spec/storageClassName
|
||||||
|
value: nfs-synology-ssd
|
||||||
values:
|
values:
|
||||||
enabled: true
|
enabled: true
|
||||||
giteaRootURL: http://gitea-http.gitea.svc.cluster.local:3000
|
giteaRootURL: http://gitea-http.gitea.svc.cluster.local:3000
|
||||||
existingSecret: gitea-runner-token
|
existingSecret: gitea-runner-token
|
||||||
existingSecretKey: token
|
existingSecretKey: token
|
||||||
global:
|
|
||||||
storageClass: nfs-synology-ssd
|
|
||||||
statefulset:
|
statefulset:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
timezone: Europe/Kyiv
|
timezone: Europe/Kyiv
|
||||||
|
|||||||
Reference in New Issue
Block a user