fix drone, enable nextcloud-tweak
This commit is contained in:
parent
7949c95acb
commit
cae45d5676
|
@ -20,12 +20,12 @@ spec:
|
||||||
- name: drone
|
- name: drone
|
||||||
image: drone/drone-runner-kube
|
image: drone/drone-runner-kube
|
||||||
env:
|
env:
|
||||||
- name: NAMESPACE
|
- name: DRONE_NAMESPACE_DEFAULT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: DRONE_RPC_HOST
|
- name: DRONE_RPC_HOST
|
||||||
value: drone.$(NAMESPACE).svc.cluster.local
|
value: drone-server.$(DRONE_NAMESPACE_DEFAULT).svc.cluster.local
|
||||||
- name: DRONE_RPC_PROTO
|
- name: DRONE_RPC_PROTO
|
||||||
value: http
|
value: http
|
||||||
- name: DRONE_RPC_SECRET
|
- name: DRONE_RPC_SECRET
|
||||||
|
|
|
@ -4,5 +4,4 @@ bases:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- nextcloud-deployment.yaml
|
- nextcloud-deployment.yaml
|
||||||
# - nextcloud-cronjob.yaml
|
|
||||||
- nextcloud-ingress.yaml
|
- nextcloud-ingress.yaml
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
apiVersion: batch/v1
|
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
|
||||||
name: nextcloud-cronjob
|
|
||||||
spec:
|
|
||||||
schedule: "*/5 * * * *"
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
restartPolicy: OnFailure
|
|
||||||
containers:
|
|
||||||
- name: nextcloud
|
|
||||||
image: nextcloud
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 33
|
|
||||||
runAsGroup: 33
|
|
||||||
command:
|
|
||||||
- php
|
|
||||||
- -f
|
|
||||||
- /var/www/html/cron.php
|
|
||||||
volumeMounts:
|
|
||||||
- name: nextcloud-pv
|
|
||||||
mountPath: /var/www/html
|
|
||||||
volumes:
|
|
||||||
- name: nextcloud-pv
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: nextcloud-pvc
|
|
|
@ -75,11 +75,8 @@ spec:
|
||||||
- name: nextcloud-pv
|
- name: nextcloud-pv
|
||||||
mountPath: /var/www/html
|
mountPath: /var/www/html
|
||||||
# - name: nextcloud-cron
|
# - name: nextcloud-cron
|
||||||
# image: nextcloud
|
# image: badjware/nextcloud-tweak
|
||||||
# command: ['crond']
|
# command: ['cron', '-f']
|
||||||
# securityContext:
|
|
||||||
# runAsUser: 33
|
|
||||||
# runAsGroup: 33
|
|
||||||
# volumeMounts:
|
# volumeMounts:
|
||||||
# - name: nextcloud-pv
|
# - name: nextcloud-pv
|
||||||
# mountPath: /var/www/html
|
# mountPath: /var/www/html
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: redis
|
- name: redis
|
||||||
image: redis
|
image: redis
|
||||||
args: ["--requirepass", "$(REDIS_PASSWORD)"]
|
args: ["--appendonly", "yes", "--requirepass", "$(REDIS_PASSWORD)"]
|
||||||
env:
|
env:
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -5,6 +5,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
valuesContent: |-
|
valuesContent: |-
|
||||||
additionalArguments:
|
additionalArguments:
|
||||||
|
- '--entryPoints.web.forwardedHeaders.insecure'
|
||||||
- '--serversTransport.insecureSkipVerify=true'
|
- '--serversTransport.insecureSkipVerify=true'
|
||||||
- '--metrics.prometheus=true'
|
- '--metrics.prometheus=true'
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -7,21 +7,21 @@ bases:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: gitea/gitea
|
- name: gitea/gitea
|
||||||
newtag: 1.15.0
|
newTag: 1.15.0
|
||||||
- name: grafana
|
- name: grafana
|
||||||
newtag: 8.1.2
|
newTag: 8.1.2
|
||||||
- name: prom/node-exporter
|
- name: prom/node-exporter
|
||||||
newtag: v0.18.1
|
newTag: v0.18.1
|
||||||
- name: drone/drone
|
- name: drone/drone
|
||||||
newtag: 2.0.6
|
newTag: 2.0.6
|
||||||
- name: drone/drone-runner-kube
|
- name: drone/drone-runner-kube
|
||||||
newtag: 1.0.0-beta.9
|
newTag: 1.0.0-beta.9
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
newtag: 22.1.0
|
newTag: 22.1.0
|
||||||
- name: postgres
|
- name: postgres
|
||||||
newtag: 9.6.23
|
newTag: 9.6.23
|
||||||
- name: redis
|
- name: redis
|
||||||
newtag: 6.2.5
|
newTag: 6.2.5
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: drone-secret
|
- name: drone-secret
|
||||||
|
|
|
@ -7,21 +7,22 @@ bases:
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: gitea/gitea
|
- name: gitea/gitea
|
||||||
newtag: 1.15.0
|
newTag: 1.15.0
|
||||||
- name: grafana
|
- name: grafana
|
||||||
newtag: 8.1.2
|
newTag: 8.1.2
|
||||||
- name: prom/node-exporter
|
- name: prom/node-exporter
|
||||||
newtag: v0.18.1
|
newTag: v0.18.1
|
||||||
- name: drone/drone
|
- name: drone/drone
|
||||||
newtag: 2.0.6
|
newTag: 2.0.6
|
||||||
- name: drone/drone-runner-kube
|
- name: drone/drone-runner-kube
|
||||||
newtag: 1.0.0-beta.9
|
newTag: 1.0.0-beta.9
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
newtag: 22.1.0
|
newName: badjware/nextcloud-tweak
|
||||||
|
newTag: 22.1.0-2
|
||||||
- name: postgres
|
- name: postgres
|
||||||
newtag: 9.6.23
|
newTag: 9.6.23
|
||||||
- name: redis
|
- name: redis
|
||||||
newtag: 6.2.5
|
newTag: 6.2.5
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: drone-secret
|
- name: drone-secret
|
||||||
|
|
Loading…
Reference in New Issue