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