Skip to content

Commit

Permalink
Prepare release v0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Turi committed Oct 25, 2021
1 parent 799deaf commit 6fce300
Show file tree
Hide file tree
Showing 13 changed files with 708 additions and 40 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ MAIN_PACKAGE ?= ./cmd/controller/

COMMIT_HASH ?= $(shell git rev-parse --short HEAD 2>/dev/null)
BUILD_DATE ?= $(shell date +%FT%T%z)
VERSION ?= 0.3.3
VERSION ?= 0.3.4
LDFLAGS += -X github.com/banzaicloud/imps/internal/version.commitHash=${COMMIT_HASH}
LDFLAGS += -X github.com/banzaicloud/imps/internal/version.buildDate=${BUILD_DATE}
LDFLAGS += -X github.com/banzaicloud/imps/internal/version.version=${VERSION}
Expand Down
12 changes: 12 additions & 0 deletions api/common/docker.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package common

type LoginCredentials struct {
Username string `json:"username"`
Password string `json:"password"`
Auth string `json:"auth"` // base64 encoded username:password
}

// DockerRegistryConfig represents a docker compliant image pull secret json file
type DockerRegistryConfig struct {
Auths map[string]LoginCredentials `json:"auths"`
}
5 changes: 2 additions & 3 deletions pkg/pullsecrets/secret.go → api/common/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package pullsecrets
package common

import (
"emperror.dev/errors"
"encoding/base64"
"encoding/json"
"fmt"

"emperror.dev/errors"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
29 changes: 29 additions & 0 deletions api/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module github.com/banzaicloud/imps/api

go 1.17

require (
emperror.dev/errors v0.8.0
k8s.io/api v0.20.11
k8s.io/apimachinery v0.20.11
sigs.k8s.io/controller-runtime v0.6.5
)

require (
github.com/go-logr/logr v0.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/go-cmp v0.5.5 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/json-iterator/go v1.1.11 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
golang.org/x/text v0.3.6 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog/v2 v2.9.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
)
510 changes: 510 additions & 0 deletions api/go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deploy/charts/imagepullsecrets/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ maintainers:
sources:
- https://github.com/banzaicloud/backyards

version: 0.3.3
appVersion: 0.3.3
version: 0.3.4
appVersion: 0.3.4
2 changes: 1 addition & 1 deletion deploy/charts/imagepullsecrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ securityContext:
allowPrivilegeEscalation: false
image:
repository: ghcr.io/banzaicloud/imagepullsecrets
tag: v0.3.3
tag: v0.3.4
pullPolicy: IfNotPresent

imagePullSecrets: []
Expand Down
75 changes: 73 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
module github.com/banzaicloud/imps

go 1.16
go 1.17

require (
emperror.dev/emperror v0.33.0
emperror.dev/errors v0.8.0
emperror.dev/handler/logur v0.5.0
github.com/aws/aws-sdk-go-v2 v1.2.0
github.com/aws/aws-sdk-go-v2/service/ecr v1.1.1
github.com/banzaicloud/imps/api v0.3.4
github.com/banzaicloud/operator-tools v0.24.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/pflag v1.0.5
Expand All @@ -21,4 +22,74 @@ require (
sigs.k8s.io/controller-runtime v0.9.5
)

replace github.com/banzaicloud/imps/static => ./static
require (
github.com/aws/smithy-go v1.1.0 // indirect
github.com/banzaicloud/k8s-objectmatcher v1.5.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/briandowns/spinner v1.12.0 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/cppforlife/go-patch v0.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/evanphx/json-patch v4.11.0+incompatible // indirect
github.com/fatih/color v1.10.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/go-logr/logr v0.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.5 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/googleapis/gnostic v0.5.5 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/iancoleman/orderedmap v0.2.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.11 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.11.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.26.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/wayneashleyberry/terminal-dimensions v1.0.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023 // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
k8s.io/apiextensions-apiserver v0.21.3 // indirect
k8s.io/component-base v0.21.3 // indirect
k8s.io/klog/v2 v2.9.0 // indirect
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 // indirect
k8s.io/utils v0.0.0-20210722164352-7f3ee0f31471 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
)

replace (
github.com/banzaicloud/imps/api => ./api
github.com/banzaicloud/imps/static => ./static
)
Loading

0 comments on commit 6fce300

Please sign in to comment.