This commit is contained in:
parent
d2205b11a7
commit
02b9aebbe5
341 changed files with 1571 additions and 32574 deletions
|
|
@ -11,15 +11,15 @@ server {
|
|||
auth_request off;
|
||||
}
|
||||
|
||||
location @redirectToAnubis {
|
||||
location @redirectToNuke {
|
||||
return 307 /.within.website/?redir=$scheme://$host$request_uri;
|
||||
auth_request off;
|
||||
}
|
||||
|
||||
location / {
|
||||
auth_request /.within.website/x/cmd/anubis/api/check;
|
||||
error_page 401 = @redirectToAnubis;
|
||||
auth_request /.within.website/x/cmd/nuke/api/check;
|
||||
error_page 401 = @redirectToNuke;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ spec:
|
|||
- name: config
|
||||
mountPath: /etc/nginx/conf.d
|
||||
readOnly: true
|
||||
- name: anubis
|
||||
image: ttl.sh/techaro/anubis:latest
|
||||
- name: nuke
|
||||
image: git.sad.ovh/sophie/nuke:latest
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
limits:
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ set -euo pipefail
|
|||
cd ../.. &&
|
||||
npm ci &&
|
||||
npm run container -- \
|
||||
--docker-repo ttl.sh/techaro/anubis \
|
||||
--docker-tags ttl.sh/techaro/anubis:latest
|
||||
--docker-repo git.sad.ovh/sophie/nuke \
|
||||
--docker-tags git.sad.ovh/sophie/nuke:latest
|
||||
)
|
||||
|
||||
kubectl apply -k .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue