aws-service-operator icon indicating copy to clipboard operation
aws-service-operator copied to clipboard

Development Configurations 🔥

Open christopherhein opened this issue 7 years ago • 3 comments

If you would like to get started experimenting with the aws-service-operator I welcome all issues and PRs the current setup has a few steps.

Setup

Before you can use this project you need to compile the binary in the aws-service-operator-codegen

To do so from the root of the project run:

make install-aws-codegen

Building the Operator

Now you can build the operator using the same Makefile by running:

make rebuild

For development purposes this will build the binary locally allowing you to pass a --kubeconfig /SOME/PATH/TO/KUBECONFIG which will run the operator locally against a remote cluster.

If this is a brand new cluster and the released version hasn't been deployed OR you added a new service you should run kubectl apply -f configs/aws-service-operator.yaml then run kubectl delete deploy/aws-service-operator -n aws-service-operator since you don't want to have conflicting containers trying to deploy the resources.

Deploying Resources:

I have a handful of samples in examples/ open those files and edit anything you would like to experiment with.

christopherhein avatar Sep 29 '18 08:09 christopherhein

Go throws error on go get -u https://github.com/awslabs/aws-service-operator/code-generation/cmd/aws-service-operator-codegen - invalid char ':' I believe address should just start with domain name:

go get -u github.com/awslabs/aws-service-operator/code-generation/cmd/aws-service-operator-codegen

dmitrytokarev avatar Feb 06 '19 00:02 dmitrytokarev

Is issue still valid? there is no configs/aws-operator.yaml file.

dmitrytokarev avatar Feb 06 '19 00:02 dmitrytokarev

@dmitrytokarev I think this issue is just out of date. Let me update the description.

christopherhein avatar Feb 06 '19 18:02 christopherhein