Skip to content

Commit 53c2264

Browse files
committed
Create 0.8.0 release
1 parent 32ee8e6 commit 53c2264

File tree

10 files changed

+218
-247
lines changed

10 files changed

+218
-247
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ linters:
6868
- revive
6969
- staticcheck
7070
- stylecheck
71-
- tenv
7271
- typecheck
7372
- unconvert
7473
- unparam
74+
- usetesting

CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [0.7.2] - 2025-03-11
8-
### Changed
7+
## [0.8.0] - 2025-03-17
8+
### Added
99
- Add support for topologySpreadConstraints
10+
- Add pdb to helm chart
11+
### Changed
12+
- Changed to support multiple image pull secret values in a secret
13+
- Updated downstream kubernetes libraries
14+
### Fixed
15+
- Fixed rbac necessary for image pull secrets to correctly reference a cluster role
16+
### Removed
17+
- Removed image mutation metrics as they had too high cardinality vs usefulness.
1018

1119
## [0.7.1] - 2025-01-13
1220
### Changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM --platform=$BUILDPLATFORM golang:1.23 as builder
2+
FROM --platform=$BUILDPLATFORM golang:1.24 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ DOCKER_BUILDX_BUILDER ?= "harbor-container-webhook"
1717
all: $(addprefix build-,$(ARCH))
1818

1919
# Image registry for build/push image targets
20-
IMAGE_REGISTRY ?= ghcr.io/indeedeng-alpha/harbor-container-webhook
20+
IMAGE_REGISTRY ?= ghcr.io/indeedeng/harbor-container-webhook
2121

2222
HELM_DIR ?= deploy/charts/harbor-container-webhook
2323

2424
OUTPUT_DIR ?= bin
2525

26-
RUN_GOLANGCI_LINT := go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4
26+
RUN_GOLANGCI_LINT := go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
2727

2828
# check if there are any existing `git tag` values
2929
ifeq ($(shell git tag),)

deploy/charts/harbor-container-webhook/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ apiVersion: v2
22
name: harbor-container-webhook
33
description: Webhook to configure pods with harbor proxy cache projects
44
type: application
5-
version: 0.7.2
6-
appVersion: "0.7.2"
5+
version: 0.8.0
6+
appVersion: "0.8.0"
77
kubeVersion: ">= 1.16.0-0"
8-
home: https://github.com/IndeedEng-alpha/harbor-container-webhook
8+
home: https://github.com/IndeedEng/harbor-container-webhook
99
maintainers:
1010
- name: cnmcavoy
1111

deploy/charts/harbor-container-webhook/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# harbor-container-webhook
22

