File tree 7 files changed +43
-4
lines changed
7 files changed +43
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : operator-wandb
3
3
description : A Helm chart for deploying W&B to Kubernetes
4
4
type : application
5
- version : 0.15.2
5
+ version : 0.15.3
6
6
appVersion : 1.0.0
7
7
icon : https://wandb.ai/logo.svg
8
8
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ spec:
142
142
143
143
resources :
144
144
{{- toYaml .Values.resources | nindent 12 }}
145
+ serviceAccountName : {{ include "weaveTrace.serviceAccountName" . }}
145
146
---
146
147
apiVersion : autoscaling/v2
147
148
kind : HorizontalPodAutoscaler
Original file line number Diff line number Diff line change
1
+ {{- if .Values.serviceAccount.create -}}
2
+ apiVersion : v1
3
+ kind : ServiceAccount
4
+ metadata :
5
+ name : {{ include "weaveTrace.serviceAccountName" . }}
6
+ labels :
7
+ {{- include "wandb.commonLabels" . | nindent 4 }}
8
+ {{- include "weaveTrace.commonLabels" . | nindent 4 }}
9
+ {{- include "weaveTrace.labels" . | nindent 4 }}
10
+ {{- if .Values.serviceAccount.labels -}}
11
+ {{- toYaml .Values.serviceAccount.labels | nindent 4 }}
12
+ {{- end }}
13
+ annotations :
14
+ {{- if .Values.serviceAccount.annotations -}}
15
+ {{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
16
+ {{- end }}
17
+ {{- end }}
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ extraCors: []
16
16
common :
17
17
labels : {}
18
18
deployment : {}
19
- serviceAccount : {}
19
+ serviceAccount :
20
+ create : true
21
+ annotations : {}
20
22
clusterRole : {}
21
23
22
24
service :
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ spec:
107
107
108
108
resources :
109
109
{{- toYaml .Values.cacheClear.resources | nindent 12 }}
110
-
110
+ serviceAccountName : {{ include "weave.serviceAccountName" . }}
111
111
volumes :
112
112
- name : cache
113
113
emptyDir :
Original file line number Diff line number Diff line change
1
+ {{- if .Values.serviceAccount.create -}}
2
+ apiVersion : v1
3
+ kind : ServiceAccount
4
+ metadata :
5
+ name : {{ include "weave.serviceAccountName" . }}
6
+ labels :
7
+ {{- include "wandb.commonLabels" . | nindent 4 }}
8
+ {{- include "weave.commonLabels" . | nindent 4 }}
9
+ {{- include "weave.labels" . | nindent 4 }}
10
+ {{- if .Values.serviceAccount.labels -}}
11
+ {{- toYaml .Values.serviceAccount.labels | nindent 4 }}
12
+ {{- end }}
13
+ annotations :
14
+ {{- if .Values.serviceAccount.annotations -}}
15
+ {{- toYaml .Values.serviceAccount.annotations | nindent 4 }}
16
+ {{- end }}
17
+ {{- end }}
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ extraCors: []
25
25
common :
26
26
labels : {}
27
27
deployment : {}
28
- serviceAccount : {}
28
+ serviceAccount :
29
+ create : true
30
+ annotations : {}
29
31
clusterRole : {}
30
32
31
33
service :
You can’t perform that action at this time.
0 commit comments