Skip to content

Commit

Permalink
Merge pull request #38 from nats-io/release/v0.2.2
Browse files Browse the repository at this point in the history
Release/v0.2.2
  • Loading branch information
wallyqs authored Mar 22, 2019
2 parents ca4e4f1 + 8c511fd commit 871cedc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
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

0 comments on commit 871cedc

Please sign in to comment.