Skip to content

Commit

Permalink
Update tests for Kubernetes 1.22
Browse files Browse the repository at this point in the history
and drop tests for Kubernetes 1.19
  • Loading branch information
ymmt2005 committed Dec 6, 2021
1 parent 663b0ea commit e07ceff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: End-to-End Tests
strategy:
matrix:
k8s-version: ["1.19.11", "1.20.7", "1.21.2"]
k8s-version: ["1.20.7", "1.21.2", "1.22.4"]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 5 additions & 5 deletions e2e/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
KIND_VERSION = 0.11.1
KUBERNETES_VERSION = 1.21.2
CERT_MANAGER_VERSION = 1.4.0
SEALED_SECRET_VERSION = 0.16.0
KUBERNETES_VERSION = 1.22.4
CERT_MANAGER_VERSION = 1.6.1
SEALED_SECRETS_VERSION = 0.16.0

KIND := $(dir $(shell pwd))/bin/kind
KUBECTL := $(dir $(shell pwd))/bin/kubectl
Expand Down Expand Up @@ -31,7 +31,7 @@ start: $(KIND) $(KUBECTL) $(HELM) $(KUBESEAL) $(KUBECTL_ACCURATE)
$(KUBECTL) -n cert-manager wait --for=condition=available --timeout=180s --all deployments
$(HELM) install --create-namespace --namespace accurate accurate ../charts/accurate -f values.yaml
$(KUBECTL) -n accurate wait --for=condition=available --timeout=180s --all deployments
$(KUBECTL) apply -f https://github.com/bitnami-labs/sealed-secrets/releases/download/v$(SEALED_SECRET_VERSION)/controller.yaml
$(KUBECTL) apply -f https://github.com/bitnami-labs/sealed-secrets/releases/download/v$(SEALED_SECRETS_VERSION)/controller.yaml
$(KUBECTL) -n kube-system wait --for=condition=available --timeout=180s --all deployments
rm -f sealed.json
$(KUBECTL) -n root2 create secret generic mysecret --dry-run=client --from-literal=foo=bar -o json | \
Expand Down Expand Up @@ -70,7 +70,7 @@ $(HELM):

$(KUBESEAL):
mkdir -p ../bin
curl -sfL -o $@ https://github.com/bitnami-labs/sealed-secrets/releases/download/v$(SEALED_SECRET_VERSION)/kubeseal-linux-amd64
curl -sfL -o $@ https://github.com/bitnami-labs/sealed-secrets/releases/download/v$(SEALED_SECRETS_VERSION)/kubeseal-linux-amd64
chmod a+x $@

$(KUBECTL_ACCURATE): $(wildcard ../cmd/kubectl-accurate/*/*.go)
Expand Down

0 comments on commit e07ceff

Please sign in to comment.