Skip to content

Commit 009cc54

Browse files
committed
Anubis: Disable temp
1 parent 5652a2f commit 009cc54

1 file changed

Lines changed: 41 additions & 41 deletions

File tree

development/forgejo/forgejo.yaml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -104,29 +104,29 @@ spec:
104104
memory: 2048Mi
105105
limits:
106106
memory: 6144Mi
107-
anubis:
108-
image:
109-
repository: ghcr.io/techarohq/anubis
110-
pullPolicy: IfNotPresent
111-
tag: v1.24.0-pre1@sha256:170d30f7de14f6b19e5d7647a1ea8ff58740828a08a6a364e08210df2955639b
112-
env:
113-
BIND: ":8080"
114-
COOKIE_DOMAIN: "${SECRET_DOMAIN}"
115-
DIFFICULTY: "4"
116-
ED25519_PRIVATE_KEY_HEX: "${SECRET_FORGEJO_ANUBIS_ED25519}"
117-
METRICS_BIND: ":9090"
118-
POLICY_FNAME: "/data/cfg/botPolicy.yaml"
119-
SERVE_ROBOTS_TXT: "false"
120-
TARGET: "http://localhost:3000"
121-
OG_PASSTHROUGH: "true"
122-
OG_EXPIRY_TIME: "24h"
123-
resources:
124-
limits:
125-
cpu: 750m
126-
memory: 256Mi
127-
requests:
128-
cpu: 250m
129-
memory: 256Mi
107+
# anubis:
108+
# image:
109+
# repository: ghcr.io/techarohq/anubis
110+
# pullPolicy: IfNotPresent
111+
# tag: v1.24.0-pre1@sha256:170d30f7de14f6b19e5d7647a1ea8ff58740828a08a6a364e08210df2955639b
112+
# env:
113+
# BIND: ":8080"
114+
# COOKIE_DOMAIN: "${SECRET_DOMAIN}"
115+
# DIFFICULTY: "4"
116+
# ED25519_PRIVATE_KEY_HEX: "${SECRET_FORGEJO_ANUBIS_ED25519}"
117+
# METRICS_BIND: ":9090"
118+
# POLICY_FNAME: "/data/cfg/botPolicy.yaml"
119+
# SERVE_ROBOTS_TXT: "false"
120+
# TARGET: "http://localhost:3000"
121+
# OG_PASSTHROUGH: "true"
122+
# OG_EXPIRY_TIME: "24h"
123+
# resources:
124+
# limits:
125+
# cpu: 750m
126+
# memory: 256Mi
127+
# requests:
128+
# cpu: 250m
129+
# memory: 256Mi
130130
defaultPodOptions:
131131
securityContext:
132132
runAsUser: 1000
@@ -143,15 +143,15 @@ spec:
143143
ports:
144144
http:
145145
port: 3000
146-
anubis:
147-
type: ClusterIP
148-
controller: main
149-
ports:
150-
http:
151-
enabled: true
152-
port: 8080
153-
protocol: TCP
154-
targetPort: 8080
146+
# anubis:
147+
# type: ClusterIP
148+
# controller: main
149+
# ports:
150+
# http:
151+
# enabled: true
152+
# port: 8080
153+
# protocol: TCP
154+
# targetPort: 8080
155155
ssh:
156156
type: LoadBalancer
157157
loadBalancerIP: ${SVC_FORGEJO_IP}
@@ -182,7 +182,7 @@ spec:
182182
- name: X-Real-IP
183183
value: "%REQ(X-Forwarded-For)%"
184184
backendRefs:
185-
- identifier: anubis
185+
- identifier: main
186186
port: http
187187
persistence:
188188
config:
@@ -200,11 +200,11 @@ spec:
200200
existingClaim: forgejo-data-pvc
201201
globalMounts:
202202
- path: /data
203-
anubis-botconfig:
204-
enabled: true
205-
type: configMap
206-
name: anubis-configmap
207-
globalMounts:
208-
- path: /data/cfg/botPolicy.yaml
209-
subPath: botPolicy.yaml
210-
readOnly: true
203+
# anubis-botconfig:
204+
# enabled: true
205+
# type: configMap
206+
# name: anubis-configmap
207+
# globalMounts:
208+
# - path: /data/cfg/botPolicy.yaml
209+
# subPath: botPolicy.yaml
210+
# readOnly: true

0 commit comments

Comments
 (0)