mirror of https://github.com/artifacthub/hub.git
Add possibility to add some custom labels for ingress (#3295)
Signed-off-by: Patrice MEYER <patrice.meyer@groupama.com>
This commit is contained in:
parent
053763fcbf
commit
252f83adf3
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: artifact-hub
|
||||
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
|
||||
type: application
|
||||
version: 1.15.0
|
||||
version: 1.15.1-0
|
||||
appVersion: 1.15.0
|
||||
kubeVersion: ">= 1.19.0-0"
|
||||
home: https://artifacthub.io
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ kind: Ingress
|
|||
metadata:
|
||||
name: {{ include "chart.resourceNamePrefix" . }}hub
|
||||
labels:
|
||||
{{- with .Values.hub.ingress.extraLabels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/component: hub
|
||||
{{- include "chart.labels" . | nindent 4 }}
|
||||
{{- with .Values.hub.ingress.annotations }}
|
||||
|
|
|
|||
|
|
@ -381,6 +381,11 @@
|
|||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"extraLabels": {
|
||||
"title": "Some extra labels to add to the ingress",
|
||||
"type": "object",
|
||||
"default": {}
|
||||
},
|
||||
"defaultBackendEnabled": {
|
||||
"title": "Enable default backend for Hub Ingress",
|
||||
"type": "boolean",
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ hub:
|
|||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
extraLabels: {}
|
||||
defaultBackendEnabled: true
|
||||
rules: []
|
||||
tls: []
|
||||
|
|
|
|||
Loading…
Reference in New Issue