Skip to content

Commit

Permalink
Merge pull request #90 from amazeeio/kubernetes-1.22
Browse files Browse the repository at this point in the history
Updates to support Kubernetes 1.22
  • Loading branch information
shreddedbacon authored Oct 29, 2021
2 parents e580128 + 74b23e3 commit 14632ea
Show file tree
Hide file tree
Showing 47 changed files with 1,578 additions and 2,440 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lagoon-kbd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ jobs:
fetch-depth: "0"
- name: Set up testing dependencies
run: sudo apt-get update && sudo apt-get -y install build-essential && sudo apt-get clean
- name: Install go, kustomize, kubebuilder, helm, docker-compose, kind
- name: Setup correct Go version
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Install kustomize, kubebuilder, helm, docker-compose, kind
run: |
#go
sudo rm -rf /usr/local/go
curl -sLo /tmp/go1.13.7.linux-amd64.tar.gz https://dl.google.com/go/go1.13.7.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf /tmp/go1.13.7.linux-amd64.tar.gz
#kustomize
curl -sLo /tmp/kustomize_v3.5.4_linux_amd64.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.5.4/kustomize_v3.5.4_linux_amd64.tar.gz
sudo tar -C /usr/local/bin -xzf /tmp/kustomize_v3.5.4_linux_amd64.tar.gz
#kubebuilder
curl -sL https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.2.0/kubebuilder_2.2.0_linux_amd64.tar.gz | tar -xz -C /tmp/
curl -sL https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.2/kubebuilder_2.3.2_linux_amd64.tar.gz | tar -xz -C /tmp/
sudo mkdir -p /usr/local/kubebuilder/bin
sudo mv /tmp/kubebuilder_2.2.0_linux_amd64/bin/* /usr/local/kubebuilder/bin
sudo mv /tmp/kubebuilder_2.3.2_linux_amd64/bin/* /usr/local/kubebuilder/bin
chmod +x /usr/local/kubebuilder/bin/*
#helm
curl -sL https://get.helm.sh/helm-v3.3.0-rc.1-linux-amd64.tar.gz | tar -xz -C /tmp/
curl -sL https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz | tar -xz -C /tmp/
sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm
chmod +x /usr/local/bin/helm
#docker-compose
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.13 as builder
FROM golang:1.16-alpine3.13 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.4 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
104 changes: 0 additions & 104 deletions charts/index.yaml

This file was deleted.

Binary file removed charts/lagoon-builddeploy-0.1.0.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.1.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.2.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.3.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.4.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.5.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.6.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.7.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.8.tgz
Binary file not shown.
Binary file removed charts/lagoon-builddeploy-0.1.9.tgz
Binary file not shown.
23 changes: 0 additions & 23 deletions charts/lagoon-builddeploy/.helmignore

This file was deleted.

22 changes: 0 additions & 22 deletions charts/lagoon-builddeploy/Chart.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions charts/lagoon-builddeploy/templates/_helpers.tpl

This file was deleted.

29 changes: 0 additions & 29 deletions charts/lagoon-builddeploy/templates/clusterrole.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions charts/lagoon-builddeploy/templates/clusterrolebinding.yaml

This file was deleted.

Loading

0 comments on commit 14632ea

Please sign in to comment.