Skip to content

Commit

Permalink
Add namespace everywhere, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolf committed May 30, 2019
1 parent bf45598 commit 1b32858
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
Chart is partially based on the statefullset example from the [stolon repo](https://github.com/sorintlab/stolon)

> This chart was accepted to the official kubernetes/charts repository and could be installed from there as well
> https://github.com/helm/charts/tree/master/stable/stolon
Currently only etcd backend is supported.

## Requirements
Expand Down
4 changes: 3 additions & 1 deletion stolon/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
name: stolon
version: 0.8.0
appVersion: 0.13.0
home: https://github.com/sorintlab/stolon
version: 0.7.1
description: Stolon Helm Chart for Kubernetes.
sources:
- https://github.com/sorintlab/stolon
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/cluster-create-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ template "stolon.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/keeper-ro-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "stolon.keeper.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.keeper.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/keeper-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
name: {{ template "stolon.keeper.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.keeper.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/proxy-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ template "stolon.proxy.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.proxy.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/proxy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "stolon.proxy.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.proxy.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "stolon.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/sentinel-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ template "stolon.sentinel.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.sentinel.fullname" . }}
release: "{{ .Release.Name }}"
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/stolon-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: {{ template "stolon.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.fullname" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/stolon-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: {{ template "stolon.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.fullname" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
Expand Down
1 change: 1 addition & 0 deletions stolon/templates/stolon-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "stolon.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "stolon.fullname" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
Expand Down
2 changes: 1 addition & 1 deletion stolon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image: "sorintlab/stolon"
## Stolon image version.
## ref: https://hub.docker.com/r/sorintlab/stolon/tags/
##
imageTag: "v0.12.0-pg10"
imageTag: "v0.13.0-pg11"

## Specify a imagePullPolicy: 'Always' if imageTag is 'latest', else set to 'IfNotPresent'.
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down

0 comments on commit 1b32858

Please sign in to comment.