3-
![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square)
3+
![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.0](https://img.shields.io/badge/AppVersion-0.8.0-informational?style=flat-square)
44

55
Webhook to configure pods with harbor proxy cache projects
66

7-
**Homepage:** <https://github.com/IndeedEng-alpha/harbor-container-webhook>
7+
**Homepage:** <https://github.com/IndeedEng/harbor-container-webhook>
88

99
## Maintainers
1010

deploy/charts/harbor-container-webhook/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ tolerations: []
6161

6262
affinity: {}
6363

64+
topologySpreadConstraints: {}
65+
6466
extraArgs: []
6567
extraEnv: []
6668

go.mod

+62-59
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,92 @@
11
module github.com/indeedeng-alpha/harbor-container-webhook
22

3-
go 1.22.0
3+
go 1.23.0
4+
5+
toolchain go1.23.1
46

57
require (
6-
github.com/containerd/containerd v1.7.13
7-
github.com/containers/image/v5 v5.29.0
8-
github.com/google/go-containerregistry v0.17.0
9-
github.com/opencontainers/image-spec v1.1.0-rc5
10-
github.com/prometheus/client_golang v1.17.0
11-
github.com/stretchr/testify v1.8.4
8+
github.com/containerd/containerd v1.7.27
9+
github.com/containers/image/v5 v5.34.2
10+
github.com/google/go-containerregistry v0.20.3
11+
github.com/opencontainers/image-spec v1.1.1
12+
github.com/prometheus/client_golang v1.21.1
13+
github.com/stretchr/testify v1.10.0
1214
gopkg.in/yaml.v2 v2.4.0
13-
k8s.io/api v0.30.4
14-
k8s.io/apimachinery v0.30.4
15-
k8s.io/client-go v0.30.4
16-
sigs.k8s.io/controller-runtime v0.18.7
15+
k8s.io/api v0.32.3
16+
k8s.io/apimachinery v0.32.3
17+
k8s.io/client-go v0.32.3
18+
sigs.k8s.io/controller-runtime v0.20.3
1719
)
1820

1921
require (
20-
github.com/Microsoft/hcsshim v0.12.0-rc.1 // indirect
2122
github.com/beorn7/perks v1.0.1 // indirect
22-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
23+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
24+
github.com/containerd/errdefs v1.0.0 // indirect
2325
github.com/containerd/log v0.1.0 // indirect
24-
github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect
25-
github.com/containers/storage v1.51.0 // indirect
26-
github.com/davecgh/go-spew v1.1.1 // indirect
27-
github.com/docker/cli v24.0.7+incompatible // indirect
26+
github.com/containerd/platforms v0.2.1 // indirect
27+
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
28+
github.com/containers/storage v1.57.2 // indirect
29+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
30+
github.com/docker/cli v28.0.1+incompatible // indirect
2831
github.com/docker/distribution v2.8.3+incompatible // indirect
29-
github.com/docker/docker v24.0.7+incompatible // indirect
30-
github.com/docker/docker-credential-helpers v0.8.0 // indirect
31-
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
32-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
33-
github.com/fsnotify/fsnotify v1.7.0 // indirect
32+
github.com/docker/docker-credential-helpers v0.9.3 // indirect
33+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
34+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
35+
github.com/fsnotify/fsnotify v1.8.0 // indirect
36+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
3437
github.com/go-logr/logr v1.4.2 // indirect
3538
github.com/go-logr/zapr v1.3.0 // indirect
36-
github.com/go-openapi/jsonpointer v0.20.0 // indirect
37-
github.com/go-openapi/jsonreference v0.20.2 // indirect
38-
github.com/go-openapi/swag v0.22.4 // indirect
39+
github.com/go-openapi/jsonpointer v0.21.1 // indirect
40+
github.com/go-openapi/jsonreference v0.21.0 // indirect
41+
github.com/go-openapi/swag v0.23.1 // indirect
3942
github.com/gogo/protobuf v1.3.2 // indirect
40-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4143
github.com/golang/protobuf v1.5.4 // indirect
42-
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
43-
github.com/google/go-cmp v0.6.0 // indirect
44+
github.com/google/btree v1.1.3 // indirect
45+
github.com/google/gnostic-models v0.6.9 // indirect
46+
github.com/google/go-cmp v0.7.0 // indirect
4447
github.com/google/gofuzz v1.2.0 // indirect
45-
github.com/google/uuid v1.4.0 // indirect
46-
github.com/imdario/mergo v0.3.16 // indirect
48+
github.com/google/uuid v1.6.0 // indirect
4749
github.com/josharian/intern v1.0.0 // indirect
4850
github.com/json-iterator/go v1.1.12 // indirect
49-
github.com/klauspost/compress v1.17.4 // indirect
50-
github.com/mailru/easyjson v0.7.7 // indirect
51-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
51+
github.com/klauspost/compress v1.18.0 // indirect
52+
github.com/mailru/easyjson v0.9.0 // indirect
5253
github.com/mitchellh/go-homedir v1.1.0 // indirect
5354
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5455
github.com/modern-go/reflect2 v1.0.2 // indirect
5556
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5657
github.com/opencontainers/go-digest v1.0.0 // indirect
5758
github.com/pkg/errors v0.9.1 // indirect
58-
github.com/pmezard/go-difflib v1.0.0 // indirect
59-
github.com/prometheus/client_model v0.5.0 // indirect
60-
github.com/prometheus/common v0.45.0 // indirect
61-
github.com/prometheus/procfs v0.12.0 // indirect
59+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
60+
github.com/prometheus/client_model v0.6.1 // indirect
61+
github.com/prometheus/common v0.63.0 // indirect
62+
github.com/prometheus/procfs v0.15.1 // indirect
6263
github.com/sirupsen/logrus v1.9.3 // indirect
63-
github.com/spf13/pflag v1.0.5 // indirect
64-
github.com/vbatts/tar-split v0.11.5 // indirect
64+
github.com/spf13/pflag v1.0.6 // indirect
65+
github.com/vbatts/tar-split v0.12.1 // indirect
66+
github.com/x448/float16 v0.8.4 // indirect
6567
go.uber.org/multierr v1.11.0 // indirect
66-
go.uber.org/zap v1.26.0 // indirect
67-
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
68-
golang.org/x/net v0.23.0 // indirect
69-
golang.org/x/oauth2 v0.15.0 // indirect
70-
golang.org/x/sync v0.6.0 // indirect
71-
golang.org/x/sys v0.18.0 // indirect
72-
golang.org/x/term v0.18.0 // indirect
73-
golang.org/x/text v0.14.0 // indirect
74-
golang.org/x/time v0.5.0 // indirect
75-
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
76-
google.golang.org/appengine v1.6.8 // indirect
77-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
78-
google.golang.org/grpc v1.58.3 // indirect
79-
google.golang.org/protobuf v1.33.0 // indirect
68+
go.uber.org/zap v1.27.0 // indirect
69+
golang.org/x/net v0.37.0 // indirect
70+
golang.org/x/oauth2 v0.28.0 // indirect
71+
golang.org/x/sync v0.12.0 // indirect
72+
golang.org/x/sys v0.31.0 // indirect
73+
golang.org/x/term v0.30.0 // indirect
74+
golang.org/x/text v0.23.0 // indirect
75+
golang.org/x/time v0.11.0 // indirect
76+
golang.org/x/tools v0.31.0 // indirect
77+
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
78+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250313205543-e70fdf4c4cb4 // indirect
79+
google.golang.org/grpc v1.71.0 // indirect
80+
google.golang.org/protobuf v1.36.5 // indirect
81+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
8082
gopkg.in/inf.v0 v0.9.1 // indirect
8183
gopkg.in/yaml.v3 v3.0.1 // indirect
82-
k8s.io/apiextensions-apiserver v0.30.1 // indirect
83-
k8s.io/klog/v2 v2.120.1 // indirect
84-
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
85-
k8s.io/utils v0.0.0-20231127182322-b307cd553661 // indirect
86-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
87-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
84+
k8s.io/apiextensions-apiserver v0.32.3 // indirect
85+
k8s.io/klog/v2 v2.130.1 // indirect
86+
k8s.io/kube-openapi v0.0.0-20250304201544-e5f78fe3ede9 // indirect
87+
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
88+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
89+
sigs.k8s.io/randfill v1.0.0 // indirect
90+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
8891
sigs.k8s.io/yaml v1.4.0 // indirect
8992
)

0 commit comments

Comments
 (0)