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

module: update for Kubernetes 1.19

This commit is contained in:
Christian Nicolai 2020-08-31 13:18:14 +02:00
parent 4b52ec9ac2
commit b70b279a62
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ jobs:
k8s-version: k8s-version:
- v1.16.9 - v1.16.9
- v1.18.8 - v1.18.8
- v1.19.0
env: env:
kind-version: v0.8.1 kind-version: v0.8.1
steps: steps:

View File

@ -18,6 +18,7 @@ BLACKLIST_REGEXS = [
r'^.*:apps/v1:ControllerRevision:.*$', r'^.*:apps/v1:ControllerRevision:.*$',
r'^.*:apps/v1:ReplicaSet:.*$', r'^.*:apps/v1:ReplicaSet:.*$',
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'^.*:metrics.k8s.io/v1beta1:PodMetrics:.*$', r'^.*:metrics.k8s.io/v1beta1:PodMetrics:.*$',
r'^.*:v1:Endpoints:.*$', r'^.*:v1:Endpoints:.*$',
r'^.*:.*:EndpointSlice:.*$', r'^.*:.*:EndpointSlice:.*$',