Skip to content

Commit

Permalink
Remove KOPS test cluster scripts (#215)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Downey <[email protected]>
  • Loading branch information
kevdowney authored Mar 10, 2023
1 parent 3ac4236 commit 9cdca6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 182 deletions.
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ IMG ?= keikoproj/addon-manager:latest
ENVTEST_K8S_VERSION = 1.24

KUBERNETES_LOCAL_CLUSTER_VERSION ?= --image=kindest/node:v1.24.7
KOPS_STATE_STORE=s3://kops-state-store-233444812205-us-west-2
KOPS_CLUSTER_NAME=kops-aws-usw2.cluster.k8s.local
GIT_COMMIT := $(shell git rev-parse --short HEAD)
BUILD_DATE := $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
PKGS := $(shell go list ./...|grep -v test-)
Expand Down Expand Up @@ -72,18 +70,6 @@ clean:
@for addon in $(kubectl get addons -n addon-manager-system -o jsonpath='{.items[*].metadata.name}'); do kubectl patch addon ${addon} -n addon-manager-system -p '{"metadata":{"finalizers":null}}' --type=merge; done
@kubectl kustomize config/default | kubectl delete -f - 2> /dev/null || true

kops-cluster-setup:
kops replace --force --state=${KOPS_STATE_STORE} -f hack/kops-aws-usw2.cluster.yaml
kops create secret --state=${KOPS_STATE_STORE} --name=${KOPS_CLUSTER_NAME} sshpublickey admin -i ~/.ssh/id_rsa.pub

kops-cluster:
kops update cluster --state=${KOPS_STATE_STORE} --name=${KOPS_CLUSTER_NAME} --yes
kops rolling-update cluster --state=${KOPS_STATE_STORE} --name=${KOPS_CLUSTER_NAME} --yes --cloudonly
kops validate cluster --state=${KOPS_STATE_STORE} --name=${KOPS_CLUSTER_NAME};

kops-cluster-delete:
kops delete --state=${KOPS_STATE_STORE} -f hack/kops-aws-usw2.cluster.yaml --yes

kind-cluster-config:
export KUBECONFIG=$$(kind export kubeconfig --name="kind")

Expand Down
168 changes: 0 additions & 168 deletions hack/kops-aws-usw2.cluster.yaml

This file was deleted.

0 comments on commit 9cdca6d

Please sign in to comment.