Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from kumahq:master #25

Merged
merged 193 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
6f324bf
chore(deps): bump kumahq/kuma-gui to 12b48d6b80354edb29c8a35ed5726159…
kumahq[bot] Mar 26, 2024
815bb63
chore(deps): bump github.com/gruntwork-io/terratest from 0.46.11 to 0…
dependabot[bot] Mar 26, 2024
6b9c380
build(kuma-init): don't run try to run iptables when building kuma-in…
michaelbeaumont Mar 26, 2024
6b222de
chore(deps): bump github.com/prometheus/common from 0.50.0 to 0.51.1 …
dependabot[bot] Mar 26, 2024
084554e
ci(stability): wait for kuma service to be available (#9730)
slonka Mar 27, 2024
175abec
feat(meshmetrics): profiles implementation (#9624)
slonka Mar 27, 2024
7bbf84d
Revert "build(kuma-init): don't run try to run iptables when building…
bartsmykla Mar 27, 2024
61b8c5a
Revert "feat(images/kuma-init): use iptables-wrapper to use correct i…
bartsmykla Mar 27, 2024
bec4300
chore(deps): bump kumahq/kuma-gui to 4a3756085ff7f46a33adee9559ef257e…
kumahq[bot] Mar 27, 2024
7bf42a2
Merge pull request #9734 from bartsmykla/chore/revert-iptables-wrappe…
bartsmykla Mar 27, 2024
ae09056
chore(deps): bump kumahq/kuma-gui to 36994c8ea5530395034a7b89d61b78f2…
kumahq[bot] Mar 27, 2024
34abd29
chore(meshmetric): adjust logs (#9737)
slonka Mar 27, 2024
67f0409
feat(resources): add status (#9676)
jakubdyszkiewicz Mar 27, 2024
bc7e6de
docs(MADR): mesh service api (#9689)
jakubdyszkiewicz Mar 27, 2024
ee20a34
chore(deps): bump kumahq/kuma-gui to 8127d988f8da56601dc956d7cd0044fe…
kumahq[bot] Mar 27, 2024
aba0cd3
chore(deps): bump kumahq/kuma-gui to 1a7ff40dce5181a2866f8731af34d4b7…
kumahq[bot] Mar 28, 2024
af49ec0
feat(kuma-dp): use Envoy `--drain-strategy immediate` (#9741)
michaelbeaumont Mar 28, 2024
54cc9f9
fix(kds): fix memory leak on kds error (#9742)
Automaat Mar 28, 2024
75ec977
chore(deps): bump kumahq/kuma-gui to 32a1f90e3bbf67577800da72a2e9b879…
kumahq[bot] Mar 28, 2024
2d4289c
ci(github): increase image build timeout a limit (#9753)
lahabana Mar 29, 2024
d3061dd
feat(xds): generate an empty direct response listener for empty zone …
jijiechen Mar 29, 2024
c559222
ci(github): only run provenance on tags (#9752)
lahabana Mar 29, 2024
8f00873
feat(transparent-proxy): add automatic iptables type detection (#9750)
bartsmykla Mar 29, 2024
444cf2d
feat(meshservice): k8s controller to convert service (#9702)
jakubdyszkiewicz Mar 29, 2024
9d93621
feat(meshmetric): filter out internal clusters (#9754)
slonka Mar 29, 2024
ca97007
chore(kumactl): remove `kumactl install gateway` (#9743)
lahabana Mar 29, 2024
55436db
ci(github): tweak parallelism in build-test-distribute (#9760)
lahabana Mar 29, 2024
1e8c241
fix(kds): skip error on context cancelled (#9748)
Automaat Mar 29, 2024
95c5e33
docs(CHANGELOG.md): updating changelog and version files (#9766)
kumahq[bot] Mar 29, 2024
965614d
docs(CHANGELOG.md): updating changelog and version files (#9769)
kumahq[bot] Mar 29, 2024
b644c4c
chore(deps): bump kumahq/kuma-gui to d1b4421149c353a0ea32a0ec514f493a…
kumahq[bot] Apr 2, 2024
a8919ae
chore(deps): bump actions/create-github-app-token from 1.9.0 to 1.9.1…
dependabot[bot] Apr 2, 2024
e440281
chore(deps): bump kumahq/kuma-gui to d0427ff97b293540b30a5079e24e686a…
kumahq[bot] Apr 2, 2024
e847f3f
chore(deps): bump kumahq/kuma-gui to f687c3303d155a918c2ea2b7f55ff0e3…
kumahq[bot] Apr 2, 2024
60e8933
chore(deps): bump kumahq/kuma-gui to bfa106c8960e94d07876bac4116d1e92…
kumahq[bot] Apr 2, 2024
b0bb430
chore(deps): bump kumahq/kuma-gui to 3616bd26345a0f10697b0620a38435af…
kumahq[bot] Apr 2, 2024
0b936ab
fix(kds): skip error log on context cancelled (#9780)
Automaat Apr 2, 2024
fdebf4b
fix(transparent-proxy): make iptables mode detection more defensive (…
bartsmykla Apr 2, 2024
68d5610
feat(kds): stats of kds client versions (#9749)
jakubdyszkiewicz Apr 2, 2024
eb34165
fix(kumactl): correctly print new style resources (#9779)
lahabana Apr 2, 2024
32bf4ec
chore(meshservice): remove status in spec (#9782)
jakubdyszkiewicz Apr 2, 2024
a58e47d
ci(github): fix provenance to use version for action (#9789)
lahabana Apr 2, 2024
388c4bb
ci(github): correct DOCKER_USERNAME in provenance (#9791)
lahabana Apr 2, 2024
576286b
docs(CHANGELOG.md): updating changelog and version files (#9792)
kumahq[bot] Apr 2, 2024
cd4bb01
docs(MADR): transition to new policies (#9571)
lobkovilya Apr 3, 2024
ff3c8be
feat(meshmetric): disable rollup of clusters (#9768)
slonka Apr 3, 2024
8049117
ci(update-vulnerable-dependencies): pass KUMA_DIR to the script (#9795)
bartsmykla Apr 3, 2024
5310732
feat(gatewayapi): use MeshHTTPRoutes instead of MeshGatewayRoutes int…
bartsmykla Apr 3, 2024
361ca95
ci(check): fail CI wih `ci/force-publish` label on PRs from forks (#9…
bartsmykla Apr 3, 2024
a8387aa
chore(deps): bump kumahq/kuma-gui to b7ba89fc410ecd67b14b404aadfc322d…
kumahq[bot] Apr 3, 2024
64dc392
feat(components): exponential backoff for resilient components (#9767)
jakubdyszkiewicz Apr 3, 2024
a09430d
feat(meshmetric): manually remove regex (#9793)
slonka Apr 3, 2024
2c5743e
ci(build-test-distribute): fix check of 'ci/force-push' label in PRs …
bartsmykla Apr 3, 2024
1095586
chore(deps): security update (#9819)
kumahq[bot] Apr 4, 2024
fe96bc2
chore(deps): bump github.com/cilium/ebpf from 0.13.2 to 0.14.0 (#9771)
dependabot[bot] Apr 4, 2024
d029597
feat(kubernetes): add possibility to not add owner reference (#9794)
lahabana Apr 4, 2024
3bd6d39
ci(github): add registry to provenance (#9807)
lahabana Apr 4, 2024
5e778f3
chore(deps): bump kumahq/kuma-gui to 7a002010927326f1489fa684b88a3df0…
kumahq[bot] Apr 4, 2024
c6813f3
chore(deps): bump kumahq/kuma-gui to 2996bbf0a1ec6c4f33e8129d7e9c0d09…
kumahq[bot] Apr 4, 2024
9947e7d
chore(deps): bump kumahq/kuma-gui to 5ea8a92521ba429759ebf5d8134ce57e…
kumahq[bot] Apr 4, 2024
7518e22
feat(api-server): add format and include_eds to admin api (#9814)
lahabana Apr 4, 2024
8720bc6
chore(deps): bump kumahq/kuma-gui to 09c16bd358dfdf96396c9ce1b783dc92…
kumahq[bot] Apr 4, 2024
8be76f7
docs(MADR): fix some typos (#9829)
frameflare Apr 5, 2024
9136f66
ci(github): fix bad input to build_publish (#9828)
lahabana Apr 5, 2024
b2e462f
chore(deps): bump kumahq/kuma-gui to d8574a06b7190dd8b8fabdf888f7f9b4…
kumahq[bot] Apr 5, 2024
98e097f
feat(auth): add possibility to restrict /config access (#9826)
lahabana Apr 5, 2024
d03b15b
chore(deps): bump kumahq/kuma-gui to 18a0d352192b725407b230dbeda875cf…
kumahq[bot] Apr 5, 2024
5f28db7
docs(UPGRADE.md): remove or fix links (#9835)
lahabana Apr 5, 2024
9ce121b
chore(deps): bump kumahq/kuma-gui to 3eb9230125607a21f51327c1f1b3d704…
kumahq[bot] Apr 5, 2024
e749eea
chore(deps): bump kumahq/kuma-gui to 7f3f722c9fda0359f3473e6a185add16…
kumahq[bot] Apr 5, 2024
ef854a9
chore(deps): bump kumahq/kuma-gui to d237ff5741f97e72484f546952415eb0…
kumahq[bot] Apr 8, 2024
4c01818
chore(deps): upgrade Envoy from 1.29.2 to 1.29.3 (#9853)
lukidzi Apr 8, 2024
39b5175
chore(deps): bump kumahq/kuma-gui to c5346fce5422e04a9424dd15c828b750…
kumahq[bot] Apr 8, 2024
4752f7b
fix(kds): fix retry on NACK and add backoff (#9736)
slonka Apr 8, 2024
ba3fae5
chore(deps): bump kumahq/kuma-gui to 04290c2a81adb11c85f010737bc18fb5…
kumahq[bot] Apr 8, 2024
b0ab7af
docs(MADR): `warnings` field in the Resource API responses (#9862)
lobkovilya Apr 8, 2024
b82f37d
chore(.gitignore): ignore justfile (#9863)
michaelbeaumont Apr 8, 2024
a4db2e8
chore(deps): bump github/codeql-action from 3.24.9 to 3.24.10 (#9872)
dependabot[bot] Apr 8, 2024
b9704ec
chore(deps): bump github.com/testcontainers/testcontainers-go from 0.…
dependabot[bot] Apr 8, 2024
948b447
chore(deps): bump actions/create-github-app-token from 1.9.1 to 1.9.3…
dependabot[bot] Apr 8, 2024
b079b8a
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#9866)
dependabot[bot] Apr 8, 2024
8598ce6
chore(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 (#9865)
dependabot[bot] Apr 8, 2024
878ff36
chore(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.…
dependabot[bot] Apr 8, 2024
ee89f11
chore(deps): bump distroless/static-debian11 from `c7c26a4` to `459f8…
dependabot[bot] Apr 8, 2024
d87916b
ci(.github): add run-name to release workflow (#9876)
michaelbeaumont Apr 8, 2024
cbd38e3
ci(protos): remove some no longer used proto dependencies (#9840)
lahabana Apr 8, 2024
6856d9f
chore(deps): bump github.com/prometheus/common from 0.51.1 to 0.52.2 …
dependabot[bot] Apr 8, 2024
3578b4e
chore(deps): bump github.com/spiffe/go-spiffe/v2 from 2.1.7 to 2.2.0 …
dependabot[bot] Apr 8, 2024
30033c7
chore(deps): bump golang.org/x/net from 0.23.0 to 0.24.0 (#9869)
dependabot[bot] Apr 9, 2024
cade8d4
chore(deps): bump distroless/base-nossl-debian11 from `133d7a9` to `4…
dependabot[bot] Apr 9, 2024
c0df6fb
ci(build): fix jobs depending on distributions being skipped because …
slonka Apr 9, 2024
cc48be8
chore(deps): bump kumahq/kuma-gui to 7e9ed7bd1a8a132b99bb86e6edabd6d8…
kumahq[bot] Apr 9, 2024
75b99bc
feat(kuma-cni): add a init container to validate iptables rules are a…
jijiechen Apr 9, 2024
5dc5357
chore(deps): bump the go-opentelemetry-io group with 10 updates (#9864)
dependabot[bot] Apr 9, 2024
08213b5
chore(deps): bump kumahq/kuma-gui to 0a9e1b5cc6b6188a7e4321760439a65c…
kumahq[bot] Apr 9, 2024
52cf60b
chore(deps): bump kumahq/kuma-gui to e0b203cf552a95c9b00dc91f4c204bf8…
kumahq[bot] Apr 9, 2024
39495fb
feat(kuma-cp): do not set mesh owner reference on synced resources (#…
jakubdyszkiewicz Apr 9, 2024
5d06f7b
docs(CHANGELOG.md): updating changelog and version files (#9884)
kumahq[bot] Apr 9, 2024
af83aed
feat(kuma-cp): shadow mode for policies (#9850)
lobkovilya Apr 9, 2024
8aa8c76
fix(meshloadbalancingstrategy): configure builtin gateway when using …
lukidzi Apr 9, 2024
b6b5f64
docs(CHANGELOG.md): updating changelog and version files (#9889)
kumahq[bot] Apr 10, 2024
ad2e5cb
docs(upgrade): document cluster merging (#9888)
slonka Apr 10, 2024
9b166fc
docs(CHANGELOG.md): updating changelog and version files (#9891)
kumahq[bot] Apr 10, 2024
5bb9fcf
feat(k8s): enable init container mesh access by default when using na…
michaelbeaumont Apr 10, 2024
3750902
feat(kuma-cp): deprecated `from[].targetRef.kind: MeshService` (#9881)
lobkovilya Apr 10, 2024
ac3c493
feat(kumactl): support for new Inspect API endpoint `_config` (#9887)
lobkovilya Apr 10, 2024
b4162c4
feat(kuma-cp): resilient component backoff config (#9892)
Automaat Apr 10, 2024
7ad16bc
fix(helm): add possibily to rely on secret for caBundle (#9342)
lahabana Apr 10, 2024
d35abb0
docs(UPGRADE.md): add section about using MeshHTTPRoute in GAPI (#9890)
bartsmykla Apr 10, 2024
bf16178
fix(helm): revert add possibily to rely on secret for caBundle (#9342…
jakubdyszkiewicz Apr 10, 2024
2bb9f3e
ci(dockerfiles): use latest ci-tools and move pg dockerfile to test (…
lahabana Apr 10, 2024
deb8830
chore(deps): bump postgres from `6b841c8` to `5b06192` in /test/docke…
dependabot[bot] Apr 10, 2024
08481d8
chore(deps): bump debian from `e97ee92` to `b37bc25` in /tools/releas…
dependabot[bot] Apr 10, 2024
607cd2b
chore(deps): bump sigs.k8s.io/controller-runtime from 0.17.2 to 0.17.…
dependabot[bot] Apr 10, 2024
b367e75
chore(deps): bump kumahq/ubuntu-netools from `3f0fefb` to `9eba4ba` i…
dependabot[bot] Apr 10, 2024
4c16055
chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#9902)
dependabot[bot] Apr 10, 2024
251b3ca
fix(kuma-cp): log hashed `Node` instead of `Node.Id` (#9893)
lobkovilya Apr 11, 2024
50bfb62
docs(CHANGELOG.md): updating changelog and version files (#9905)
kumahq[bot] Apr 11, 2024
7d76635
chore(deps): bump kumahq/kuma-gui to e0b203cf552a95c9b00dc91f4c204bf8…
kumahq[bot] Apr 11, 2024
2042110
chore(deps): bump kumahq/kuma-gui to 41932731af9e6fdc94ae365d036c6fe3…
kumahq[bot] Apr 11, 2024
a016aaf
chore(deps): bump kumahq/kuma-gui to e4d3170edd2e84ea7d6b8260bc721eec…
kumahq[bot] Apr 11, 2024
0c6dcbf
perf(k8s): ignore serviceless pods from vips list (#9907)
jakubdyszkiewicz Apr 11, 2024
07e0dd6
feat(k8s): add drain when using native sidecars (#9904)
michaelbeaumont Apr 11, 2024
c6d0f85
feat(meshmetric): properly handle `appendProfiles` (#9915)
slonka Apr 12, 2024
5e7b4f8
fix(policy): fix metrics labels (#9913)
Automaat Apr 12, 2024
24dfcde
chore(deps): bump kumahq/kuma-gui to 4524db0b9e3f0a00e9fc2d755a2170a3…
kumahq[bot] Apr 12, 2024
2a1392e
chore(deps): bump kumahq/kuma-gui to fdc95cc7d61f5343b3cd62fe62f6f644…
kumahq[bot] Apr 12, 2024
416ccdd
chore(kuma-cp): define fake USR2 signal for windows (#9920)
michaelbeaumont Apr 12, 2024
fce9038
chore(deps): bump kumahq/kuma-gui to cbca7d04cb0e0714457ab25caecc0eb7…
kumahq[bot] Apr 12, 2024
a31c543
chore(deps): bump kumahq/kuma-gui to d30ed913e9a9bbea408e2ac262218059…
kumahq[bot] Apr 12, 2024
830d8d5
chore(deps): bump kumahq/kuma-gui to e865b09b5ff268836074028099223cc2…
kumahq[bot] Apr 12, 2024
478a46b
fix(kuma-cp): change the "direction" of the diff in inspect shadow re…
lobkovilya Apr 12, 2024
6680022
fix(GAPI): add missing origin label for MeshGateway converted from Ga…
bartsmykla Apr 12, 2024
e46bb6c
docs(CHANGELOG.md): updating changelog and version files (#9929)
kumahq[bot] Apr 14, 2024
fd8901c
chore(demo): remove tags from meshgatewayinstance (#9924)
jakubdyszkiewicz Apr 15, 2024
a185a1e
ci(github): update osv scanner (#9932)
slonka Apr 15, 2024
8c5f44e
fix(kuma-cni): fix the subject namespace reference in Helm Chart (#9933)
jijiechen Apr 15, 2024
d0fbfa8
fix(transparent-proxy): fix port conflict in validator in unit tests …
jijiechen Apr 15, 2024
7ccfe85
test(e2e): fix number of policies on upgrade (#9934)
jakubdyszkiewicz Apr 15, 2024
08d7872
fix(kuma-cp): ignore shadow policies on ZoneEgress (#9930)
lobkovilya Apr 15, 2024
b0ea6f1
test(e2e): adjust backoff for resilience tests (#9936)
jakubdyszkiewicz Apr 15, 2024
2edb400
chore(e2e): added suffix to e2e test resource delegated (#9937)
lukidzi Apr 15, 2024
09300a2
chore(deps): bump kumahq/kuma-gui to dff052237251d959e8f172a23de9946d…
kumahq[bot] Apr 15, 2024
8119614
feat(GatewayAPI): promote our Gateway API implementation to GA (#9939)
bartsmykla Apr 15, 2024
fc8b2e9
ci(update): make it possible to pass additional options to osv-scanne…
slonka Apr 15, 2024
14ba3b6
chore(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3…
dependabot[bot] Apr 15, 2024
4ae6727
chore(deps): bump github/codeql-action from 3.24.10 to 3.25.0 (#9953)
dependabot[bot] Apr 15, 2024
96c7024
chore(deps): bump postgres from `5b06192` to `5c58707` in /test/docke…
dependabot[bot] Apr 15, 2024
8904936
chore(deps): bump github.com/prometheus/common from 0.52.2 to 0.52.3 …
dependabot[bot] Apr 15, 2024
b75c7af
chore(deps): bump helm.sh/helm/v3 from 3.14.3 to 3.14.4 (#9948)
dependabot[bot] Apr 15, 2024
f2a8f98
ci(update): make it possible to pass additional options to osv-scanne…
kumahq[bot] Apr 16, 2024
9af4183
chore(deps): use `errors.Join` instead of `github.com/hashicorp/go-mu…
mmorel-35 Apr 16, 2024
1dbfeda
chore(deps): bump github.com/shopspring/decimal from 1.3.1 to 1.4.0 (…
dependabot[bot] Apr 16, 2024
6923c07
chore(deps): bump kumahq/kuma-gui to d3dc2f570f16f42e07e37e77d75cb044…
kumahq[bot] Apr 16, 2024
8d2eaed
feat(api-server): add errors to trace spans (#9957)
michaelbeaumont Apr 16, 2024
3274b92
ci(github): don't do targetSpecific go mod caching (#9960)
lahabana Apr 16, 2024
a422e34
chore(deps): bump kumahq/kuma-gui to 79b2094e0ed2d794b862a6cb7fd238f3…
kumahq[bot] Apr 16, 2024
12e57af
test(e2e): enable skipped delegated gateway tests (#9961)
jakubdyszkiewicz Apr 16, 2024
97fb85c
chore(GAPI): move from deprecated behavior (#9965)
bartsmykla Apr 17, 2024
c6d7d77
fix(kuma-cp): use display-name label to check if resource is referenc…
lobkovilya Apr 17, 2024
e586b12
ci(update): upload sbom to gh release/tag assets (#9963)
saisatishkarra Apr 17, 2024
6fbdafe
chore(deps): upload sbom to gh release/tag assets (#9966)
Automaat Apr 17, 2024
bf8d964
test(framework): add back wait for kuma service (#9967)
slonka Apr 17, 2024
396f0a5
docs(MADR): adjust MADR numbers to avoid duplicates (#9969)
jakubdyszkiewicz Apr 17, 2024
286ab3b
test(e2e): add debug info to gateway api test (#9970)
jakubdyszkiewicz Apr 17, 2024
9d02b99
refactor(kds): reduce duplication in forwarding client, improve error…
michaelbeaumont Apr 17, 2024
77f3a8b
ci(update): fix sca extra opts (#9972)
saisatishkarra Apr 17, 2024
9038846
chore(deps): bump kumahq/kuma-gui to 85cdaf1c5f873e19147795291310a5e1…
kumahq[bot] Apr 18, 2024
8754bac
chore(deps): bump kumahq/kuma-gui to b40fc1478da0b8e4439dc4eb5b4bfef2…
kumahq[bot] Apr 18, 2024
d58bd08
Merge branch 'master' into merge-release-2.7-master
Automaat Apr 18, 2024
48ba5bc
chore: merge pull request #9981 from kumahq/merge-release-2.7-master
Automaat Apr 18, 2024
6cb2a24
chore(kuma-cp): remove 'pq' driver support (#9983)
lobkovilya Apr 18, 2024
2a449b9
chore(deps): bump kumahq/kuma-gui to 0b9985c5a8f0f839e14c97d4e45262d9…
kumahq[bot] Apr 18, 2024
7872067
fix(k8s): don't error if a service doesn't expose any ports we can ha…
michaelbeaumont Apr 18, 2024
904f64a
chore(deps): bump github.com/miekg/dns from 1.1.58 to 1.1.59 (#9990)
dependabot[bot] Apr 18, 2024
2b40b64
chore(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 …
dependabot[bot] Apr 18, 2024
376f09e
chore(deps): bump github.com/onsi/gomega from 1.32.0 to 1.33.0 (#9991)
dependabot[bot] Apr 18, 2024
1556487
chore(deps): bump github/codeql-action from 3.25.0 to 3.25.1 (#9996)
dependabot[bot] Apr 19, 2024
a77103d
chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.2 (#9994)
dependabot[bot] Apr 19, 2024
91d996d
chore(deps): bump ubuntu from jammy-20240227 to jammy-20240405 in /to…
dependabot[bot] Apr 19, 2024
d6b63e5
chore(deps): bump Kong/public-shared-actions from 2.2.0 to 2.2.1 (#9995)
dependabot[bot] Apr 19, 2024
522ca78
chore(deps): bump peter-evans/create-pull-request from 6.0.3 to 6.0.4…
dependabot[bot] Apr 19, 2024
78f7428
chore(deps): bump actions/download-artifact from 4.1.4 to 4.1.5 (#9993)
dependabot[bot] Apr 19, 2024
58e1b81
chore(deps): bump kumahq/kuma-gui to 38f9117b66e9de3c6fc3dc7a969e9b7f…
kumahq[bot] Apr 19, 2024
f8edc50
chore(deps): bump kumahq/kuma-gui to 0b8625bfd088773e7beb6f2828b6b211…
kumahq[bot] Apr 19, 2024
1cbcbba
test(e2e): remove inbound test cases in delegated gateway (#10002)
bartsmykla Apr 19, 2024
07b5158
test(e2e): remove inbound test cases in delegated gateway (backport o…
kumahq[bot] Apr 19, 2024
e3249fa
docs(CHANGELOG.md): updating changelog and version files (#10008)
kumahq[bot] Apr 19, 2024
46ffb01
chore(deps): bump kumahq/kuma-gui to 285ef303de466c5c12b155e58804e0bb…
kumahq[bot] Apr 19, 2024
ab85553
chore(deps): bump kumahq/kuma-gui to 20ff85904dc2597faefe7a0a78ef7e77…
kumahq[bot] Apr 19, 2024
4eb5103
fix(helm): include GatewayClass only if installing a zone CP in Kuber…
michaelbeaumont Apr 19, 2024
b98d9de
Merge branch 'master' into merge-release-2.7-master
slonka Apr 21, 2024
0d118e8
Merge pull request #10029 from slonka/merge-release-2.7-master
slonka Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parameters:
# These parameters are not meant to be changed they are more constants for the build change these in mk/dev.mk
go_version:
type: string
default: "1.21.8"
default: "1.21.9"
first_k8s_version:
type: string
default: "v1.23.17-k3s1"
Expand Down
13 changes: 8 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ updates:
labels:
- "dependencies"

- package-ecosystem: "docker"
directory: "/test/dockerfiles"
schedule:
interval: "weekly"
open-pull-requests-limit: 15
labels:
- "dependencies"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand All @@ -31,8 +39,3 @@ updates:
labels:
- "dependencies"
- "ci/skip-test" # No need to run tests on github actions updates

- package-ecosystem: docker
directory: /tools/postgres
schedule:
interval: daily
50 changes: 23 additions & 27 deletions .github/workflows/_build_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ on:
IMAGES:
required: true
type: string
REGISTRY:
required: true
type: string
VERSION_NAME:
required: true
type: string
NOTARY_REPOSITORY:
required: true
type: string
outputs:
BINARY_ARTIFACT_DIGEST_BASE64:
value: ${{ jobs.build-binaries.outputs.BINARY_ARTIFACT_DIGEST_BASE64 }}
Expand All @@ -42,15 +51,9 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0
- name: "Add matrix to .build/info to cache"
run: |
make build/info/short > .build-info
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: go.mod
cache-dependency-path: |
.build-info
go.sum
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
Expand All @@ -68,7 +71,7 @@ jobs:
echo "Artifact digest:"
cat ./build/distributions/artifact_digest_file.text
echo "binary_artifact_digest_base64=$(cat ./build/distributions/artifact_digest_file.text)" > $GITHUB_OUTPUT
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
id: binary-artifacts
with:
name: ${{ inputs.BINARY_ARTIFACT_NAME }}
Expand All @@ -86,7 +89,7 @@ jobs:
make publish/pulp
build-images:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
Expand All @@ -102,9 +105,6 @@ jobs:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: go.mod
cache-dependency-path: |
.build-info
go.sum
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
Expand All @@ -117,13 +117,7 @@ jobs:
- id: image_meta
run: |
echo "Extracting image meta for ${{ matrix.image }}"
registry=$(make docker/info/registry)
tag=$(make build/info/version)
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "registry=${registry}" >> $GITHUB_OUTPUT
echo "image=${registry}/${{ matrix.image }}:${tag}" >> $GITHUB_OUTPUT
# Add matrix to .build/info to cache
make build/info/short > .build-info
echo "image=${{ inputs.REGISTRY }}/${{ matrix.image }}:${{ inputs.VERSION_NAME }}" >> $GITHUB_OUTPUT
- run: |
make images/${{ matrix.image }}
- run: |
Expand All @@ -134,17 +128,19 @@ jobs:
make test/container-structure/${{ matrix.image }}
- name: scan amd64 image
id: scan_image-amd64
uses: Kong/public-shared-actions/security-actions/scan-docker-image@590c699fe824010d7d563a33cc60500d847d3f9e # v2.1.0
uses: Kong/public-shared-actions/security-actions/scan-docker-image@23929cfda574afc77b018c51794454b6dc99ca57 # v2.2.1
with:
asset_prefix: image_${{ matrix.image }}-amd64
image: ./build/docker/${{ matrix.image }}-amd64.tar
upload-sbom-release-assets: true
- name: scan arm64 image
id: scan_image-arm64
if: ${{ fromJSON(inputs.FULL_MATRIX) }}
uses: Kong/public-shared-actions/security-actions/scan-docker-image@590c699fe824010d7d563a33cc60500d847d3f9e # v2.1.0
uses: Kong/public-shared-actions/security-actions/scan-docker-image@23929cfda574afc77b018c51794454b6dc99ca57 # v2.2.1
with:
asset_prefix: image_${{ matrix.image }}-arm64
image: ./build/docker/${{ matrix.image }}-arm64.tar
upload-sbom-release-assets: true
# TODO in the future we may want to have prerelease images and use `regctl image copy` to move them to their final location
- name: publish images
id: release_images
Expand All @@ -171,14 +167,14 @@ jobs:
echo "Got digest: $digest"
echo "digest=${digest}" >> $GITHUB_OUTPUT
echo "{\"${{matrix.image}}\": \"${digest}\"}" > ./build/docker/${{ matrix.image }}.digest.json
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
id: image-artifacts
with:
name: image_${{ matrix.image }}
path: |
./build/docker/*.tar
retention-days: ${{ github.event_name == 'pull_request' && 1 || 30 }}
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
id: image-digest-artifacts
with:
name: image_${{ matrix.image }}.digest.json
Expand All @@ -188,11 +184,11 @@ jobs:
- name: sign image
if: ${{ fromJSON(inputs.ALLOW_PUSH) }}
id: sign
uses: Kong/public-shared-actions/security-actions/sign-docker-image@590c699fe824010d7d563a33cc60500d847d3f9e # v2.1.0
uses: Kong/public-shared-actions/security-actions/sign-docker-image@23929cfda574afc77b018c51794454b6dc99ca57 # v2.2.1
with:
image_digest: ${{ steps.image_digest.outputs.digest }}
tags: ${{ steps.image_meta.outputs.image }}
signature_registry: ${{ steps.image_meta.outputs.registry }}/notary${{ contains(steps.image_meta.outputs.tag, 'preview') && '-internal' }}
signature_registry: ${{ inputs.REGISTRY }}/${{inputs.NOTARY_REPOSITORY}}
registry_username: ${{ vars.DOCKER_USERNAME }}
registry_password: ${{ secrets.DOCKER_API_KEY }}
digest-images:
Expand All @@ -201,7 +197,7 @@ jobs:
outputs:
DIGESTS: ${{ steps.compute-digests.outputs.digests }}
steps:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
- uses: actions/download-artifact@8caf195ad4b1dee92908e23f56eeb0696f1dd42d # v4.1.5
with:
pattern: "image_*.digest.json"
path: ./digests
Expand Down Expand Up @@ -257,7 +253,7 @@ jobs:
PKG_FILENAME=$(find .cr-release-packages -type f -printf "%f\n")
echo "filename=${PKG_FILENAME}" >> $GITHUB_OUTPUT
- name: Upload packaged chart
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
with:
name: ${{ steps.package-helm.outputs.filename }}
path: .cr-release-packages/${{ steps.package-helm.outputs.filename }}
Expand All @@ -267,7 +263,7 @@ jobs:
- name: Generate GitHub app token
id: github-app-token
if: ${{ github.ref_type == 'tag' }}
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1.9.0
uses: actions/create-github-app-token@7bfa3a4717ef143a604ee0a99d859b8886a96d00 # v1.9.3
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down
35 changes: 22 additions & 13 deletions .github/workflows/_provenance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,41 @@ name: Generate Provenance
on:
workflow_call:
inputs:
binary_artifacts_hashes_as_file:
BINARY_ARTIFACTS_HASH_AS_FILE:
required: true
type: string
description: file containing hash for all compressed binary artifacts
images:
IMAGES:
required: true
type: string
description: JSON string containing all images
image_digests:
description: JSON string containing all IMAGES
IMAGE_DIGESTS:
required: true
type: string
description: JSON string containing all image digests
REGISTRY:
required: true
type: string
description: registry name
NOTARY_REPOSITORY:
required: true
type: string
description: notary repository
permissions:
contents: write
id-token: write # needed for signing the images
actions: read # For getting workflow run info to build provenance
packages: write # Required for publishing provenance. Issue: https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/container#known-issues
jobs:
artifact-provenance:
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@c747fe7769adf3656dc7d588b161cb614d7abfee # v1.10.0
# need to use non hash version because of: https://github.com/slsa-framework/slsa-github-generator/issues/3498
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
base64-subjects: ${{ inputs.binary_artifacts_hashes_as_file }}
base64-subjects: ${{ inputs.BINARY_ARTIFACTS_HASH_AS_FILE }}
upload-assets: ${{ github.ref_type == 'tag' }}
upload-tag-name: ${{ github.ref_name }}
provenance-name: ${{ github.event.repository.name }}.intoto.jsonl
continue-on-error: true
draft-release: "true"

# Provenance job for all images manifests
# SLSA generator is a reusable workflow
Expand All @@ -41,12 +50,12 @@ jobs:
strategy:
fail-fast: true
matrix:
IMAGE: ${{ fromJSON(inputs.images) }}
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@c747fe7769adf3656dc7d588b161cb614d7abfee # v1.10.0
IMAGE: ${{ fromJSON(inputs.IMAGES) }}
# need to use non hash version because of: https://github.com/slsa-framework/slsa-github-generator/issues/3498
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
image: ${{ matrix.IMAGE }}
digest: ${{ fromJSON(inputs.image_digests)[matrix.IMAGE] }}
continue-on-error: true
image: ${{ inputs.REGISTRY }}/${{ matrix.IMAGE }}
digest: ${{ fromJSON(inputs.IMAGE_DIGESTS)[matrix.IMAGE] }}
registry-username: ${{ vars.DOCKER_USERNAME }}
secrets:
registry-password: ${{ secrets.DOCKER_API_KEY }}
registry-username: ${{ secrets.DOCKER_USERNAME }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- name: Generate GitHub app token
id: github-app-token
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1.9.0
uses: actions/create-github-app-token@7bfa3a4717ef143a604ee0a99d859b8886a96d00 # v1.9.3
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
version: v1
args: mod -licenses -json -output licenses.json
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
with:
name: licenses
path: |
Expand Down
36 changes: 27 additions & 9 deletions .github/workflows/build-test-distribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
pull_request:
branches: ["master", "release-*"]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
group: ${{github.workflow}}-${{ github.ref_name }} # group all runs by branch or tag
cancel-in-progress: ${{ github.event_name == 'pull_request' }} # only cancel previous runs on PRs, we want each commit to build on branches
permissions:
contents: write # To upload assets
id-token: write # For using token to sign images
Expand All @@ -28,12 +28,21 @@ jobs:
FULL_MATRIX: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci/run-full-matrix') }}
ALLOW_PUSH: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci/force-publish') }}
BUILD: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'ci/run-build') || contains(github.event.pull_request.labels.*.name, 'ci/force-publish') }}
FORCE_PUBLISH_FROM_FORK: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci/force-publish') && github.event.pull_request.head.repo.full_name != github.repository }}
outputs:
FULL_MATRIX: ${{ env.FULL_MATRIX }}
ALLOW_PUSH: ${{ env.ALLOW_PUSH }}
BUILD: ${{ env.BUILD }}
IMAGES: ${{ steps.metadata.outputs.images }}
REGISTRY: ${{ steps.metadata.outputs.registry }}
VERSION_NAME: ${{ steps.metadata.outputs.version }}
NOTARY_REPOSITORY: ${{ (contains(steps.metadata.outputs.version, 'preview') && 'notary-internal') || 'notary' }}
steps:
- name: "Fail when 'ci/force-publish' label is present on PRs from forks"
if: ${{ fromJSON(env.FORCE_PUBLISH_FROM_FORK) }}
run: |
echo "::error title=Label 'ci/force-publish' cannot be used on PRs from forks::To prevent accidental exposure of secrets, CI won't use repository secrets on pull requests from forks"
exit 1
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 0
Expand All @@ -60,13 +69,16 @@ jobs:
- run: |
make check
- id: sca-project
uses: Kong/public-shared-actions/security-actions/sca@590c699fe824010d7d563a33cc60500d847d3f9e # v2.1.0
uses: Kong/public-shared-actions/security-actions/sca@23929cfda574afc77b018c51794454b6dc99ca57 # v2.2.1
with:
dir: .
config: .syft.yaml
upload-sbom-release-assets: true
- id: metadata
run: |
echo "images=$(make images/info/release/json)" >> $GITHUB_OUTPUT
echo "registry=$(make docker/info/registry)" >> $GITHUB_OUTPUT
echo "version=$(make build/info/version)" >> $GITHUB_OUTPUT
test:
permissions:
contents: read
Expand All @@ -88,10 +100,13 @@ jobs:
IMAGE_ARTIFACT_NAME: "image_artifacts"
BINARY_ARTIFACT_NAME: "binary_artifacts"
IMAGES: ${{ needs.check.outputs.IMAGES }}
REGISTRY: ${{ needs.check.outputs.REGISTRY }}
NOTARY_REPOSITORY: ${{ needs.check.outputs.NOTARY_REPOSITORY }}
VERSION_NAME: ${{ needs.check.outputs.VERSION_NAME }}
secrets: inherit
provenance:
needs: ["check", "build_publish"]
if: ${{ fromJSON(needs.check.outputs.BUILD) }}
if: ${{ github.ref_type == 'tag' }}
uses: ./.github/workflows/_provenance.yaml
secrets: inherit
permissions:
Expand All @@ -100,18 +115,21 @@ jobs:
actions: read # For getting workflow run info to build provenance
packages: write # Required for publishing provenance. Issue: https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/container#known-issues
with:
binary_artifacts_hashes_as_file: ${{ needs.build_publish.outputs.BINARY_ARTIFACT_DIGEST_BASE64 }}
images: ${{ needs.check.outputs.IMAGES }}
image_digests: ${{ needs.build_publish.outputs.IMAGE_DIGESTS }}
BINARY_ARTIFACTS_HASH_AS_FILE: ${{ needs.build_publish.outputs.BINARY_ARTIFACT_DIGEST_BASE64 }}
IMAGES: ${{ needs.check.outputs.IMAGES }}
REGISTRY: ${{ needs.check.outputs.REGISTRY }}
NOTARY_REPOSITORY: ${{ needs.check.outputs.NOTARY_REPOSITORY }}
IMAGE_DIGESTS: ${{ needs.build_publish.outputs.IMAGE_DIGESTS }}
distributions:
needs: ["build_publish", "check", "test", "provenance"]
timeout-minutes: 10
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: "Halt due to previous failures"
if: ${{ contains(needs.*.result, 'failure')|| contains(needs.*.result, 'cancelled') }}
run: |-
echo "results: ${{ toJson(needs.*.result) }}"
# for some reason, GH Action will always trigger a downstream job even if there are errors in an dependent job
# so we manually check it here. An example could be found here: https://github.com/kumahq/kuma/actions/runs/7044980149
exit 1
[[ ${{ contains(needs.*.result, 'failure')|| contains(needs.*.result, 'cancelled') }} == "true" ]] && exit 1
echo "All dependent jobs succeeded"
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
with:
go-version-file: go.mod
- name: Initialize CodeQL
uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
uses: github/codeql-action/init@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
uses: github/codeql-action/autobuild@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
uses: github/codeql-action/analyze@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
with:
category: "/language:${{matrix.language}}"
Loading
Loading