diff --git a/charts/k8s-gateway/Chart.yaml b/charts/k8s-gateway/Chart.yaml index fadeee0..de83acf 100644 --- a/charts/k8s-gateway/Chart.yaml +++ b/charts/k8s-gateway/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: k8s-gateway description: A Helm chart for the k8s_gateway CoreDNS plugin type: application -version: 2.1.0 +version: 2.2.0 appVersion: 0.4.0 maintainers: - email: mmkashin@gmail.com diff --git a/charts/k8s-gateway/templates/service.yaml b/charts/k8s-gateway/templates/service.yaml index c1c2e38..32be1f2 100644 --- a/charts/k8s-gateway/templates/service.yaml +++ b/charts/k8s-gateway/templates/service.yaml @@ -3,6 +3,9 @@ kind: Service metadata: name: {{ include "k8s-gateway.fullname" . }} labels: +{{- if .Values.service.labels }} + {{- toYaml .Values.service.labels | nindent 4 }} +{{- end }} {{- include "k8s-gateway.labels" . | nindent 4 }} annotations: {{- if .Values.service.annotations }} diff --git a/charts/k8s-gateway/values.yaml b/charts/k8s-gateway/values.yaml index f78ca7c..3c3b68d 100644 --- a/charts/k8s-gateway/values.yaml +++ b/charts/k8s-gateway/values.yaml @@ -62,6 +62,7 @@ service: type: LoadBalancer port: 53 annotations: {} + labels: {} # nodePort: 30053 # loadBalancerIP: 192.168.1.2 # clusterIP: 10.43.0.53