mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +00:00
fix(woodpecker-server): ingress javascript annotation
This commit is contained in:
parent
168d7f301d
commit
4cbaae1217
1 changed files with 6 additions and 3 deletions
|
@ -51,16 +51,19 @@ service:
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: ingress-external-traefik
|
ingressClassName: ingress-external
|
||||||
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:
|
||||||
|
@ -75,7 +78,7 @@ ingress:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 1000m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|
Loading…
Reference in a new issue