File tree 2 files changed +14
-0
lines changed
charts/team-ns/templates/builds
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
{{- $v := .Values }}
2
+ {{- $provider := $v.cluster.provider }}
2
3
{{- range $v.builds }}
3
4
{{- if eq .mode.type "buildpacks" }}
4
5
---
@@ -114,6 +115,9 @@ spec:
114
115
metadata :
115
116
creationTimestamp : null
116
117
spec :
118
+ {{- if eq $provider "linode" }}
119
+ storageClassName : linode-block-storage
120
+ {{- end }}
117
121
accessModes :
118
122
- ReadWriteOnce
119
123
resources :
@@ -158,6 +162,9 @@ spec:
158
162
metadata :
159
163
creationTimestamp : null
160
164
spec :
165
+ {{- if eq $provider "linode" }}
166
+ storageClassName : linode-block-storage
167
+ {{- end }}
161
168
accessModes :
162
169
- ReadWriteOnce
163
170
resources :
Original file line number Diff line number Diff line change 1
1
{{- $v := .Values }}
2
+ {{- $provider := $v.cluster.provider }}
2
3
{{- range $v.builds }}
3
4
{{- if eq .mode.type "docker" }}
4
5
{{- $context := ( dir .mode.docker.path ) }}
@@ -112,6 +113,9 @@ spec:
112
113
metadata :
113
114
creationTimestamp : null
114
115
spec :
116
+ {{- if eq $provider "linode" }}
117
+ storageClassName : linode-block-storage
118
+ {{- end }}
115
119
accessModes :
116
120
- ReadWriteOnce
117
121
resources :
@@ -156,6 +160,9 @@ spec:
156
160
metadata :
157
161
creationTimestamp : null
158
162
spec :
163
+ {{- if eq $provider "linode" }}
164
+ storageClassName : linode-block-storage
165
+ {{- end }}
159
166
accessModes :
160
167
- ReadWriteOnce
161
168
resources :
You can’t perform that action at this time.
0 commit comments