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: ingress:
enabled: true enabled: true
ingressClassName: ingress-external ingressClassName: ingress-external-traefik
labels: labels:
environment: external environment: external
annotations: annotations:
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: ingress-external kubernetes.io/ingress.class: ingress-external
traefik.ingress.kubernetes.io/router.tls: 'true'
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: ci.nold.in external-dns.alpha.kubernetes.io/hostname: ci.nold.in
external-dns.alpha.kubernetes.io/target: 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: hosts:
- host: ci.nold.in - host: ci.nold.in
paths: paths:
@ -78,7 +75,7 @@ ingress:
resources: resources:
limits: limits:
cpu: 1000m cpu: 500m
memory: 512Mi memory: 512Mi
requests: requests:
cpu: 100m cpu: 100m