Skip to content

Commit

Permalink
fix: depricated apiVersion and service field (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich authored Jan 29, 2024
1 parent f5bdff7 commit e30a6be
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions deployment/templates/flower/flower-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: route.openshift.io/v1
kind: Route
{{- else }}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
{{ end }}
metadata:
Expand Down Expand Up @@ -31,8 +31,11 @@ status:
- host: {{ .Values.flower.appName }}.{{ .Values.applicationDomain }}
http:
paths:
- path: "/"
- path: /
pathType: Exact
backend:
serviceName: {{ .Values.flower.appName }}
servicePort: 5555
service:
name: {{ .Values.flower.appName }}
port:
number: 5555
{{ end }}
9 changes: 6 additions & 3 deletions deployment/templates/prowes/prowes-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: route.openshift.io/v1
kind: Route
{{- else }}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
{{ end }}
metadata:
Expand Down Expand Up @@ -33,7 +33,10 @@ status:
http:
paths:
- path: "/ga4gh/wes/v1"
pathType: Exact
backend:
serviceName: {{ .Values.prowes.appName }}
servicePort: 8080
service:
name: {{ .Values.prowes.appName }}
port:
number: 8080
{{ end }}
2 changes: 1 addition & 1 deletion deployment/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ applicationDomain: rahtiapp.fi

# which cluster type proWES is going to be deployed on
# it can be either 'kubernetes' or 'openshift'
clusterType: openshift
clusterType: kubernetes

flower:
appName: prowes-flower
Expand Down

0 comments on commit e30a6be

Please sign in to comment.