forked from envoyproxy/gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
embed.go
52 lines (40 loc) · 1.48 KB
/
embed.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright Envoy Gateway Authors
// SPDX-License-Identifier: Apache-2.0
// The full text of the Apache license is available in the LICENSE file at
// the root of the repo.
package envoygateway
import (
"bytes"
_ "embed"
)
var (
//go:embed charts/gateway-helm/crds/gatewayapi-crds.yaml
gatewayAPICRDs []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_backends.yaml
backendCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_backendtrafficpolicies.yaml
backendTrafficPolicyCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml
clientTrafficPolicyCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml
envoyExtensionPolicyCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoypatchpolicies.yaml
envoyPatchPolicyCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml
envoyProxyCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_httproutefilters.yaml
httpRouteFilterCRD []byte
//go:embed charts/gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml
securityPolicyCRD []byte
)
var GatewayCRDs = bytes.Join([][]byte{
gatewayAPICRDs,
backendCRD,
backendTrafficPolicyCRD,
clientTrafficPolicyCRD,
envoyExtensionPolicyCRD,
envoyPatchPolicyCRD,
envoyProxyCRD,
httpRouteFilterCRD,
securityPolicyCRD,
}, []byte(""))