mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-01 16:05:55 +02:00
new gitops template
This commit is contained in:
50
cluster/apps/development/drone/helm-release.yaml
Normal file
50
cluster/apps/development/drone/helm-release.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: drone
|
||||
namespace: development
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
# renovate: registryUrl=https://charts.drone.io
|
||||
chart: drone
|
||||
version: 0.1.7
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: drone-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
updateStrategy:
|
||||
type: Recreate
|
||||
image:
|
||||
repository: drone/drone
|
||||
tag: 1.10.1
|
||||
persistentVolume:
|
||||
enabled: true
|
||||
existingClaim: drone-config
|
||||
env:
|
||||
DRONE_DATABASE_SECRET: ${SECRET_DRONE_DATABASE_SECRET}
|
||||
DRONE_GITEA_CLIENT_ID: ${SECRET_DRONE_GITEA_CLIENT_ID}
|
||||
DRONE_GITEA_CLIENT_SECRET: ${SECRET_DRONE_GITEA_CLIENT_SECRET}
|
||||
DRONE_RPC_SECRET: ${SECRET_DRONE_RPC_SECRET}
|
||||
DRONE_SERVER_PROTO: https
|
||||
DRONE_GIT_ALWAYS_AUTH: true
|
||||
DRONE_LOGS_TEXT: true
|
||||
DRONE_LOGS_PRETTY: true
|
||||
DRONE_LOGS_COLOR: true
|
||||
DRONE_SERVER_HOST: drone.${SECRET_CLUSTER_DOMAIN}
|
||||
DRONE_GITEA_SERVER: https://gitea.${SECRET_CLUSTER_DOMAIN}
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
prometheus.io/probe: "true"
|
||||
hosts:
|
||||
- host: drone.${SECRET_CLUSTER_DOMAIN}
|
||||
paths: ["/"]
|
||||
tls:
|
||||
- hosts:
|
||||
- drone.${SECRET_CLUSTER_DOMAIN}
|
Reference in New Issue
Block a user