mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01:00
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:
parent
1e05d58f99
commit
316f8a857c
2 changed files with 21 additions and 13 deletions
|
@ -21,9 +21,9 @@ integrationDefaults: &integrationDefaults
|
|||
image: ubuntu-1604:201903-01
|
||||
working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/deployment
|
||||
environment:
|
||||
- K8S_VERSION: v1.18.2
|
||||
- K8S_VERSION: v1.20.2
|
||||
- KUBECONFIG: /home/circleci/.kube/kind-config-kind
|
||||
- KIND_VERSION: v0.8.1
|
||||
- KIND_VERSION: v0.10.0
|
||||
|
||||
setupKubernetes: &setupKubernetes
|
||||
- run:
|
||||
|
@ -51,6 +51,7 @@ jobs:
|
|||
name: Run Kubernetes deployment tests
|
||||
command: |
|
||||
cd ~/go/src/${CIRCLE_PROJECT_USERNAME}/ci/test/k8sdeployment
|
||||
go mod download
|
||||
GO111MODULE=on go test -v ./...
|
||||
|
||||
workflows:
|
||||
|
|
|
@ -11,16 +11,23 @@ metadata:
|
|||
kubernetes.io/bootstrapping: rbac-defaults
|
||||
name: system:coredns
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- endpoints
|
||||
- services
|
||||
- pods
|
||||
- namespaces
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- endpoints
|
||||
- services
|
||||
- pods
|
||||
- namespaces
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- discovery.k8s.io
|
||||
resources:
|
||||
- endpointslices
|
||||
verbs:
|
||||
- list
|
||||
- watch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
|
@ -109,7 +116,7 @@ spec:
|
|||
topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- name: coredns
|
||||
image: coredns/coredns:1.8.0
|
||||
image: coredns/coredns:1.8.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
|
|
Loading…
Reference in a new issue