File tree 19 files changed +38
-12
lines changed
19 files changed +38
-12
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "accumulo.chart" . }}
41
41
app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
42
42
{ {- end } }
43
43
app.kubernetes.io/managed-by: { { .Release.Service } }
44
+ { {- if .Values.labels } }
45
+ { { toYaml .Values.labels } }
46
+ { {- end -} }
44
47
{ {- end -} }
45
48
46
49
{ {/*
Original file line number Diff line number Diff line change 28
28
template :
29
29
metadata :
30
30
labels :
31
- {{- include "accumulo.selectorLabels " . | nindent 8 }}
31
+ {{- include "accumulo.labels " . | nindent 8 }}
32
32
app.kubernetes.io/component : gc
33
33
annotations :
34
34
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Original file line number Diff line number Diff line change 30
30
template :
31
31
metadata :
32
32
labels :
33
- {{- include "accumulo.selectorLabels " . | nindent 8 }}
33
+ {{- include "accumulo.labels " . | nindent 8 }}
34
34
app.kubernetes.io/component : master
35
35
annotations :
36
36
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Original file line number Diff line number Diff line change 28
28
template :
29
29
metadata :
30
30
labels :
31
- {{- include "accumulo.selectorLabels " . | nindent 8 }}
31
+ {{- include "accumulo.labels " . | nindent 8 }}
32
32
app.kubernetes.io/component : monitor
33
33
annotations :
34
34
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Original file line number Diff line number Diff line change 30
30
template :
31
31
metadata :
32
32
labels :
33
- {{- include "accumulo.selectorLabels " . | nindent 8 }}
33
+ {{- include "accumulo.labels " . | nindent 8 }}
34
34
app.kubernetes.io/component : tserver
35
35
annotations :
36
36
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
Original file line number Diff line number Diff line change 14
14
15
15
nameOverride : " "
16
16
fullnameOverride : " "
17
+ labels : {}
17
18
18
19
hdfs :
19
20
enabled : true
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "gaffer-road-traffic.chart" . }}
41
41
app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
42
42
{ {- end } }
43
43
app.kubernetes.io/managed-by: { { .Release.Service } }
44
+ { {- if .Values.labels } }
45
+ { { toYaml .Values.labels } }
46
+ { {- end -} }
44
47
{ {- end -} }
45
48
46
49
{ {/*
Original file line number Diff line number Diff line change 24
24
template :
25
25
metadata :
26
26
labels :
27
- {{- include "gaffer-road-traffic.selectorLabels " . | nindent 8 }}
27
+ {{- include "gaffer-road-traffic.labels " . | nindent 8 }}
28
28
app.kubernetes.io/component : loader
29
29
spec :
30
30
restartPolicy : OnFailure
Original file line number Diff line number Diff line change 14
14
15
15
nameOverride : " "
16
16
fullnameOverride : " "
17
+ labels : {}
17
18
18
19
loader :
19
20
image :
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "gaffer.chart" . }}
41
41
app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
42
42
{ {- end } }
43
43
app.kubernetes.io/managed-by: { { .Release.Service } }
44
+ { {- if .Values.labels } }
45
+ { { toYaml .Values.labels } }
46
+ { {- end -} }
44
47
{ {- end -} }
45
48
46
49
{ {/*
Original file line number Diff line number Diff line change 28
28
template :
29
29
metadata :
30
30
labels :
31
- {{- include "gaffer.selectorLabels " . | nindent 8 }}
31
+ {{- include "gaffer.labels " . | nindent 8 }}
32
32
app.kubernetes.io/component : api
33
33
annotations :
34
34
checksum/graph-config : {{ include (print $.Template.BasePath "/api/config/graph-config.yaml") . | sha256sum }}
Original file line number Diff line number Diff line change 38
38
backend :
39
39
service :
40
40
name : {{ include "gaffer.fullname" . }}-api
41
- port :
41
+ port :
42
42
name : http
43
43
{{- else }}
44
44
backend :
51
51
backend :
52
52
service :
53
53
name : {{ include "gaffer.fullname" . }}-ui
54
- port :
54
+ port :
55
55
name : http
56
56
{{- else }}
57
57
backend :
Original file line number Diff line number Diff line change 28
28
template :
29
29
metadata :
30
30
labels :
31
- {{- include "gaffer.selectorLabels " . | nindent 8 }}
31
+ {{- include "gaffer.labels " . | nindent 8 }}
32
32
app.kubernetes.io/component : ui
33
33
annotations :
34
34
checksum/ui-config : {{ include (print $.Template.BasePath "/ui/ui-config.yaml") . | sha256sum }}
54
54
httpGet :
55
55
path : /ui/#!/graph
56
56
port : http
57
+ startupProbe :
58
+ httpGet :
59
+ path : /ui/
60
+ port : http
61
+ failureThreshold : 30
62
+ periodSeconds : 10
57
63
resources :
58
64
{{- toYaml .Values.ui.resources | nindent 10 }}
59
65
{{- with .Values.ui.affinity }}
Original file line number Diff line number Diff line change 14
14
15
15
nameOverride : " "
16
16
fullnameOverride : " "
17
+ labels : {}
17
18
18
19
graph :
19
20
config :
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "hdfs.chart" . }}
41
41
app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
42
42
{ {- end } }
43
43
app.kubernetes.io/managed-by: { { .Release.Service } }
44
+ { {- if .Values.labels } }
45
+ { { toYaml .Values.labels } }
46
+ { {- end -} }
44
47
{ {- end -} }
45
48
46
49
{ {/*
Original file line number Diff line number Diff line change 31
31
{{- range $k, $v := until (int .Values.datanode.dataVolumes.count) }}
32
32
- metadata :
33
33
name : data{{$v}}
34
+ labels :
35
+ {{- include "hdfs.labels" $ | nindent 8 }}
34
36
spec :
35
37
{{- toYaml $.Values.datanode.dataVolumes.pvcTemplateSpec | nindent 6 }}
36
38
{{- end }}
40
42
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
41
43
checksum/secrets : {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
42
44
labels :
43
- {{- include "hdfs.selectorLabels " . | nindent 8 }}
45
+ {{- include "hdfs.labels " . | nindent 8 }}
44
46
app.kubernetes.io/component : datanode
45
47
spec :
46
48
initContainers :
Original file line number Diff line number Diff line change 31
31
{{- range $k, $v := until (int .Values.namenode.dataVolumes.count) }}
32
32
- metadata :
33
33
name : data{{$v}}
34
+ labels :
35
+ {{- include "hdfs.labels" $ | nindent 8 }}
34
36
spec :
35
37
{{- toYaml $.Values.namenode.dataVolumes.pvcTemplateSpec | nindent 6 }}
36
38
{{- end }}
40
42
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
41
43
checksum/secrets : {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
42
44
labels :
43
- {{- include "hdfs.selectorLabels " . | nindent 8 }}
45
+ {{- include "hdfs.labels " . | nindent 8 }}
44
46
app.kubernetes.io/component : namenode
45
47
spec :
46
48
{{- if and .Values.config.rackAwareness .Values.config.rackAwareness.nodeTopologyLabel }}
Original file line number Diff line number Diff line change 35
35
checksum/config : {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
36
36
checksum/secrets : {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
37
37
labels :
38
- {{- include "hdfs.selectorLabels " . | nindent 8 }}
38
+ {{- include "hdfs.labels " . | nindent 8 }}
39
39
app.kubernetes.io/component : shell
40
40
spec :
41
41
containers :
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ secrets:
112
112
113
113
nameOverride : " "
114
114
fullnameOverride : " "
115
+ labels : {}
115
116
116
117
ingress :
117
118
enabled : true
You can’t perform that action at this time.
0 commit comments