mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 21:30:15 +00:00
Options to disable ingress objects
This commit is contained in:
parent
dd4c565aff
commit
668b2625e3
|
@ -211,6 +211,8 @@ The following tables lists the configurable parameters of the Harbor chart and t
|
||||||
| `notary.nodeSelector` | Node labels for pod assignment | `{}` |
|
| `notary.nodeSelector` | Node labels for pod assignment | `{}` |
|
||||||
| `notary.tolerations` | Tolerations for pod assignment | `[]` |
|
| `notary.tolerations` | Tolerations for pod assignment | `[]` |
|
||||||
| `notary.affinity` | Node/Pod affinities | `{}` |
|
| `notary.affinity` | Node/Pod affinities | `{}` |
|
||||||
|
| **Ingress** |
|
||||||
|
| `ingress.enabled` | Enable ingress objects. | `true` |
|
||||||
|
|
||||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
|
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{ if .Values.ingress.enabled }}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -56,3 +57,5 @@ spec:
|
||||||
serviceName: {{ template "harbor.fullname" . }}-ui
|
serviceName: {{ template "harbor.fullname" . }}-ui
|
||||||
servicePort: 80
|
servicePort: 80
|
||||||
|
|
||||||
|
|
||||||
|
{{ end }}
|
|
@ -51,6 +51,7 @@ secretKey: not-a-secure-key
|
||||||
# These annotations allow the registry to work behind the nginx
|
# These annotations allow the registry to work behind the nginx
|
||||||
# ingress controller.
|
# ingress controller.
|
||||||
ingress:
|
ingress:
|
||||||
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
ingress.kubernetes.io/ssl-redirect: "true"
|
ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
ingress.kubernetes.io/proxy-body-size: "0"
|
ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user