Skip to content

Commit

Permalink
FWI-5523 - Bump Polaris version used on admission plugin to 8.4.0+ (#865
Browse files Browse the repository at this point in the history
)

* update polaris version in admission

* bump version
  • Loading branch information
vitorvezani authored Jan 10, 2024
1 parent 8d32f26 commit befd632
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 13 deletions.
11 changes: 11 additions & 0 deletions plugins/admission/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 1.14.0
### update polaris to 8.5.4. More info Below:

* rename `metadataAndNameMismatched` to `metadataAndInstanceMismatched`
* update `kubernetes.io/` label from `name` to `instance`
* update `clusterrolebindingClusterAdmin` check
* update `rolebindingClusterAdminClusterRole` check
* update `rolebindingClusterRolePodExecAttach` check
* update `rolebindingRolePodExecAttach` check
* update `topologySpreadConstraint` check

## 1.13.4
* Bump alpine to 3.19

Expand Down
9 changes: 5 additions & 4 deletions plugins/admission/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ require (
// IMPORTANT: Please also update the const constant in pkg/pluto/pluto.go
// when updating the below Pluto version.
github.com/fairwindsops/pluto/v5 v5.16.4
github.com/fairwindsops/polaris v0.0.0-20230622172219-4ca4c8f0f536 // 8.2.4
github.com/fairwindsops/polaris v0.0.0-20240103201704-c8394bf9d770 // 8.5.4
github.com/hashicorp/go-multierror v1.1.1
github.com/rogpeppe/go-internal v1.10.0
github.com/samber/lo v1.38.1
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
github.com/thoas/go-funk v0.9.3 // indirect
gomodules.xyz/jsonpatch/v2 v2.3.0
k8s.io/api v0.27.2
k8s.io/apimachinery v0.27.3
k8s.io/client-go v0.27.2
k8s.io/api v0.27.3
k8s.io/apimachinery v0.27.4
k8s.io/client-go v0.27.3
sigs.k8s.io/controller-runtime v0.15.0
sigs.k8s.io/yaml v1.3.0
)
Expand All @@ -35,6 +35,7 @@ require (
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
github.com/fairwindsops/controller-utils v0.3.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
Expand Down
18 changes: 10 additions & 8 deletions plugins/admission/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCv
github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww=
github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4=
github.com/fairwindsops/controller-utils v0.3.0 h1:otfA6HZ7oVzF690AdGwVU4+6Q5Uie6G6oOF7MBT+L4g=
github.com/fairwindsops/controller-utils v0.3.0/go.mod h1:Plr++8B/A+TlhbVBG0sNhToaaQKo7LoFNIfdKi58vpM=
github.com/fairwindsops/pluto/v5 v5.16.4 h1:5pOzXrKhL/MKNsbXR9LAdap6p+fQ0qEsKTh8VT7HJQ8=
github.com/fairwindsops/pluto/v5 v5.16.4/go.mod h1:k8cJm1WcjQ2LAXx7dI85344deHfo40S/WB21tejujg0=
github.com/fairwindsops/polaris v0.0.0-20230622172219-4ca4c8f0f536 h1:jblP48fPj/0SHknXDZ1gmk3Vr1B5XVTeHvQn5IISV/E=
github.com/fairwindsops/polaris v0.0.0-20230622172219-4ca4c8f0f536/go.mod h1:K/M6yZCfS+n3FngOgVgOVHW3nIEl4+jyYNHIJ+XGIX0=
github.com/fairwindsops/polaris v0.0.0-20240103201704-c8394bf9d770 h1:gGAQ84pwtqCBXHTPWyNgSW7R/tVReFh24KILLlyA2+0=
github.com/fairwindsops/polaris v0.0.0-20240103201704-c8394bf9d770/go.mod h1:RSDHIzhCMmMPiJPAIuos48iFQ+SNJf6ChaIVHtJyk/g=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
Expand Down Expand Up @@ -823,14 +825,14 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
k8s.io/api v0.27.2 h1:+H17AJpUMvl+clT+BPnKf0E3ksMAzoBBg7CntpSuADo=
k8s.io/api v0.27.2/go.mod h1:ENmbocXfBT2ADujUXcBhHV55RIT31IIEvkntP6vZKS4=
k8s.io/api v0.27.3 h1:yR6oQXXnUEBWEWcvPWS0jQL575KoAboQPfJAuKNrw5Y=
k8s.io/api v0.27.3/go.mod h1:C4BNvZnQOF7JA/0Xed2S+aUyJSfTGkGFxLXz9MnpIpg=
k8s.io/apiextensions-apiserver v0.27.2 h1:iwhyoeS4xj9Y7v8YExhUwbVuBhMr3Q4bd/laClBV6Bo=
k8s.io/apiextensions-apiserver v0.27.2/go.mod h1:Oz9UdvGguL3ULgRdY9QMUzL2RZImotgxvGjdWRq6ZXQ=
k8s.io/apimachinery v0.27.3 h1:Ubye8oBufD04l9QnNtW05idcOe9Z3GQN8+7PqmuVcUM=
k8s.io/apimachinery v0.27.3/go.mod h1:XNfZ6xklnMCOGGFNqXG7bUrQCoR04dh/E7FprV6pb+E=
k8s.io/client-go v0.27.2 h1:vDLSeuYvCHKeoQRhCXjxXO45nHVv2Ip4Fe0MfioMrhE=
k8s.io/client-go v0.27.2/go.mod h1:tY0gVmUsHrAmjzHX9zs7eCjxcBsf8IiNe7KQ52biTcQ=
k8s.io/apimachinery v0.27.4 h1:CdxflD4AF61yewuid0fLl6bM4a3q04jWel0IlP+aYjs=
k8s.io/apimachinery v0.27.4/go.mod h1:XNfZ6xklnMCOGGFNqXG7bUrQCoR04dh/E7FprV6pb+E=
k8s.io/client-go v0.27.3 h1:7dnEGHZEJld3lYwxvLl7WoehK6lAq7GvgjxpA3nv1E8=
k8s.io/client-go v0.27.3/go.mod h1:2MBEKuTo6V1lbKy3z1euEGnhPfGZLKTS9tiJ2xodM48=
k8s.io/component-base v0.27.2 h1:neju+7s/r5O4x4/txeUONNTS9r1HsPbyoPBAtHsDCpo=
k8s.io/component-base v0.27.2/go.mod h1:5UPk7EjfgrfgRIuDBFtsEFAe4DAvP3U+M8RTzoSJkpo=
k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
Expand Down
2 changes: 1 addition & 1 deletion plugins/admission/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.4
1.14.0

0 comments on commit befd632

Please sign in to comment.