Added dev ingress to gitea helm chart.

This commit is contained in:
2022-08-24 17:44:25 +12:00
parent 39458bcf2e
commit 08a1150493

View File

@ -130,25 +130,27 @@ service:
## @param ingress.hosts[0].paths[0].pathType Ingress path type ## @param ingress.hosts[0].paths[0].pathType Ingress path type
## @param ingress.tls Ingress tls settings ## @param ingress.tls Ingress tls settings
## @extra ingress.apiVersion Specify APIVersion of ingress object. Mostly would only be used for argocd. ## @extra ingress.apiVersion Specify APIVersion of ingress object. Mostly would only be used for argocd.
ingress: ingress:
enabled: false enabled: true
# className: nginx annotations:
className: kubernetes.io/ingress.class: nginx
annotations: {} kubernetes.io/tls-acme: "true"
# kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/proxy-body-size: 10G
# kubernetes.io/tls-acme: "true" cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/configuration-snippet: |
more_clear_headers "X-Powered-By";
more_set_headers "X-XSS-Protection: 1";
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "X-Content-Type-Options: nosniff";
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
path: /
hosts: hosts:
- host: git.example.com - gitea.jamma.dev
paths: tls:
- path: / - secretName: tls-jamma-gitea
pathType: Prefix hosts:
tls: [] - gitea.jamma.dev
# - secretName: chart-example-tls
# hosts:
# - git.example.com
# Mostly for argocd or any other CI that uses `helm template | kubectl apply` or similar
# If helm doesn't correctly detect your ingress API version you can set it here.
# apiVersion: networking.k8s.io/v1
## @section StatefulSet ## @section StatefulSet
# #