Skip to content

Commit

Permalink
Add nextcloud secrets.
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed Dec 23, 2024
1 parent 3892181 commit 96e1f9c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
13 changes: 1 addition & 12 deletions code/kubes/ircd/net.xinutec.irc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,14 @@ metadata:
namespace: ircd
name: irc-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
cert-manager.io/cluster-issuer: "letsencrypt-staging"
spec:
ingressClassName: nginx
tls:
- hosts:
- xinutec.org
- irc.xinutec.net
secretName: irc-tls
rules:
- host: xinutec.org
http:
paths:
- path: /barfooze #/.well-known
pathType: Prefix
backend:
service:
name: certbot-forward
port:
number: 80
- host: irc.xinutec.net
http:
paths:
Expand Down
1 change: 1 addition & 0 deletions code/kubes/nextcloud/nextcloud/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/secret.sh filter=git-crypt diff=git-crypt
4 changes: 2 additions & 2 deletions code/kubes/nextcloud/nextcloud/cron.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sudo k3s kubectl exec --stdin --tty -n nextcloud deployment/nextcloud-server -c nextcloud -- apk add sudo
sudo k3s kubectl exec --stdin --tty -n nextcloud deployment/nextcloud-server -c nextcloud -- sudo -u www-data php -d memory_limit=1024M ./cron.php
sudo kubectl exec --stdin --tty -n nextcloud deployment/nextcloud-server -c nextcloud -- apk add sudo
sudo kubectl exec --stdin --tty -n nextcloud deployment/nextcloud-server -c nextcloud -- sudo -u www-data php -d memory_limit=1024M ./cron.php
Binary file added code/kubes/nextcloud/nextcloud/secret.sh
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ metadata:
namespace: web
name: isis-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-staging"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
ingressClassName: nginx
tls:
Expand Down

0 comments on commit 96e1f9c

Please sign in to comment.