Revert "fix(woodpecker-server): ingress javascript annotation"

This reverts commit 4cbaae1217.
This commit is contained in:
nold 2023-03-03 20:14:16 +01:00
parent 4cbaae1217
commit 544355fce4

View file

@ -51,19 +51,16 @@ service:
ingress:
enabled: true
ingressClassName: ingress-external
ingressClassName: ingress-external-traefik
labels:
environment: external
annotations:
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: ingress-external
traefik.ingress.kubernetes.io/router.tls: 'true'
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: ci.nold.in
external-dns.alpha.kubernetes.io/target: nold.in
nginx.ingress.kubernetes.io/configuration-snippet: |
location ~ \.js {
add_header Content-Type application/x-javascript;
}
hosts:
- host: ci.nold.in
paths:
@ -78,7 +75,7 @@ ingress:
resources:
limits:
cpu: 1000m
cpu: 500m
memory: 512Mi
requests:
cpu: 100m