Bump coredns -> 1.8.3, k8s -> 1.20.2, and kind -> 0.10.0 (#246)

* bump coredns, k8s, and kind

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver 2021-02-25 11:11:45 -05:00 committed by GitHub
parent 1e05d58f99
commit 316f8a857c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 13 deletions

View file

@ -21,9 +21,9 @@ integrationDefaults: &integrationDefaults
image: ubuntu-1604:201903-01 image: ubuntu-1604:201903-01
working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/deployment working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/deployment
environment: environment:
- K8S_VERSION: v1.18.2 - K8S_VERSION: v1.20.2
- KUBECONFIG: /home/circleci/.kube/kind-config-kind - KUBECONFIG: /home/circleci/.kube/kind-config-kind
- KIND_VERSION: v0.8.1 - KIND_VERSION: v0.10.0
setupKubernetes: &setupKubernetes setupKubernetes: &setupKubernetes
- run: - run:
@ -51,6 +51,7 @@ jobs:
name: Run Kubernetes deployment tests name: Run Kubernetes deployment tests
command: | command: |
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/k8sdeployment cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/k8sdeployment
go mod download
GO111MODULE=on go test -v ./... GO111MODULE=on go test -v ./...
workflows: workflows:

View file

@ -11,16 +11,23 @@ metadata:
kubernetes.io/bootstrapping: rbac-defaults kubernetes.io/bootstrapping: rbac-defaults
name: system:coredns name: system:coredns
rules: rules:
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- endpoints - endpoints
- services - services
- pods - pods
- namespaces - namespaces
verbs: verbs:
- list - list
- watch - watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
@ -109,7 +116,7 @@ spec:
topologyKey: kubernetes.io/hostname topologyKey: kubernetes.io/hostname
containers: containers:
- name: coredns - name: coredns
image: coredns/coredns:1.8.0 image: coredns/coredns:1.8.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
limits: limits: