Skip to content

Commit f709ecd

Browse files
committed
fix: correct config file for openmetrics
Signed-off-by: WrenIX <dev.github@wrenix.eu>
1 parent a7c9f1d commit f709ecd

5 files changed

Lines changed: 79 additions & 2 deletions

File tree

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 9.0.2
3+
version: 9.0.3
44
# renovate: image=docker.io/library/nextcloud
55
appVersion: 33.0.0
66
description: A file sharing server that puts the control and security of your own data back into your hands.

charts/nextcloud/files/defaultConfigs/helm-metrics.php.tpl renamed to charts/nextcloud/files/defaultConfigs/helm-metrics.config.php.tpl

File renamed without changes.

charts/nextcloud/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ nextcloud:
262262
# disables the web based updater as the default nextcloud docker image does not support it
263263
upgrade-disable-web.config.php: true
264264
# -- adjust openmetrics
265-
helm-metrics.php: true
265+
helm-metrics.config.php: true
266266
# -- imaginary support config
267267
imaginary.config.php: false
268268

gateway.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
apiVersion: v1
3+
kind: Namespace
4+
metadata:
5+
name: nextcloud-dev
6+
---
7+
apiVersion: cert-manager.io/v1
8+
kind: Certificate
9+
metadata:
10+
name: wildcard
11+
namespace: nextcloud-dev
12+
spec:
13+
secretName: wildcard-cert
14+
dnsNames:
15+
- '*.isa.wrenix.eu'
16+
issuerRef:
17+
group: cert-manager.io
18+
kind: ClusterIssuer
19+
name: acme-dns
20+
usages:
21+
- digital signature
22+
- key encipherment
23+
---
24+
apiVersion: gateway.networking.k8s.io/v1
25+
kind: Gateway
26+
metadata:
27+
name: nextcloud
28+
namespace: nextcloud-dev
29+
spec:
30+
gatewayClassName: traefik
31+
infrastructure:
32+
annotations: {}
33+
listeners:
34+
- allowedRoutes:
35+
namespaces:
36+
from: Same
37+
hostname: nextcloud.isa.wrenix.eu
38+
name: https
39+
port: 443
40+
protocol: HTTPS
41+
tls:
42+
certificateRefs:
43+
- group: ""
44+
kind: Secret
45+
name: wildcard-cert
46+
# namespace: nextcloud-dev
47+
mode: Terminate

values_test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
nextcloud:
2+
host: nextcloud.isa.wrenix.eu
3+
4+
image:
5+
flavor: fpm
6+
nginx:
7+
enabled: true
8+
9+
persistence:
10+
enabled: true
11+
hostPath: /tmp/nc
12+
nextcloudData:
13+
enabled: true
14+
hostPath: /tmp/nc-data
15+
16+
httpRoute:
17+
enabled: true
18+
hostnames:
19+
- "nextcloud.isa.wrenix.eu"
20+
parentRefs:
21+
- name: "nextcloud"
22+
sectionName: "https"
23+
kind: Gateway
24+
rules:
25+
- filters:
26+
- type: RequestHeaderModifier
27+
requestHeaderModifier:
28+
remove:
29+
- Permissions-Policy
30+

0 commit comments

Comments
 (0)