Skip to content

Commit 8941c49

Browse files
authored
Prepare for release v0.0.13 (#21)
ProductLine: Voyager Release: v2023.05.16 Release-tracker: voyagermesh/CHANGELOG#27 Signed-off-by: 1gtm <1gtm@appscode.com>
1 parent 2704ce0 commit 8941c49

File tree

10 files changed

+334
-85
lines changed

10 files changed

+334
-85
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ require (
88
gomodules.xyz/logs v0.0.6
99
gomodules.xyz/runtime v0.3.0
1010
gomodules.xyz/x v0.0.14
11-
k8s.io/apimachinery v0.25.1
11+
k8s.io/apimachinery v0.25.3
1212
k8s.io/client-go v0.25.1
1313
k8s.io/klog/v2 v2.80.1
14-
kmodules.xyz/client-go v0.25.18
14+
kmodules.xyz/client-go v0.25.22
1515
sigs.k8s.io/yaml v1.3.0
16-
voyagermesh.dev/apimachinery v0.7.1
16+
voyagermesh.dev/apimachinery v0.7.2
1717
)
1818

1919
require (
@@ -50,7 +50,7 @@ require (
5050
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5151
github.com/pkg/errors v0.9.1 // indirect
5252
github.com/russross/blackfriday/v2 v2.1.0 // indirect
53-
github.com/sergi/go-diff v1.1.0 // indirect
53+
github.com/sergi/go-diff v1.2.0 // indirect
5454
github.com/spf13/pflag v1.0.5 // indirect
5555
github.com/yudai/gojsondiff v1.0.0 // indirect
5656
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
276276
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
277277
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
278278
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
279-
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
280-
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
279+
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
280+
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
281281
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
282282
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
283283
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
@@ -614,8 +614,8 @@ k8s.io/api v0.25.1 h1:yL7du50yc93k17nH/Xe9jujAYrcDkI/i5DL1jPz4E3M=
614614
k8s.io/api v0.25.1/go.mod h1:hh4itDvrWSJsmeUc28rIFNri8MatNAAxJjKcQmhX6TU=
615615
k8s.io/apiextensions-apiserver v0.25.1 h1:HEIKlxj6oHaDwHgotEIX/Ld5K/RGuOFwN/TWMiQ5s5s=
616616
k8s.io/apiextensions-apiserver v0.25.1/go.mod h1:67sgnMs2yIO2iV4DpCdS91vlP+pdnVIsG/mz60qRn44=
617-
k8s.io/apimachinery v0.25.1 h1:t0XrnmCEHVgJlR2arwO8Awp9ylluDic706WePaYCBTI=
618-
k8s.io/apimachinery v0.25.1/go.mod h1:hqqA1X0bsgsxI6dXsJ4HnNTBOmJNxyPp8dw3u2fSHwA=
617+
k8s.io/apimachinery v0.25.3 h1:7o9ium4uyUOM76t6aunP0nZuex7gDf8VGwkR5RcJnQc=
618+
k8s.io/apimachinery v0.25.3/go.mod h1:jaF9C/iPNM1FuLl7Zuy5b9v+n35HGSh6AQ4HYRkCqwo=
619619
k8s.io/client-go v0.25.1 h1:uFj4AJKtE1/ckcSKz8IhgAuZTdRXZDKev8g387ndD58=
620620
k8s.io/client-go v0.25.1/go.mod h1:rdFWTLV/uj2C74zGbQzOsmXPUtMAjSf7ajil4iJUNKo=
621621
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
@@ -626,8 +626,8 @@ k8s.io/kube-openapi v0.0.0-20220803164354-a70c9af30aea h1:3QOH5+2fGsY8e1qf+GIFpg
626626
k8s.io/kube-openapi v0.0.0-20220803164354-a70c9af30aea/go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU=
627627
k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73 h1:H9TCJUUx+2VA0ZiD9lvtaX8fthFsMoD+Izn93E/hm8U=
628628
k8s.io/utils v0.0.0-20220823124924-e9cbc92d1a73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
629-
kmodules.xyz/client-go v0.25.18 h1:kzsAHFHpkxHWaWxulKrjtLmG4pHPTkWh5lcDAx5euEI=
630-
kmodules.xyz/client-go v0.25.18/go.mod h1:Ro1ml/GeT41uMWSyvjW2W2BdB4URLmOU+K6izuTdBG8=
629+
kmodules.xyz/client-go v0.25.22 h1:gtRyVl5Ar87zzKj4g7Nx+0QSeWq9yTKADoasZP+brZg=
630+
kmodules.xyz/client-go v0.25.22/go.mod h1:KWVpgjAj/VNzCzj/BihpJkY39aWIqe8qMp5RuPsuSJA=
631631
kmodules.xyz/monitoring-agent-api v0.25.0 h1:RU9RBeCqQdoS381xXy8cM1aqT+7qmtuPI3KxNQoX16Y=
632632
kmodules.xyz/monitoring-agent-api v0.25.0/go.mod h1:RH5f/W9eCiW+KTblBIh8MZkjCWdtMQ8MuzCBMfgkynM=
633633
kmodules.xyz/webhook-runtime v0.25.0 h1:NKNgu0C1I8kUovQ+SVozs/q7cjq8zgpSjLfJf9CxUtk=
@@ -640,5 +640,5 @@ sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kF
640640
sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E=
641641
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
642642
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
643-
voyagermesh.dev/apimachinery v0.7.1 h1:P0NgTPiTPPaf60FWFjm4FQdP9T5zJZSIo8lYUa6nDC4=
644-
voyagermesh.dev/apimachinery v0.7.1/go.mod h1:5Bjc9fP7wXz/54bJEiJm6lUvBP09AkqYoK7o8InFLvM=
643+
voyagermesh.dev/apimachinery v0.7.2 h1:XhlOMAmS/u4lqZB/5uqCiqCde5+MgpWG/fVQCoAYOQg=
644+
voyagermesh.dev/apimachinery v0.7.2/go.mod h1:EYqY9OacJbq7i0WShfPZAchuTPAIte2V2EtF4fdRvOs=

vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go

Lines changed: 71 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/sergi/go-diff/diffmatchpatch/stringutil.go

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/kmodules.xyz/client-go/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ REPO := $(notdir $(shell pwd))
1919
BIN := client-go
2020

2121
# https://github.com/appscodelabs/gengo-builder
22-
CODE_GENERATOR_IMAGE ?= appscode/gengo:release-1.25
22+
CODE_GENERATOR_IMAGE ?= ghcr.io/appscode/gengo:release-1.25
2323

2424
# This version-strategy uses git tags to set the version string
2525
git_branch := $(shell git rev-parse --abbrev-ref HEAD)
@@ -58,8 +58,8 @@ ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))
5858
BASEIMAGE_PROD ?= gcr.io/distroless/static-debian11
5959
BASEIMAGE_DBG ?= debian:bullseye
6060

61-
GO_VERSION ?= 1.19
62-
BUILD_IMAGE ?= appscode/golang-dev:$(GO_VERSION)
61+
GO_VERSION ?= 1.20
62+
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)
6363

6464
OUTBIN = bin/$(OS)_$(ARCH)/$(BIN)
6565
ifeq ($(OS),windows)

vendor/kmodules.xyz/client-go/core/v1/kubernetes.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,3 +410,19 @@ func RemoveToleration(tolerations []core.Toleration, key string) []core.Tolerati
410410
}
411411
return tolerations
412412
}
413+
414+
func UpsertImagePullSecrets(refs []core.LocalObjectReference, upsert ...core.LocalObjectReference) []core.LocalObjectReference {
415+
for i := range upsert {
416+
var found bool
417+
for j := range refs {
418+
if refs[j].Name == upsert[i].Name {
419+
found = true
420+
break
421+
}
422+
}
423+
if !found {
424+
refs = append(refs, upsert[i])
425+
}
426+
}
427+
return refs
428+
}

0 commit comments

Comments
 (0)