From 0e3b84bdf4fec86da1cafee39fa6ffe1d2bcd11f Mon Sep 17 00:00:00 2001 From: Nick Revin Date: Wed, 25 Sep 2019 16:41:49 +0300 Subject: [PATCH] bump version to v0.1.4 Signed-off-by: Nick Revin --- WORKSPACE | 6 ++-- deploy/ZZ_Deployment.yaml | 2 +- example/k8s_v1alpha1_redis_cr.yaml | 2 +- go.mod | 1 - pkg/apis/k8s/v1alpha1/zz_generated.openapi.go | 30 +++++++++---------- 5 files changed, 20 insertions(+), 21 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index d8443c75..a1a5bbb9 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -34,9 +34,9 @@ gazelle_dependencies() # fetch and load rules_docker http_archive( name = "io_bazel_rules_docker", - sha256 = "e513c0ac6534810eb7a14bf025a0f159726753f97f74ab7863c650d26e01d677", - strip_prefix = "rules_docker-0.9.0", - urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.9.0.tar.gz"], + strip_prefix = "rules_docker-0.10.1", + sha256 = "9ff889216e28c918811b77999257d4ac001c26c1f7c7fb17a79bc28abf74182e", + urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.10.1/rules_docker-v0.10.1.tar.gz"], ) load( diff --git a/deploy/ZZ_Deployment.yaml b/deploy/ZZ_Deployment.yaml index 54cdeb04..e5347ea3 100644 --- a/deploy/ZZ_Deployment.yaml +++ b/deploy/ZZ_Deployment.yaml @@ -21,7 +21,7 @@ spec: serviceAccountName: redis-operator containers: - name: redis-operator - image: amaiz/redis-operator:v0.1.3 + image: amaiz/redis-operator:v0.1.4 args: - --zap-time-encoding - iso8601 diff --git a/example/k8s_v1alpha1_redis_cr.yaml b/example/k8s_v1alpha1_redis_cr.yaml index fefb7da0..7ab82c0c 100644 --- a/example/k8s_v1alpha1_redis_cr.yaml +++ b/example/k8s_v1alpha1_redis_cr.yaml @@ -99,7 +99,7 @@ spec: # Redis exporter container definition (optional) exporter: - image: oliver006/redis_exporter:v1.0.3 + image: oliver006/redis_exporter:v1.2.1 resources: limits: cpu: 50m diff --git a/go.mod b/go.mod index 062f31f8..9c54c041 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/amaizfinance/redis-operator go 1.13 require ( - github.com/NYTimes/gziphandler v1.0.1 // indirect github.com/cenkalti/backoff/v3 v3.0.0 github.com/go-openapi/spec v0.19.0 github.com/go-redis/redis v6.15.5+incompatible diff --git a/pkg/apis/k8s/v1alpha1/zz_generated.openapi.go b/pkg/apis/k8s/v1alpha1/zz_generated.openapi.go index 3119a55a..b470b11a 100644 --- a/pkg/apis/k8s/v1alpha1/zz_generated.openapi.go +++ b/pkg/apis/k8s/v1alpha1/zz_generated.openapi.go @@ -25,12 +25,12 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.ContainerSpec": schema_pkg_apis_k8s_v1alpha1_ContainerSpec(ref), - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Password": schema_pkg_apis_k8s_v1alpha1_Password(ref), - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Redis": schema_pkg_apis_k8s_v1alpha1_Redis(ref), - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisList": schema_pkg_apis_k8s_v1alpha1_RedisList(ref), - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisSpec": schema_pkg_apis_k8s_v1alpha1_RedisSpec(ref), - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisStatus": schema_pkg_apis_k8s_v1alpha1_RedisStatus(ref), + "./pkg/apis/k8s/v1alpha1.ContainerSpec": schema_pkg_apis_k8s_v1alpha1_ContainerSpec(ref), + "./pkg/apis/k8s/v1alpha1.Password": schema_pkg_apis_k8s_v1alpha1_Password(ref), + "./pkg/apis/k8s/v1alpha1.Redis": schema_pkg_apis_k8s_v1alpha1_Redis(ref), + "./pkg/apis/k8s/v1alpha1.RedisList": schema_pkg_apis_k8s_v1alpha1_RedisList(ref), + "./pkg/apis/k8s/v1alpha1.RedisSpec": schema_pkg_apis_k8s_v1alpha1_RedisSpec(ref), + "./pkg/apis/k8s/v1alpha1.RedisStatus": schema_pkg_apis_k8s_v1alpha1_RedisStatus(ref), } } @@ -124,12 +124,12 @@ func schema_pkg_apis_k8s_v1alpha1_Redis(ref common.ReferenceCallback) common.Ope }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisSpec"), + Ref: ref("./pkg/apis/k8s/v1alpha1.RedisSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisStatus"), + Ref: ref("./pkg/apis/k8s/v1alpha1.RedisStatus"), }, }, }, @@ -137,7 +137,7 @@ func schema_pkg_apis_k8s_v1alpha1_Redis(ref common.ReferenceCallback) common.Ope }, }, Dependencies: []string{ - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisSpec", "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.RedisStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "./pkg/apis/k8s/v1alpha1.RedisSpec", "./pkg/apis/k8s/v1alpha1.RedisStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } @@ -168,7 +168,7 @@ func schema_pkg_apis_k8s_v1alpha1_RedisList(ref common.ReferenceCallback) common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Redis"), + Ref: ref("./pkg/apis/k8s/v1alpha1.Redis"), }, }, }, @@ -179,7 +179,7 @@ func schema_pkg_apis_k8s_v1alpha1_RedisList(ref common.ReferenceCallback) common }, }, Dependencies: []string{ - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Redis"}, + "./pkg/apis/k8s/v1alpha1.Redis"}, } } @@ -212,7 +212,7 @@ func schema_pkg_apis_k8s_v1alpha1_RedisSpec(ref common.ReferenceCallback) common }, "password": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Password"), + Ref: ref("./pkg/apis/k8s/v1alpha1.Password"), }, }, "annotations": { @@ -303,13 +303,13 @@ func schema_pkg_apis_k8s_v1alpha1_RedisSpec(ref common.ReferenceCallback) common "redis": { SchemaProps: spec.SchemaProps{ Description: "Redis container specification", - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.ContainerSpec"), + Ref: ref("./pkg/apis/k8s/v1alpha1.ContainerSpec"), }, }, "exporter": { SchemaProps: spec.SchemaProps{ Description: "Exporter container specification", - Ref: ref("github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.ContainerSpec"), + Ref: ref("./pkg/apis/k8s/v1alpha1.ContainerSpec"), }, }, "initContainers": { @@ -330,7 +330,7 @@ func schema_pkg_apis_k8s_v1alpha1_RedisSpec(ref common.ReferenceCallback) common }, }, Dependencies: []string{ - "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.ContainerSpec", "github.com/amaizfinance/redis-operator/pkg/apis/k8s/v1alpha1.Password", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.Volume"}, + "./pkg/apis/k8s/v1alpha1.ContainerSpec", "./pkg/apis/k8s/v1alpha1.Password", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.Volume"}, } }