Skip to content

Commit a09a052

Browse files
committed
feat(helmbroker): use gateway replace ingress
1 parent e9a93a2 commit a09a052

4 files changed

Lines changed: 35 additions & 37 deletions

File tree

charts/helmbroker/Chart.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ dependencies:
55
- name: common
66
repository: oci://registry.drycc.cc/charts
77
version: ~1.1.1
8+
- name: gateway
9+
repository: oci://registry.drycc.cc/charts-testing
10+
version: x.x.x
811
- name: rabbitmq
912
repository: oci://registry.drycc.cc/charts-testing
1013
version: x.x.x

charts/helmbroker/templates/helmbroker-ingress.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apiVersion: gateway.networking.k8s.io/v1beta1
2+
kind: HTTPRoute
3+
metadata:
4+
name: helmbroker-api-server
5+
labels:
6+
app: "drycc-helmbroker"
7+
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
8+
release: "{{ .Release.Name }}"
9+
heritage: "{{ .Release.Service }}"
10+
spec:
11+
hostnames:
12+
- drycc-helmbroker.{{ .Values.global.platformDomain }}
13+
parentRefs:
14+
- group: gateway.networking.k8s.io
15+
kind: Gateway
16+
name: drycc-gateway
17+
sectionName: drycc-gateway-listener-http
18+
{{- if .Values.global.certManagerEnabled }}
19+
- group: gateway.networking.k8s.io
20+
kind: Gateway
21+
name: drycc-gateway
22+
sectionName: drycc-gateway-listener-https
23+
{{- end }}
24+
rules:
25+
- matches:
26+
- path:
27+
type: PathPrefix
28+
value: /
29+
backendRefs:
30+
- name: drycc-manager
31+
port: 80

charts/helmbroker/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ global:
9898
# This will be the hostname that is used to build endpoints such as "drycc-helmbroker.$HOSTNAME"
9999
platformDomain: ""
100100
# Whether cert_manager is enabled to automatically generate helmbroker certificates
101-
certManagerEnabled: true
101+
certManagerEnabled: false

0 commit comments

Comments
 (0)