Skip to content

Commit 29b2eb5

Browse files
committed
fix(ci): add value files for chart-testing
Signed-off-by: WrenIX <dev.github@wrenix.eu>
1 parent 9d560de commit 29b2eb5

3 files changed

Lines changed: 70 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
metrics:
2+
enabled: true
3+
4+
nextcloud:
5+
configs:
6+
my.config.php: |-
7+
<?php
8+
9+
image:
10+
flavor: fpm
11+
nginx:
12+
enabled: true
13+
config:
14+
custom: |-
15+
server {
16+
listen 8080;
17+
server_name tmp-server;
18+
root /tmp;
19+
}

charts/nextcloud/ci/ct-empty-values.yaml

Whitespace-only changes.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
metrics:
2+
enabled: true
3+
image:
4+
pullSecrets:
5+
- "registry-pull"
6+
podAnnotations:
7+
fakeVersion: unreleased
8+
podLabels:
9+
team: cool
10+
resources:
11+
requests:
12+
memory: 100Mi
13+
service:
14+
type: LoadBalancer
15+
loadBalancerIP: 100.64.0.1
16+
annotations:
17+
fakeVersion: unreleased
18+
labels:
19+
team: cool
20+
21+
nextcloud:
22+
configs:
23+
my.config.php: |-
24+
<?php
25+
26+
phpConfigs:
27+
redis.ini: |-
28+
session.save_handler = redis
29+
session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5"
30+
31+
image:
32+
flavor: fpm
33+
34+
nginx:
35+
enabled: true
36+
config:
37+
default: false
38+
# without default chart-testing needs to call /status.php for healthy probe
39+
custom: |-
40+
upstream php-handler {
41+
server 127.0.0.1:9000;
42+
}
43+
server {
44+
listen 80;
45+
root /var/www/html;
46+
location ~ \.php(?:$|/) {
47+
include fastcgi_params;
48+
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
49+
fastcgi_pass php-handler;
50+
}
51+
}

0 commit comments

Comments
 (0)