feat: add gitea actions
This commit is contained in:
@@ -11,22 +11,14 @@ metadata:
|
|||||||
namespace: gitea
|
namespace: gitea
|
||||||
spec:
|
spec:
|
||||||
itemPath: "vaults/cluster/items/gitea-admin-password"
|
itemPath: "vaults/cluster/items/gitea-admin-password"
|
||||||
# ---
|
---
|
||||||
# apiVersion: onepassword.com/v1
|
apiVersion: onepassword.com/v1
|
||||||
# kind: OnePasswordItem
|
kind: OnePasswordItem
|
||||||
# metadata:
|
metadata:
|
||||||
# name: gitea-valkey
|
name: gitea-actions-token
|
||||||
# namespace: gitea
|
namespace: gitea
|
||||||
# spec:
|
spec:
|
||||||
# itemPath: "vaults/cluster/items/gitea-valkey"
|
itemPath: "vaults/cluster/items/gitea-actions-token"
|
||||||
# ---
|
|
||||||
# apiVersion: onepassword.com/v1
|
|
||||||
# kind: OnePasswordItem
|
|
||||||
# metadata:
|
|
||||||
# name: gitea-actions-token
|
|
||||||
# namespace: gitea
|
|
||||||
# spec:
|
|
||||||
# itemPath: "vaults/cluster/items/gitea-actions-token"
|
|
||||||
---
|
---
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
@@ -82,28 +74,6 @@ spec:
|
|||||||
- secretName: wildcard-cert-i.yadunut.dev-prod
|
- secretName: wildcard-cert-i.yadunut.dev-prod
|
||||||
hosts:
|
hosts:
|
||||||
- git.yadunut.dev
|
- git.yadunut.dev
|
||||||
# actions:
|
|
||||||
# enabled:
|
|
||||||
# provisioning:
|
|
||||||
# enabled: true
|
|
||||||
# statefulset:
|
|
||||||
# actRunner:
|
|
||||||
# config: |
|
|
||||||
# log:
|
|
||||||
# level: debug
|
|
||||||
# cache:
|
|
||||||
# enabled: true
|
|
||||||
# runner:
|
|
||||||
# labels:
|
|
||||||
# - "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
|
||||||
# - "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
|
||||||
# - "ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04"
|
|
||||||
# container:
|
|
||||||
# options: |
|
|
||||||
# --add-host=docker:host-gateway -v /certs:/certs -e "DOCKER_HOST=tcp://docker:2376/" -e "DOCKER_TLS_CERTDIR=/certs" -e "DOCKER_TLS_VERIFY=1" -e "DOCKER_CERT_PATH=/certs/server"
|
|
||||||
# valid_volumes:
|
|
||||||
# - /certs
|
|
||||||
# - '**'
|
|
||||||
valkey-cluster:
|
valkey-cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
valkey:
|
valkey:
|
||||||
@@ -168,55 +138,54 @@ spec:
|
|||||||
services:
|
services:
|
||||||
- name: gitea-ssh
|
- name: gitea-ssh
|
||||||
port: 2222
|
port: 2222
|
||||||
# ---
|
---
|
||||||
# apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
# kind: HelmRelease
|
kind: HelmRelease
|
||||||
# metadata:
|
metadata:
|
||||||
# name: gitea-actions
|
name: gitea-actions
|
||||||
# namespace: gitea
|
namespace: gitea
|
||||||
# spec:
|
spec:
|
||||||
# chart:
|
chart:
|
||||||
# spec:
|
spec:
|
||||||
# chart: actions
|
chart: actions
|
||||||
# sourceRef:
|
sourceRef:
|
||||||
# kind: HelmRepository
|
kind: HelmRepository
|
||||||
# name: gitea-repo
|
name: gitea-repo
|
||||||
# namespace: flux-system
|
namespace: flux-system
|
||||||
# version: v0.0.x
|
version: v0.0.x
|
||||||
# interval: 1m
|
interval: 1m
|
||||||
# values:
|
values:
|
||||||
# enabled: true
|
enabled: true
|
||||||
# giteaRootURL: https://git.yadunut.dev
|
giteaRootURL: https://git.yadunut.dev
|
||||||
#
|
|
||||||
# # Provide the runner registration token from 1Password-backed Secret
|
|
||||||
# existingSecret: gitea-actions-token
|
|
||||||
# existingSecretKey: token
|
|
||||||
#
|
|
||||||
# statefulset:
|
|
||||||
# replicas: 1
|
|
||||||
# # Your custom runner config replicated here (labels, dind, volumes)
|
|
||||||
# actRunner:
|
|
||||||
# config: |
|
|
||||||
# log:
|
|
||||||
# level: debug
|
|
||||||
# cache:
|
|
||||||
# enabled: true
|
|
||||||
# runner:
|
|
||||||
# labels:
|
|
||||||
# - "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
|
||||||
# - "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
|
||||||
# - "ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04"
|
|
||||||
# container:
|
|
||||||
# options: |
|
|
||||||
# --add-host=docker:host-gateway -v /certs:/certs -e "DOCKER_HOST=tcp://docker:2376/" -e "DOCKER_TLS_CERTDIR=/certs" -e "DOCKER_TLS_VERIFY=1" -e "DOCKER_CERT_PATH=/certs/server"
|
|
||||||
# valid_volumes:
|
|
||||||
# - /certs
|
|
||||||
# - '**'
|
|
||||||
# dind:
|
|
||||||
# extraVolumeMounts:
|
|
||||||
# - name: certs
|
|
||||||
# mountPath: /certs
|
|
||||||
# extraVolumes:
|
|
||||||
# - name: certs
|
|
||||||
# emptyDir: {}
|
|
||||||
|
|
||||||
|
# Provide the runner registration token from 1Password-backed Secret
|
||||||
|
existingSecret: gitea-actions-token
|
||||||
|
existingSecretKey: token
|
||||||
|
|
||||||
|
statefulset:
|
||||||
|
replicas: 1
|
||||||
|
# Your custom runner config replicated here (labels, dind, volumes)
|
||||||
|
actRunner:
|
||||||
|
config: |
|
||||||
|
log:
|
||||||
|
level: debug
|
||||||
|
cache:
|
||||||
|
enabled: true
|
||||||
|
runner:
|
||||||
|
labels:
|
||||||
|
- "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
||||||
|
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||||||
|
- "ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04"
|
||||||
|
container:
|
||||||
|
options: |
|
||||||
|
--add-host=docker:host-gateway -v /certs:/certs -e "DOCKER_HOST=tcp://docker:2376/" -e "DOCKER_TLS_CERTDIR=/certs" -e "DOCKER_TLS_VERIFY=1" -e "DOCKER_CERT_PATH=/certs/server"
|
||||||
|
valid_volumes:
|
||||||
|
- /certs
|
||||||
|
- '**'
|
||||||
|
dind:
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: certs
|
||||||
|
mountPath: /certs
|
||||||
|
extraVolumes:
|
||||||
|
- name: certs
|
||||||
|
emptyDir: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user