File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1111 selector :
1212 matchLabels :
1313 app : positron
14+ component : web
15+ layer : application
1416 strategy :
1517 rollingUpdate :
1618 maxSurge : 1
@@ -87,7 +89,7 @@ metadata:
8789 namespace : default
8890spec :
8991 scaleTargetRef :
90- apiVersion : extensions/v1beta1
92+ apiVersion : apps/v1
9193 kind : Deployment
9294 name : positron-web
9395 minReplicas : 2
@@ -216,18 +218,20 @@ spec:
216218 type : ClusterIP
217219
218220---
219- apiVersion : extensions /v1beta1
221+ apiVersion : networking.k8s.io /v1beta1
220222kind : Ingress
221223metadata :
222224 name : positron
223225 annotations :
224226 nginx.ingress.kubernetes.io/whitelist-source-range : " {{ cloudflareIpSourceRanges|join(',') }}"
225227spec :
228+ ingressClassName : nginx
226229 rules :
227230 - host : writer.artsy.net
228231 http :
229232 paths :
230233 - path : /
234+ pathType : Prefix
231235 backend :
232236 serviceName : positron-web-internal
233237 servicePort : http
You can’t perform that action at this time.
0 commit comments