Commit 0ec0c25 1 parent 95333b4 commit 0ec0c25 Copy full SHA for 0ec0c25
File tree 4 files changed +16
-0
lines changed
charts/flyte-core/templates
4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 38
38
{{- if not .Values.cluster_resource_manager.config.cluster_resources.standaloneDeployment }}
39
39
{{- include "databaseSecret.volumeMount" . | nindent 10 }}
40
40
{{- else }}
41
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
41
42
- name : auth
42
43
mountPath : /etc/secrets/
43
44
{{- end }}
45
+ {{- end }}
44
46
- mountPath : /etc/flyte/clusterresource/templates
45
47
name : resource-templates
46
48
- mountPath : /etc/flyte/config
@@ -66,10 +68,12 @@ spec:
66
68
secretName : cluster-credentials
67
69
{{- end }}
68
70
{{- if .Values.cluster_resource_manager.config.cluster_resources.standaloneDeployment }}
71
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
69
72
- name : auth
70
73
secret :
71
74
secretName : flyte-secret-auth
72
75
{{- end }}
76
+ {{- end }}
73
77
{{- with .Values.cluster_resource_manager.nodeSelector }}
74
78
nodeSelector : {{ tpl (toYaml .) $ | nindent 8 }}
75
79
{{- end }}
Original file line number Diff line number Diff line change 76
76
volumeMounts : {{- include "databaseSecret.volumeMount" . | nindent 8 }}
77
77
- mountPath : /etc/flyte/config
78
78
name : config-volume
79
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
79
80
- name : auth
80
81
mountPath : /etc/secrets/
82
+ {{- end }}
81
83
{{- with .Values.flytescheduler.additionalVolumeMounts -}}
82
84
{{ tpl (toYaml .) $ | nindent 8 }}
83
85
{{- end }}
91
93
- configMap :
92
94
name : flyte-scheduler-config
93
95
name : config-volume
96
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
94
97
- name : auth
95
98
secret :
96
99
secretName : flyte-secret-auth
100
+ {{- end }}
97
101
{{- with .Values.flytescheduler.additionalVolumes -}}
98
102
{{ tpl (toYaml .) $ | nindent 6 }}
99
103
{{- end }}
Original file line number Diff line number Diff line change 82
82
volumeMounts :
83
83
- name : config-volume
84
84
mountPath : /etc/flyte/config
85
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
85
86
- name : auth
86
87
mountPath : /etc/secrets/
88
+ {{- end }}
87
89
{{- with .Values.flytepropeller.additionalVolumeMounts -}}
88
90
{{ tpl (toYaml .) $ | nindent 8 }}
89
91
{{- end }}
@@ -98,9 +100,11 @@ spec:
98
100
- configMap :
99
101
name : flyte-propeller-config
100
102
name : config-volume
103
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
101
104
- name : auth
102
105
secret :
103
106
secretName : flyte-secret-auth
107
+ {{- end }}
104
108
{{- with .Values.flytepropeller.additionalVolumes -}}
105
109
{{ tpl (toYaml .) $ | nindent 6 }}
106
110
{{- end }}
Original file line number Diff line number Diff line change @@ -43,8 +43,10 @@ template:
43
43
volumeMounts :
44
44
- name : config-volume
45
45
mountPath : /etc/flyte/config
46
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
46
47
- name : auth
47
48
mountPath : /etc/secrets/
49
+ {{- end }}
48
50
{{- if .Values.flytepropeller.terminationMessagePolicy }}
49
51
terminationMessagePolicy : " {{ .Values.flytepropeller.terminationMessagePolicy }}"
50
52
{{- end }}
@@ -53,9 +55,11 @@ template:
53
55
- configMap :
54
56
name : flyte-propeller-config
55
57
name : config-volume
58
+ {{- if .Values.secrets.adminOauthClientCredentials.enabled }}
56
59
- name : auth
57
60
secret :
58
61
secretName : flyte-secret-auth
62
+ {{- end }}
59
63
{{- with .Values.flytepropeller.nodeSelector }}
60
64
nodeSelector : {{ tpl (toYaml .) $ | nindent 6 }}
61
65
{{- end }}
You can’t perform that action at this time.
0 commit comments