Skip to content

Commit cb5e1cf

Browse files
committed
Set default/recommended minimal requests/resource limits.
Rename defaultCertSecret.fullname template to defaultTLSSecret.fullname. Make defaultTLSSecret into section and make it possible to enable/disable it, controlling do we pass default-ssl-certificate controller parameter. CI: Make sure to log which charts have been detected with changes. Signed-off-by: Dinko Korunic <[email protected]>
1 parent e1f51d5 commit cb5e1cf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

kubernetes-ingress/templates/controller-service.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ metadata:
88
app.kubernetes.io/managed-by: {{ .Release.Service }}
99
app.kubernetes.io/instance: {{ .Release.Name }}
1010
app.kubernetes.io/version: {{ .Chart.AppVersion }}
11+
{{- if .Values.controller.service.labels }}
12+
{{ toYaml .Values.controller.service.labels | indent 4 }}
13+
{{- end }}
14+
annotations:
15+
{{- range $key, $value := .Values.controller.service.annotations }}
16+
{{ $key }}: {{ $value | quote }}
17+
{{- end }}
1118
spec:
1219
type: {{ .Values.controller.service.type }}
1320
ports:

kubernetes-ingress/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ controller:
104104
service:
105105
type: NodePort
106106

107+
## Service annotations
108+
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
109+
annotations: {}
110+
111+
## Service labels
112+
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
113+
labels: {}
114+
107115
## Service ports to use for http, https and stat
108116
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
109117
ports:

0 commit comments

Comments
 (0)