1
0
mirror of https://github.com/cmur2/kube-stale-resources.git synced 2024-12-22 22:54:25 +01:00

ci: update kind and K8s versions

This commit is contained in:
Christian Nicolai 2021-06-10 16:39:58 +02:00
parent 7c5448a836
commit f5aa82a355
2 changed files with 9 additions and 5 deletions

View File

@ -32,11 +32,12 @@ jobs:
strategy: strategy:
matrix: matrix:
k8s-version: k8s-version:
- v1.16.15 - v1.18.19
- v1.18.15 - v1.19.11
- v1.19.7 - v1.20.7
- v1.21.1
env: env:
kind-version: v0.10.0 kind-version: v0.11.1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python 3.8 - name: Set up Python 3.8
@ -70,7 +71,7 @@ jobs:
# If this run was triggered by a pull request event, then checkout # If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit. # the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2 - run: git checkout HEAD
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.

View File

@ -20,6 +20,9 @@ BLACKLIST_REGEXS = [
r'^.*:batch/v1:Job:.*-\d{10,}$', # jobs created by cron jobs with unix timestamp suffix r'^.*:batch/v1:Job:.*-\d{10,}$', # jobs created by cron jobs with unix timestamp suffix
r'^.*:events.k8s.io/v1:Event:.*$', r'^.*:events.k8s.io/v1:Event:.*$',
r'^.*:metrics.k8s.io/v1beta1:PodMetrics:.*$', r'^.*:metrics.k8s.io/v1beta1:PodMetrics:.*$',
# CM with CA bundle to verify kube-apiserver connections,
# see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#introducing-rootcaconfigmap
r'^.*:v1:ConfigMap:kube-root-ca.crt$',
r'^.*:v1:Endpoints:.*$', r'^.*:v1:Endpoints:.*$',
r'^.*:.*:EndpointSlice:.*$', r'^.*:.*:EndpointSlice:.*$',
r'^.*:v1:Event:.*$', r'^.*:v1:Event:.*$',