Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to CRDS and Kube builder #33

Merged
merged 52 commits into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
befff6d
initial machine actuator update implementation
marwanad Nov 10, 2018
0fbb848
update kubelet and control plane version
marwanad Nov 10, 2018
3ca0378
init kubebuilder project
marwanad Nov 13, 2018
0b4a88d
add API types for machine and cluster provider config
marwanad Nov 13, 2018
5e2c20b
prepare for cluster api vendor upgrade
marwanad Nov 14, 2018
746cf33
vendor: update cluster-api and vendor controller-runtime dependencies
marwanad Nov 14, 2018
2c83deb
move cloud directory under pkg
marwanad Nov 14, 2018
7288998
update cluster actuator to use controller manager
marwanad Nov 14, 2018
b245b91
update machine actuator and machine status
marwanad Nov 14, 2018
1023e46
remove unused providerconfig
marwanad Nov 14, 2018
32fa826
update manager to reigster acutators properly
marwanad Nov 14, 2018
75e319e
fix package import for azureconfigv1
marwanad Nov 14, 2018
085d8bd
re-run codegen
marwanad Nov 14, 2018
32bb521
remove unused controller
marwanad Nov 14, 2018
14f5fbe
make it compile
marwanad Nov 14, 2018
16bb34e
move arm templates under resourcemanagement package and update Docker…
marwanad Nov 15, 2018
8906a00
update kustomize config files
marwanad Nov 15, 2018
4539635
use generated cluster name in the template file
marwanad Nov 15, 2018
4d32b96
fix one machine update test case that doesnt utilize cluster api client
marwanad Nov 15, 2018
51de26b
update e2e test client
marwanad Nov 15, 2018
de596bb
vendor: update vendored dependencies
marwanad Nov 15, 2018
bd40d35
manually add upstream crd configs
marwanad Nov 15, 2018
920853d
set logtostderr flag for manager
marwanad Nov 15, 2018
6212ddf
remove exampleconfigs and duplicate boilerplate.txt
marwanad Nov 15, 2018
d2b2e21
move configtemplate to clusterctl/examples
marwanad Nov 15, 2018
e9cce81
add vendors target, dev image push and build to makefile
marwanad Nov 15, 2018
68e7d3f
add targets for machine and cluster actuator unit tests
marwanad Nov 15, 2018
6398dc6
update build and test pipeline
marwanad Nov 15, 2018
574d02c
dont prune cluster-api package
marwanad Nov 15, 2018
f440c5e
set NODE_NAME env var to avoid self deletion
marwanad Nov 15, 2018
207f55e
fix machine status update
marwanad Nov 15, 2018
86c1d8b
disable e2e pipeline
marwanad Nov 16, 2018
4129ef4
update .gitignore
marwanad Nov 16, 2018
dcec2b4
cleanup generate-yaml script and remove unused makefiles
marwanad Nov 16, 2018
675fcd1
fix package import and remove unused test files
marwanad Nov 17, 2018
8884720
remove unused provider components template
marwanad Nov 17, 2018
5d8651e
update kustomize secret generator to read from env variables
marwanad Nov 17, 2018
ecb4f7f
replace minikube with kubeadm-dind
marwanad Nov 17, 2018
b6aaaab
setup local docker registry and configure the nodes to pull the images
marwanad Nov 17, 2018
4a0e8de
fix the rest of the E2E steps and re-enable the pipeline
marwanad Nov 17, 2018
ead34fa
change docker image placeholder
marwanad Nov 18, 2018
d914b2c
export service principal values to a file
marwanad Nov 18, 2018
129dfde
update README with the new setup instructions
marwanad Nov 19, 2018
fa55115
vendor: update packages
marwanad Nov 27, 2018
afe761c
add skipping creating service principal if flag is set
marwanad Nov 29, 2018
fe3957b
update e2e tests
marwanad Nov 29, 2018
9b8fd56
fix machine annotation update for first creation
marwanad Nov 29, 2018
a5b920d
only update the status once for node recreation
marwanad Dec 3, 2018
9b3a268
install specific control plane version through kubeadm
marwanad Dec 4, 2018
aa97db8
upgrade kubectl client version with the control plane
marwanad Dec 5, 2018
ab655ce
switch to alpine 3.8
marwanad Dec 5, 2018
06cb84b
use explicit argument indices for formatting strings
marwanad Dec 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
*.test
.idea/
bin/
.env
exampleconfigs/provider-components.yaml
minikube.kubeconfig
generatedconfigs/
sshkey*
kubeconfig
*.out
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Build the manager binary
FROM golang:1.10.3 as builder

# Copy in the go src
WORKDIR /go/src/github.com/platform9/azure-provider
COPY pkg/ pkg/
COPY cmd/ cmd/
COPY vendor/ vendor/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager github.com/platform9/azure-provider/cmd/manager

# Copy the controller-manager into a thin image
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is alpine 3.8 possible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup - it should be. The file was generated using kube-builder and I think it defaulted to ubuntu.

FROM ubuntu:latest
WORKDIR /root/
COPY --from=builder /go/src/github.com/platform9/azure-provider/manager .
COPY --from=builder /go/src/github.com/platform9/azure-provider/pkg/cloud/azure/services/resourcemanagement/template/deployment-template.json .
ENTRYPOINT ["./manager"]
Loading