mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: remove drone
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: drone-kubernetes-secrets
|
||||
namespace: development
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: drone-kubernetes-secrets
|
||||
version: 0.1.2
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: drone-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
image:
|
||||
pullPolicy: Always
|
||||
rbac:
|
||||
enabled: false
|
||||
env:
|
||||
KUBERNETES_NAMESPACE: development
|
||||
SECRET_KEY: ${SECRET_DRONE_PLUGIN_TOKEN}
|
@@ -1,28 +0,0 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: drone-runner-kube
|
||||
namespace: development
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: drone-runner-kube
|
||||
version: 0.1.9
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: drone-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
image:
|
||||
repository: drone/drone-runner-kube
|
||||
tag: 1.0.0-rc.3
|
||||
env:
|
||||
DRONE_RPC_SECRET: ${SECRET_DRONE_RPC_SECRET}
|
||||
DRONE_RPC_PROTO: http
|
||||
DRONE_SECRET_PLUGIN_TOKEN: ${SECRET_DRONE_PLUGIN_TOKEN}
|
||||
DRONE_NAMESPACE_DEFAULT: development
|
||||
DRONE_RPC_HOST: drone
|
||||
DRONE_SECRET_PLUGIN_ENDPOINT: http://drone-kubernetes-secrets:3000
|
@@ -1,6 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- drone-runner-kube-secrets-helm-release.yaml
|
||||
- helm-release.yaml
|
||||
- rbac.yaml
|
@@ -1,51 +0,0 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: drone-kubernetes-secrets
|
||||
namespace: development
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["secrets"]
|
||||
verbs: ["get", "watch", "list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: drone-kubernetes-secrets
|
||||
namespace: development
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: drone-kubernetes-secrets
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: drone-kubernetes-secrets
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: drone-edit
|
||||
namespace: media
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: development
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: edit
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: drone-edit
|
||||
namespace: data
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: development
|
||||
roleRef:
|
||||
kind: ClusterRole
|
||||
name: edit
|
||||
apiGroup: rbac.authorization.k8s.io
|
@@ -1,53 +0,0 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: drone
|
||||
namespace: development
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: drone
|
||||
version: 0.3.1
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: drone-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
image:
|
||||
repository: drone/drone
|
||||
tag: 2.12.1
|
||||
|
||||
env:
|
||||
DRONE_DATABASE_DRIVER: postgres
|
||||
DRONE_DATABASE_DATASOURCE: ${SECRET_DRONE_DATABASE_DATASOURCE}
|
||||
DRONE_DATABASE_SECRET: ${SECRET_DRONE_DATABASE_SECRET}
|
||||
DRONE_RPC_SECRET: ${SECRET_DRONE_RPC_SECRET}
|
||||
DRONE_GITEA_CLIENT_ID: ${SECRET_DRONE_GITEA_CLIENT_ID}
|
||||
DRONE_GITEA_CLIENT_SECRET: ${SECRET_DRONE_GITEA_CLIENT_SECRET}
|
||||
DRONE_GITEA_SERVER: https://gitea.${SECRET_CLUSTER_DOMAIN}
|
||||
DRONE_GIT_ALWAYS_AUTH: true
|
||||
DRONE_LOGS_DEBUG: false
|
||||
DRONE_LOGS_PRETTY: true
|
||||
DRONE_LOGS_COLOR: true
|
||||
DRONE_REGISTRATION_CLOSED: true
|
||||
DRONE_SERVER_PROTO: https
|
||||
DRONE_SERVER_HOST: drone.${SECRET_CLUSTER_DOMAIN}
|
||||
|
||||
persistentVolume:
|
||||
enabled: true
|
||||
existingClaim: "drone-config"
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: "nginx"
|
||||
hosts:
|
||||
- host: "drone.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- "drone.${SECRET_CLUSTER_DOMAIN}"
|
@@ -1,5 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- volume.yaml
|
||||
- helm-release.yaml
|
@@ -1,15 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: drone-config
|
||||
namespace: development
|
||||
labels:
|
||||
kasten-io/backup: "true"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: rook-ceph-block
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
@@ -2,7 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- drone
|
||||
- drone-runner-kube
|
||||
- gitea
|
||||
- jobs
|
||||
|
@@ -1,10 +0,0 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: drone-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
url: https://charts.drone.io
|
||||
timeout: 3m
|
@@ -7,7 +7,6 @@ resources:
|
||||
- benji-charts.yaml
|
||||
- bitnami-charts.yaml
|
||||
- cert-manager-webhook-ovh.yaml
|
||||
- drone-charts.yaml
|
||||
- emxq-charts.yaml
|
||||
- external-dns-charts.yaml
|
||||
- gitea-charts.yaml
|
||||
|
Reference in New Issue
Block a user