Skip to content

Commit b9d1ae5

Browse files
authored
Merge pull request #9 from controlplaneio-fluxcd/gateway-api
Install the Gateway API CRDs
2 parents d5c2a66 + 0b12781 commit b9d1ae5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

kubernetes/infra/gateway-api.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
apiVersion: fluxcd.controlplane.io/v1
2+
kind: ResourceSet
3+
metadata:
4+
name: gateway-api
5+
namespace: flux-system
6+
spec:
7+
wait: true
8+
inputs:
9+
- channel: experimental # or standard
10+
version: 1.x # auto upgrade to latest minor
11+
interval: 24h # check for updates daily
12+
resources:
13+
- apiVersion: source.toolkit.fluxcd.io/v1
14+
kind: GitRepository
15+
metadata:
16+
name: << inputs.provider.name >>
17+
namespace: << inputs.provider.namespace >>
18+
spec:
19+
interval: << inputs.interval | quote >>
20+
url: https://github.com/kubernetes-sigs/gateway-api.git
21+
ref:
22+
semver: << inputs.version | quote >>
23+
- apiVersion: kustomize.toolkit.fluxcd.io/v1
24+
kind: Kustomization
25+
metadata:
26+
name: << inputs.provider.name >>
27+
namespace: << inputs.provider.namespace >>
28+
spec:
29+
serviceAccountName: flux-operator
30+
interval: << inputs.interval | quote >>
31+
retryInterval: 5m
32+
timeout: 3m
33+
prune: true
34+
wait: true
35+
sourceRef:
36+
kind: GitRepository
37+
name: << inputs.provider.name >>
38+
path: config/crd/<< inputs.channel >>

0 commit comments

Comments
 (0)