Skip to content

Commit

Permalink
Update cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed Dec 23, 2024
1 parent 94a68dd commit 26c48df
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
5 changes: 3 additions & 2 deletions code/kubes/cert-manager/sync.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh

sudo helm install \
sudo helm upgrade --install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.13.2 \
--version v1.16.2 \
--set crds.enabled=true
2 changes: 1 addition & 1 deletion code/kubes/ircd/inspircd/inspircd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
# annotations:
# metallb.universe.tf/allow-shared-ip: xinutec
#spec:
# type: HostPort
# type: ClusterIP
# # Ensure that the ircd gets the actual client IP, not the load balancer IP.
# # externalTrafficPolicy: Local
# selector:
Expand Down
1 change: 1 addition & 0 deletions code/kubes/ircd/inspircd/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ sudo kubectl get secret -n ircd irc-tls -o json | jq -r '.data."tls.key"' | base

# Copy the certs into the container and REHASH.
sudo kubectl cp inspircd/conf/$HOST/secret "ircd/$POD:/etc/inspircd/conf/"
sudo kubectl cp permchannels.conf "ircd/$POD:/etc/inspircd/data/"
sudo kubectl exec --stdin --tty -n ircd "pod/$POD" -- /bin/bash -c 'kill -HUP 1'
4 changes: 2 additions & 2 deletions code/kubes/ircd/net.xinutec.irc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- host: xinutec.org
http:
paths:
- path: /.well-known
- path: /barfooze #/.well-known
pathType: Prefix
backend:
service:
Expand All @@ -36,7 +36,7 @@ spec:
- host: irc.xinutec.net
http:
paths:
- path: /.well-known
- path: /barfooze #/.well-known
pathType: Prefix
backend:
service:
Expand Down
6 changes: 4 additions & 2 deletions code/kubes/vps/toktok/toxic-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -eux

ssh toktok -t 'cd /src/workspace && bazel build --config=debug --config=linux-arm64-musl //toxic'
scp toktok:/src/workspace/bazel-bin/toxic/toxic .
gzip toxic
scp toxic.gz hermes.vpn:
rm toxic.gz
ssh hermes.vpn 'rm toxic'
scp toxic hermes.vpn:
rm toxic
ssh hermes.vpn 'gunzip toxic.gz'

0 comments on commit 26c48df

Please sign in to comment.