You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to get the aws-vpn-controller to Run Locally; I edited config/samples/networking_v1alpha1_vpn.yaml to include my vpcid and vpnconnections settings.
MacBook-Pro aws-vpn-controller % make manifests install run
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all
CRD manifests generated under '/Users//go/src/github.com/awslabs/aws-vpn-controller/config/crds'
RBAC manifests generated under '/Users//go/src/github.com/awslabs/aws-vpn-controller/config/rbac'
kubectl apply -f config/crds
customresourcedefinition.apiextensions.k8s.io/vpns.networking.amazonaws.com configured
go generate ./pkg/... ./cmd/...
go fmt ./pkg/... ./cmd/...
go vet ./pkg/... ./cmd/...
# github.com/awslabs/aws-vpn-controller/pkg/apis/github.com/awslabs/aws-vpn-controller/pkg/apis/networking/v1alpha1
**vet: pkg/apis/github.com/awslabs/aws-vpn-controller/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go:26:11: undeclared name: VPN
make: *** [vet] Error 2**
EKS Cluster Build Issue:
note On the Installing section: I have a stable EKS 1.16 Cluster running, I have kubectl and awscli setup, and have an IAM role assigned to k8 nodes with admin access for testing at this time.
~/go/src # go get github.com/awslabs/aws-vpn-controller
~/go/src # cd github.com/awslabs/aws-vpn-controller/
~/go/src/github.com/awslabs/aws-vpn-controller # ls
CODE_OF_CONDUCT.md CONTRIBUTING.md Dockerfile Gopkg.lock Gopkg.toml LICENSE Makefile NOTICE OWNERS PROJECT README.md cmd config hack pkg vendor
1 ~/go/src/github.com/awslabs/aws-vpn-controller #
IMG="<accountID>.dkr.ecr.us-east-1.amazonaws.com/aws-vpn-controller:latest" ROLEARN="arn:aws:I am::<accountID>:role/DMA_CS_Role" make docker-build
go generate ./pkg/... ./cmd/...
go fmt ./pkg/... ./cmd/...
go vet ./pkg/... ./cmd/...
# github.com/awslabs/aws-vpn-controller/pkg/apis/github.com/awslabs/aws-vpn-controller/pkg/apis/networking/v1alpha1
vet: pkg/apis/github.com/awslabs/aws-vpn-controller/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go:26:11: undeclared name: VPN
make: *** [vet] Error 2
Any assistance on this issue would be greatly appreciated. I have tried updating the ../crds/networking_v1alpha1_vpn.yaml with a name: vpc-10, and vpcid: similar to whats shown in the ../samples/networking_v1alpha1_vpn.yaml having the name: samplevpn, and added the vpcid: but it still is not getting past the 'make docker-build' but do not seem to be making any progress.
Thanks All,
Best,
Jesse
The text was updated successfully, but these errors were encountered:
Local run, erroring on "undeclared name VPN"
EKS Cluster Build Issue:
Any assistance on this issue would be greatly appreciated. I have tried updating the ../crds/networking_v1alpha1_vpn.yaml with a name: vpc-10, and vpcid: similar to whats shown in the ../samples/networking_v1alpha1_vpn.yaml having the name: samplevpn, and added the vpcid: but it still is not getting past the 'make docker-build' but do not seem to be making any progress.
Thanks All,
Best,
Jesse
The text was updated successfully, but these errors were encountered: