This repository was archived by the owner on May 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
name : public-service
3
3
description : Helm chart for deploying an instance of a publicly available service on a K8s cluster (via HTTP from outside the cluster).
4
- version : 1.0.11
4
+ version : 1.1.0
Original file line number Diff line number Diff line change 1
1
{{- if .Values.ingress.enabled -}}
2
2
{{- $fullName := include "public-service.fullname" . -}}
3
3
{{- $ingressPath := .Values.ingress.path -}}
4
- apiVersion : networking.k8s.io/v1beta1
4
+ apiVersion : networking.k8s.io/v1
5
5
kind : Ingress
6
6
metadata :
7
7
name : {{ $fullName }}
@@ -31,18 +31,24 @@ spec:
31
31
http :
32
32
paths :
33
33
- path : {{ $ingressPath }}
34
+ pathType : ImplementationSpecific
34
35
backend :
35
- serviceName : {{ $fullName }}
36
- servicePort : service-port
36
+ service :
37
+ name : {{ $fullName }}
38
+ port :
39
+ name : service-port
37
40
{{- end }}
38
41
# If no hosts are defined, a default path for the backend mapping has to be defined
39
42
{{- if not .Values.ingress.hosts }}
40
43
- http :
41
44
paths :
42
45
- path : {{ $ingressPath }}
46
+ pathType : ImplementationSpecific
43
47
backend :
44
- serviceName : {{ $fullName }}
45
- servicePort : service-port
48
+ service :
49
+ name : {{ $fullName }}
50
+ port :
51
+ name : service-port
46
52
47
53
{{- end }}
48
54
{{- end }}
Original file line number Diff line number Diff line change 1
1
{{- if .Values.managecertificate.enabled -}}
2
- apiVersion : networking.gke.io/v1beta2
2
+ apiVersion : networking.gke.io/v1
3
3
kind : ManagedCertificate
4
4
metadata :
5
5
name : {{ .Values.managecertificate.name }}
Original file line number Diff line number Diff line change 1
1
{{- if .Values.pdb.enabled -}}
2
2
{{- $fullName := include "public-service.fullname" . -}}
3
- apiVersion : policy/v1beta1
3
+ apiVersion : policy/v1
4
4
kind : PodDisruptionBudget
5
5
metadata :
6
6
name : {{ $fullName }}
You can’t perform that action at this time.
0 commit comments