File tree Expand file tree Collapse file tree 3 files changed +2
-45
lines changed Expand file tree Collapse file tree 3 files changed +2
-45
lines changed Original file line number Diff line number Diff line change 1
- domain: aws-mercury.io
2
- layout:
3
- - go.kubebuilder.io/v3
4
- projectName: code
5
- repo: github.com/aws/mercury-k8s-controller
6
- resources:
7
- - controller: true
8
- group: core
9
- kind: Service
10
- path: k8s.io/api/core/v1
11
- version: v1
12
- - controller: true
13
- group: core
14
- kind: Pod
15
- path: k8s.io/api/core/v1
16
- version: v1
17
- - controller: true
18
- domain: aws-mercury.io
19
- group: gateway.networking.k8s.io
20
- kind: GatewayClass
21
- version: v1alpha2
22
- - controller: true
23
- domain: aws-mercury.io
24
- group: gateway.networking.k8s.io
25
- kind: Gateway
26
- version: v1alpha2
27
- - controller: true
28
- domain: aws-mercury.io
29
- group: gateway.networking.k8s.io
30
- kind: HTTPRoute
31
- version: v1alpha2
32
- - controller: true
33
- domain: aws-mercury.io
34
- group: multicluster.x-k8s.io
35
- kind: ServiceImport
36
- version: v1alpha1
37
- - controller: true
38
- domain: aws-mercury.io
39
- group: multicluster.x-k8s.io
40
- kind: ServiceExport
41
- version: v1alpha1
42
- version: "3"
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ kubectl apply -f config/crds/bases/multicluster.x-k8s.io_serviceexports.yaml
18
18
kubectl apply -f config/crds/bases/multicluster.x-k8s.io_serviceimports.yaml
19
19
20
20
# Run the controller against the Kubernetes cluster pointed to by `kubectl config current-context`
21
- make run
21
+ # specify REGION where your cluster is running
22
+ REGION=us-west-2 make run
22
23
23
24
# or run it in debug mode
24
25
GATEWAY_API_CONTROLLER_LOGLEVEL=debug make run
Original file line number Diff line number Diff line change 1
1
package utils
2
2
3
- // {"arn":"arn:aws:mercury:us-east-1:649797057964:mesh/mesh-0f94edeeb1f6d63c6","id":"mesh-0f94edeeb1f6d63c6","name":"20220120mesh"}
4
-
5
3
// TODO: should be check by API call (Mingxi)
6
4
func ArntoId (arn string ) string {
7
5
if len (arn ) == 0 {
You can’t perform that action at this time.
0 commit comments