Skip to content

Commit

Permalink
update example and bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Revin <[email protected]>
  • Loading branch information
nrvnrvn committed Jul 16, 2019
1 parent a56a004 commit 9acf23c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Redis Operator

[![Go Report Card](https://goreportcard.com/badge/github.com/amaizfinance/redis-operator)](https://goreportcard.com/report/github.com/amaizfinance/redis-operator)
[![GolangCI](https://golangci.com/badges/github.com/amaizfinance/redis-operator.svg)](https://golangci.com/r/github.com/amaizfinance/redis-operator)
[![GoDoc](https://godoc.org/github.com/amaizfinance/redis-operator?status.svg)](https://godoc.org/github.com/amaizfinance/redis-operator)

## Project status: alpha

Expand Down
2 changes: 1 addition & 1 deletion deploy/ZZ_Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
serviceAccountName: redis-operator
containers:
- name: redis-operator
image: amaiz/redis-operator:0.0.2
image: amaiz/redis-operator:0.1.0
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE # left empty to watch all namespaces
Expand Down
16 changes: 15 additions & 1 deletion example/k8s_v1alpha1_redis_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,20 @@ spec:
fsGroup: 7777777
runAsNonRoot: true

# dataVolumeClaimTemplate allows to define a persistent volume template for Redis. (optional)
# If omitted, emptyDir will be used.
# More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#persistentvolumeclaim-v1-core
# dataVolumeClaimTemplate:
# metadata:
# name: redis-data
# spec:
# storageClassName: standard
# accessModes:
# - ReadWriteOnce
# resources:
# requests:
# storage: 1Gi

# Redis container definition (required)
# image, resources and securityContext are the same as found in v1.Container.
# More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#container-v1-core
Expand All @@ -85,7 +99,7 @@ spec:

# Redis exporter container definition (optional)
exporter:
image: oliver006/redis_exporter:v0.33.0
image: oliver006/redis_exporter:v1.0.3
resources:
limits:
cpu: 50m
Expand Down
5 changes: 0 additions & 5 deletions pkg/apis/k8s/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// NOTE: Boilerplate only. Ignore this file.

// Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group
// +k8s:deepcopy-gen=package,register
// +groupName=k8s.amaiz.com
package v1alpha1

import (
Expand Down

0 comments on commit 9acf23c

Please sign in to comment.