Skip to content

Commit

Permalink
fix(ci): add value files for chart-testing
Browse files Browse the repository at this point in the history
Signed-off-by: WrenIX <[email protected]>
  • Loading branch information
wrenix committed Feb 5, 2024
1 parent f50c1c2 commit b017908
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
19 changes: 19 additions & 0 deletions charts/nextcloud/ci/ct-all-enabled-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
metrics:
enabled: true

nextcloud:
configs:
my.config.php: |-
<?php
image:
flavor: fpm
nginx:
enabled: true
config:
custom: |-
server {
listen 8080;
server_name tmp-server;
root /tmp;
}
Empty file.
51 changes: 51 additions & 0 deletions charts/nextcloud/ci/ct-specials-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
metrics:
enabled: true
image:
pullSecrets:
- "registry-pull"
podAnnotations:
fakeVersion: unreleased
podLabels:
team: cool
resources:
requests:
memory: 100Mi
service:
type: LoadBalancer
loadBalancerIP: 100.64.0.1
annotations:
fakeVersion: unreleased
labels:
team: cool

nextcloud:
configs:
my.config.php: |-
<?php
phpConfigs:
redis.ini: |-
session.save_handler = redis
session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5"
image:
flavor: fpm

nginx:
enabled: true
config:
default: false
# without default chart-testing needs to call /status.php for healthy probe
custom: |-
upstream php-handler {
server 127.0.0.1:9000;
}
server {
listen 80;
root /var/www/html;
location ~ \.php(?:$|/) {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass php-handler;
}
}

0 comments on commit b017908

Please sign in to comment.