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

Release/v0.2.2 #38

Merged
merged 4 commits into from
Mar 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License Apache 2.0](https://img.shields.io/badge/License-Apache2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Build Status](https://travis-ci.org/nats-io/nats-streaming-operator.svg?branch=master)](https://travis-ci.org/nats-io/nats-streaming-operator)
[![Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=go&type=5&v=0.2.0)](https://github.com/nats-io/nats-streaming-operator/releases/tag/v0.2.0)
[![Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=go&type=5&v=0.2.2)](https://github.com/nats-io/nats-streaming-operator/releases/tag/v0.2.2)

Operator for managing NATS Streaming clusters running on [Kubernetes](http://kubernetes.io).

Expand All @@ -20,8 +20,8 @@ To install the NATS Streaming Operator on your cluster:

```sh
# Install NATS Operator on default namespace
$ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.2/00-prereqs.yaml
$ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.2/10-deployment.yaml
$ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.3/00-prereqs.yaml
$ kubectl apply -f https://github.com/nats-io/nats-operator/releases/download/v0.4.3/10-deployment.yaml

# Install NATS Streaming Operator on default namespace
$ kubectl apply -f https://raw.githubusercontent.com/nats-io/nats-streaming-operator/master/deploy/default-rbac.yaml
Expand Down Expand Up @@ -233,7 +233,7 @@ of the storage directory so that it is on the mounted filesystem. The volumes
to be mounted buy the NATS Streaming pod by definining them in the `template`
with the spec for the Pod.

```
```yaml
---
apiVersion: "streaming.nats.io/v1alpha1"
kind: "NatsStreamingCluster"
Expand Down
2 changes: 1 addition & 1 deletion deploy/deployment-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
serviceAccountName: nats-streaming-operator
containers:
- name: nats-streaming-operator
image: synadia/nats-streaming-operator:v0.2.0-v1alpha1
image: synadia/nats-streaming-operator:v0.2.2-v1alpha1
imagePullPolicy: Always
env:
- name: MY_POD_NAMESPACE
Expand Down
2 changes: 1 addition & 1 deletion deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
serviceAccountName: nats-streaming-operator
containers:
- name: nats-streaming-operator
image: synadia/nats-streaming-operator:v0.2.0-v1alpha1
image: synadia/nats-streaming-operator:v0.2.2-v1alpha1
imagePullPolicy: Always
env:
- name: MY_POD_NAMESPACE
Expand Down
4 changes: 2 additions & 2 deletions docker/operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.11.0-alpine3.8 AS builder
FROM golang:1.12.1-alpine AS builder
WORKDIR $GOPATH/src/github.com/nats-io/nats-streaming-operator/
COPY . .
RUN apk add --update git
RUN CGO_ENABLED=0 go build -installsuffix cgo -o /nats-streaming-operator ./cmd/nats-streaming-operator/main.go
RUN CGO_ENABLED=0 GO111MODULE=on go build -installsuffix cgo -o /nats-streaming-operator ./cmd/nats-streaming-operator/main.go

FROM alpine:3.8
COPY --from=builder /nats-streaming-operator /usr/local/bin/nats-streaming-operator
Expand Down
2 changes: 1 addition & 1 deletion internal/operator/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "time"

const (
// Version is the version of the NATS Streaming Operator.
Version = "0.3.0"
Version = "0.2.2"

// DefaultNATSStreamingImage is the default image
// of NATS Streaming that will be used, meant to be
Expand Down