Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Publish Stash 0.6.2 chart (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored and k8s-ci-robot committed Jan 14, 2018
1 parent 1e138c9 commit 0110903
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 11 deletions.
4 changes: 2 additions & 2 deletions stable/stash/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
description: 'Stash by AppsCode - Backup your Kubernetes Volumes'
name: stash
version: 0.2.0
appVersion: 0.5.1
version: 0.3.0
appVersion: 0.6.2
home: https://github.com/appscode/stash
icon: https://cdn.appscode.com/images/icon/stash.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion stable/stash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following tables lists the configurable parameters of the Stash chart and th
| --------------------------| ----------------------------------------------------------------- | ------------------ |
| `replicaCount` | Number of stash operator replicas to create (only 1 is supported) | `1` |
| `operator.image` | operator container image | `appscode/stash` |
| `operator.tag` | operator container image tag | `0.5.1` |
| `operator.tag` | operator container image tag | `0.6.2` |
| `operator.pullPolicy` | operator container image pull policy | `IfNotPresent` |
| `pushgateway.image` | Prometheus pushgateway container image | `prom/pushgateway` |
| `pushgateway.tag` | Prometheus pushgateway container image tag | `v0.4.0` |
Expand Down
6 changes: 5 additions & 1 deletion stable/stash/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
*/}}
{{- define "stash.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" $name .Release.Name | trunc 63 -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
33 changes: 27 additions & 6 deletions stable/stash/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,32 @@ rules:
resources: ["*"]
verbs: ["*"]
- apiGroups:
- extensions
- apps
resources:
- replicasets
- daemonsets
- deployments
- statefulsets
verbs: ["get", "list", "watch", "patch"]
- apiGroups:
- apps
- batch
resources:
- deployments
- jobs
- cronjobs
verbs: ["get", "list", "watch", "create", "delete", "patch"]
- apiGroups:
- extensions
resources:
- replicasets
- daemonsets
verbs: ["get", "list", "watch", "patch"]
- apiGroups: [""]
resources:
- namespaces
- replicationcontrollers
verbs: ["get", "list", "watch", "patch"]
- apiGroups: [""]
resources:
- configmaps
verbs: ["create", "update", "get", "delete"]
- apiGroups: [""]
resources:
- secrets
Expand All @@ -49,13 +60,23 @@ rules:
resources:
- events
verbs: ["create"]
- apiGroups: [""]
resources:
- nodes
verbs: ["list"]
- apiGroups: [""]
resources:
- pods
verbs: ["list", delete"]
verbs: ["get", "create", "list", "delete", "deletecollection"]
- apiGroups: [""]
resources:
- serviceaccounts
verbs: ["get", "create", "patch", "delete"]
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- roles
- rolebindings
verbs: ["get", "create", "delete", "patch"]
{{ end }}
2 changes: 2 additions & 0 deletions stable/stash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ metadata:
app: "{{ template "stash.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
initializers:
pending: []
spec:
replicas: {{ .Values.replicaCount }}
template:
Expand Down
2 changes: 1 addition & 1 deletion stable/stash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
replicaCount: 1
operator:
image: appscode/stash
tag: 0.5.1
tag: 0.6.2
pushgateway:
image: prom/pushgateway
tag: v0.4.0
Expand Down

0 comments on commit 0110903

Please sign in to comment.