new gitops template

This commit is contained in:
auricom
2021-04-13 10:34:08 +02:00
parent 67c4d6a855
commit a95f32b44d
335 changed files with 3131 additions and 3650 deletions

View 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}