Commit a45d945f authored by Will JALLET's avatar Will JALLET 💸

Update the appscode charts, for real this time

parent 697b0dc6
Pipeline #4345 passed with stage
in 13 seconds
apiVersion: v1
# This chart is deprecated and moved to https://github.com/appscode/charts. For details deprecation,
# including how to un-deprecate a chart see the PROCESSES.md file.
deprecated: true
description: DEPRECATED KubeDB by AppsCode - Making running production-grade databases easy on Kubernetes
name: kubedb
version: 0.1.3
appVersion: 0.8.0-beta.2
appVersion: 0.8.0
description: KubeDB by AppsCode - Production ready databases on Kubernetes
home: https://github.com/kubedb/cli
icon: https://cdn.appscode.com/images/icon/kubedb.png
sources:
- https://github.com/kubedb/cli
maintainers:
- name: appscode
email: kubedb@appscode.com
- email: kubedb@appscode.com
name: appscode
name: kubedb
sources:
- https://github.com/kubedb/cli
version: 0.8.0
**This chart is DEPRECATED and moved to https://github.com/appscode/charts**
# KubeDB
[KubeDB by AppsCode](https://github.com/kubedb/cli) - Making running production-grade databases easy on Kubernetes
## TL;DR;
```console
$ helm install stable/kubedb
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install appscode/kubedb
```
## Introduction
......@@ -21,8 +21,9 @@ This chart bootstraps a [KubeDB controller](https://github.com/kubedb/cli) deplo
To install the chart with the release name `my-release`:
```console
$ helm install stable/kubedb --name my-release
$ helm install appscode/kubedb --name my-release
```
The command deploys KubeDB operator on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
> **Tip**: List all releases using `helm list`
......@@ -42,36 +43,37 @@ The command removes all the Kubernetes components associated with the chart and
The following table lists the configurable parameters of the KubeDB chart and their default values.
| Parameter | Description | Default |
| -----------------------------------| ------------------------------------------------------------------ | ------------------ |
| `replicaCount` | Number of kubedb operator replicas to create (only 1 is supported) | `1` |
| `dockerRegistry` | Docker registry used to pull KubeDB related images | `kubedb` |
| `imageTags.operator` | Tag of KubeDB operator image | `0.8.0-beta.2` |
| `imageTags.exporter` | Tag of KubeDB operator image | `0.8.0-beta.2` |
| `imageTags.apiserver` | Tag of KubeDB server image | `0.1.0-beta.2` |
| `imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `criticalAddon` | If true, installs KubeDB operator as critical addon | `false` |
| `rbac.create` | If `true`, create and use RBAC resources | `true` |
| `serviceAccount.create` | If `true`, create a new service account | `true` |
| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template | `` |
| `apiserver.groupPriorityMinimum` | The minimum priority the group should have. | 10000 |
| `apiserver.versionPriority` | The ordering of this API inside of the group. | 15 |
| `apiserver.enableAdmissionWebhook` | Configure apiserver as admission webhooks for KubeDB CRDs | false |
| `apiserver.ca` | CA certificate used by main Kubernetes api server | `` |
| Parameter | Description | Default |
| ----------------------------------- | ------------------------------------------------------------------ | ------------------ |
| `replicaCount` | Number of kubedb operator replicas to create (only 1 is supported) | `1` |
| `kubedb.registry` | Docker registry used to pull Kubedb operator image | `kubedb` |
| `kubedb.repository` | Kubedb operator container image | `operator` |
| `kubedb.tag` | Kubedb operator container image tag | `0.8.0` |
| `imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `criticalAddon` | If true, installs KubeDB operator as critical addon | `false` |
| `rbac.create` | If `true`, create and use RBAC resources | `true` |
| `serviceAccount.create` | If `true`, create a new service account | `true` |
| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template | `` |
| `apiserver.groupPriorityMinimum` | The minimum priority the group should have. | 10000 |
| `apiserver.versionPriority` | The ordering of this API inside of the group. | 15 |
| `apiserver.enableValidatingWebhook` | Enable validating webhooks for KubeDB CRDs | false |
| `apiserver.enableMutatingWebhook` | Enable mutating webhooks for KubeDB CRDs | false |
| `apiserver.ca` | CA certificate used by main Kubernetes api server | `` |
| `enableAnalytics` | Send usage events to Google Analytics | `true` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
```console
$ helm install --name my-release --set image.tag=v0.2.1 stable/kubedb
$ helm install --name my-release --set image.tag=v0.2.1 appscode/kubedb
```
Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:
```console
$ helm install --name my-release --values values.yaml stable/kubedb
$ helm install --name my-release --values values.yaml appscode/kubedb
```
## RBAC
......@@ -92,5 +94,5 @@ If the output contains "beta", you may install the chart with RBAC enabled (see
To enable the creation of RBAC resources (On clusters with RBAC). Do the following:
```console
$ helm install --name my-release stable/kubedb --set rbac.create=true
$ helm install --name my-release appscode/kubedb --set rbac.create=true
```
**This chart is DEPRECATED and moved to https://github.com/appscode/charts**
To verify that KubeDB has started, run:
kubectl --namespace={{ .Release.Namespace }} get deployments -l "release={{ .Release.Name }}, app={{ template "kubedb.name" . }}"
......@@ -6,14 +6,33 @@
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
name: v1alpha1.admission.kubedb.com
name: v1alpha1.validators.kubedb.com
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "kubedb.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
spec:
group: admission.kubedb.com
group: validators.kubedb.com
version: v1alpha1
service:
namespace: {{ .Release.Namespace }}
name: {{ template "kubedb.fullname" . }}
caBundle: {{ b64enc $ca.Cert }}
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
versionPriority: {{ .Values.apiserver.versionPriority }}
---
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
name: v1alpha1.mutators.kubedb.com
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "kubedb.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
spec:
group: mutators.kubedb.com
version: v1alpha1
service:
namespace: {{ .Release.Namespace }}
......@@ -26,6 +45,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "kubedb.fullname" . }}-apiserver-cert
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "kubedb.name" . }}"
......
......@@ -13,7 +13,8 @@ rules:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs: ["create", "delete", "get", "list"]
verbs:
- "*"
- apiGroups:
- rbac.authorization.k8s.io
resources:
......@@ -24,7 +25,7 @@ rules:
- ""
resources:
- services
verbs: ["create", "delete", "get", "patch"]
verbs: ["create", "delete", "get", "patch", "list"]
- apiGroups:
- ""
resources:
......
......@@ -2,13 +2,12 @@ apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: {{ template "kubedb.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "kubedb.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
initializers:
pending: []
spec:
replicas: {{ .Values.replicaCount }}
selector:
......@@ -32,31 +31,26 @@ spec:
{{- end }}
containers:
- name: operator
image: {{ .Values.dockerRegistry }}/operator:{{ .Values.imageTags.operator }}
image: {{ .Values.kubedb.registry }}/{{ .Values.kubedb.repository }}:{{ .Values.kubedb.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- run
- --v=3
- --docker-registry={{ .Values.dockerRegistry }}
- --exporter-tag={{ .Values.imageTags.exporter }}
- --docker-registry={{ .Values.kubedb.registry }}
- --exporter-tag={{ .Values.kubedb.tag }}
- --governing-service=kubedb
- --rbac={{ .Values.rbac.create }}
- --secure-port=8443
- --audit-log-path=-
- --tls-cert-file=/var/serving-cert/tls.crt
- --tls-private-key-file=/var/serving-cert/tls.key
- --enable-analytics={{ .Values.enableAnalytics }}
env:
- name: OPERATOR_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: server
image: {{ .Values.dockerRegistry }}/kubedb-server:{{ .Values.imageTags.apiserver }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- run
- --v=3
- --secure-port=8443
- --audit-log-path=-
- --tls-cert-file=/var/serving-cert/tls.crt
- --tls-private-key-file=/var/serving-cert/tls.key
ports:
- containerPort: 8443
volumeMounts:
......@@ -67,6 +61,9 @@ spec:
path: /healthz
port: 8443
scheme: HTTPS
resources:
requests:
cpu: "100m"
volumes:
- name: serving-cert
secret:
......
......@@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "kubedb.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "kubedb.name" . }}"
......
......@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "kubedb.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: "{{ template "kubedb.name" . }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
......
......@@ -5,6 +5,9 @@ metadata:
name: kubedb:core:admin
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- kubedb.com
......@@ -33,6 +36,9 @@ metadata:
name: kubedb:core:edit
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- kubedb.com
......@@ -68,6 +74,9 @@ metadata:
name: kubedb:core:view
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- kubedb.com
......
##
## KubeDB chart configuration
##
# Docker registry containing KubeDB images
dockerRegistry: kubedb
## Tags for Docker images
imageTags:
## Docker image tag containing KubeDB operator
operator: 0.8.0-beta.2
## Docker image tag containing KubeDB exporter
exporter: 0.8.0-beta.2
## Docker image tag containing KubeDB apiserver
apiserver: 0.1.0-beta.2
# Declare variables to be passed into your templates.
replicaCount: 1
# Docker registry containing Kubedb images
kubedb:
registry: kubedb
repository: operator
tag: 0.8.0
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
......@@ -47,7 +42,12 @@ apiserver:
# https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L66-L70
# for more information on proper values of this field
versionPriority: 15
# enableAdmissionWebhook is used to configure apiserver as admission webhook for KubeDB CRDs
enableAdmissionWebhook: false
# enableMutatingWebhook is used to configure mutating webhook for KubeDB CRDs
enableMutatingWebhook: false
# enableValidatingWebhook is used to configure validating webhook for KubeDB CRDs
enableValidatingWebhook: false
# CA certificate used by main Kubernetes api server
ca:
# Send usage events to Google Analytics
enableAnalytics: true
apiVersion: v1
# This chart is deprecated and moved to https://github.com/appscode/charts. For details deprecation,
# including how to un-deprecate a chart see the PROCESSES.md file.
deprecated: true
description: DEPRECATED Stash by AppsCode - Backup your Kubernetes Volumes
name: stash
version: 0.5.3
appVersion: 0.7.0-rc.1
appVersion: 0.7.0
description: Stash by AppsCode - Backup your Kubernetes Volumes
home: https://github.com/appscode/stash
icon: https://cdn.appscode.com/images/icon/stash.png
maintainers:
- email: support@appscode.com
name: appscode
name: stash
sources:
- https://github.com/appscode/stash
- https://github.com/appscode/stash
version: 0.7.0
**This chart is DEPRECATED and moved to https://github.com/appscode/charts**
# Stash
[Stash by AppsCode](https://github.com/appscode/stash) - Backup your Kubernetes Volumes
## TL;DR;
```console
$ helm install stable/stash
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install appscode/stash
```
## Introduction
......@@ -19,7 +19,7 @@ This chart bootstraps a [Stash controller](https://github.com/appscode/stash) de
## Installing the Chart
To install the chart with the release name `my-release`:
```console
$ helm install stable/stash --name my-release
$ helm install appscode/stash --name my-release
```
The command deploys Stash operator on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
......@@ -42,35 +42,37 @@ The following table lists the configurable parameters of the Stash chart and the
| Parameter | Description | Default |
| ----------------------------------- | ----------------------------------------------------------------- | ------------------ |
| `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.7.0-rc.1` |
| `operator.pullPolicy` | operator container image pull policy | `IfNotPresent` |
| `pushgateway.image` | Prometheus pushgateway container image | `prom/pushgateway` |
| `replicaCount` | Number of stash operator replicas to create (only 1 is supported) | `1` |
| `operator.registry` | Docker registry used to pull operator image | `appscode` |
| `operator.repository` | operator container image | `stash` |
| `operator.tag` | operator container image tag | `0.7.0` |
| `pushgateway.registry` | Docker registry used to pull Prometheus pushgateway image | `prom` |
| `pushgateway.repository` | Prometheus pushgateway container image | `pushgateway` |
| `pushgateway.tag` | Prometheus pushgateway container image tag | `v0.4.0` |
| `pushgateway.pullPolicy` | Prometheus pushgateway container image pull policy | `IfNotPresent` |
| `imagePullPolicy` | container image pull policy | `IfNotPresent` |
| `criticalAddon` | If true, installs Stash operator as critical addon | `false` |
| `rbac.create` | If `true`, create and use RBAC resources | `true` |
| `serviceAccount.create` | If `true`, create a new service account | `true` |
| `serviceAccount.name` | Service account to be used. If not set and `serviceAccount.create` is `true`, a name is generated using the fullname template | `` |
| `apiserver.groupPriorityMinimum` | The minimum priority the group should have | 10000 |
| `apiserver.versionPriority` | The ordering of this API inside of the group | 15 |
| `apiserver.groupPriorityMinimum` | The minimum priority the group should have. | 10000 |
| `apiserver.versionPriority` | The ordering of this API inside of the group. | 15 |
| `apiserver.enableValidatingWebhook` | Enable validating webhooks for Stash CRDs | false |
| `apiserver.enableMutatingWebhook` | Enable mutating webhooks for Kubernetes workloads | false |
| `apiserver.ca` | CA certificate used by main Kubernetes api server | `` |
| `enableAnalytics` | Send usage events to Google Analytics | `true` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
```console
$ helm install --name my-release --set image.tag=v0.2.1 stable/stash
$ helm install --name my-release --set image.tag=v0.2.1 appscode/stash
```
Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:
```console
$ helm install --name my-release --values values.yaml stable/stash
$ helm install --name my-release --values values.yaml appscode/stash
```
## RBAC
......@@ -91,5 +93,5 @@ If the output contains "beta", you may install the chart with RBAC enabled (see
To enable the creation of RBAC resources (On clusters with RBAC). Do the following:
```console
$ helm install --name my-release stable/stash --set rbac.create=true
$ helm install --name my-release appscode/stash --set rbac.create=true
```
**This chart is DEPRECATED and moved to https://github.com/appscode/charts**
To verify that Stash has started, run:
kubectl --namespace={{ .Release.Namespace }} get deployments -l "release={{ .Release.Name }}, app={{ template "stash.name" . }}"
......@@ -3,6 +3,7 @@
{{- $altName1 := printf "%s.%s" $cn .Release.Namespace }}
{{- $altName2 := printf "%s.%s.svc" $cn .Release.Namespace }}
{{- $cert := genSignedCert $cn nil (list $altName1 $altName2) 3650 $ca }}
{{- if or .Values.apiserver.enableMutatingWebhook .Values.apiserver.enableValidatingWebhook }}
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
......@@ -22,10 +23,31 @@ spec:
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
versionPriority: {{ .Values.apiserver.versionPriority }}
---
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
name: v1alpha1.repositories.stash.appscode.com
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "stash.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
spec:
group: repositories.stash.appscode.com
version: v1alpha1
service:
namespace: {{ .Release.Namespace }}
name: {{ template "stash.fullname" . }}
caBundle: {{ b64enc $ca.Cert }}
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
versionPriority: {{ .Values.apiserver.versionPriority }}
{{ end }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ template "stash.fullname" . }}-apiserver-cert
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "stash.name" . }}"
......
......@@ -67,6 +67,7 @@ rules:
- apiGroups: [""]
resources:
- pods
- pods/exec
verbs: ["get", "create", "list", "delete", "deletecollection"]
- apiGroups: [""]
resources:
......
......@@ -2,6 +2,7 @@ apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: {{ template "stash.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "stash.name" . }}"
......@@ -30,17 +31,18 @@ spec:
{{- end }}
containers:
- name: operator
image: {{ .Values.operator.image }}:{{ .Values.operator.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
image: {{ .Values.operator.registry }}/{{ .Values.operator.repository }}:{{ .Values.operator.tag }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- run
- --v=3
- --rbac={{ .Values.rbac.create }}
- --docker-registry={{ .Values.dockerRegistry }}
- --docker-registry={{ .Values.operator.registry }}
- --secure-port=8443
- --audit-log-path=-
- --tls-cert-file=/var/serving-cert/tls.crt
- --tls-private-key-file=/var/serving-cert/tls.key
- --enable-analytics={{ .Values.enableAnalytics }}
ports:
- containerPort: 8443
- containerPort: 56790
......@@ -53,7 +55,7 @@ spec:
- mountPath: /var/serving-cert
name: serving-cert
- name: pushgateway
image: '{{ .Values.pushgateway.image }}:{{ .Values.pushgateway.tag }}'
image: '{{ .Values.pushgateway.registry }}/{{ .Values.pushgateway.repository }}:{{ .Values.pushgateway.tag }}'
imagePullPolicy: {{ .Values.imagePullPolicy }}
args:
- -web.listen-address=:56789
......
......@@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "stash.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
app: "{{ template "stash.name" . }}"
......
......@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "stash.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: "{{ template "stash.name" . }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
......
......@@ -6,12 +6,16 @@ metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- stash.appscode.com
resources:
- restics
- recoveries
- repositories
verbs:
- create
- delete
......@@ -28,12 +32,16 @@ metadata:
name: appscode:stash:view
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- stash.appscode.com
resources:
- restics
- recoveries
- repositories
verbs:
- get
- list
......
......@@ -2,11 +2,14 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
# Docker registry containing Stash images
operator:
image: appscode/stash
tag: 0.7.0-rc.1
registry: appscode
repository: stash
tag: 0.7.0
pushgateway:
image: prom/pushgateway
registry: prom
repository: pushgateway
tag: v0.4.0
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
......@@ -43,7 +46,12 @@ apiserver:
# https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L66-L70
# for more information on proper values of this field
versionPriority: 15
# enableAdmissionWebhook is used to configure apiserver as ValidationWebhook for Voyager CRDs
enableAdmissionWebhook: false
# enableMutatingWebhook is used to configure mutating webhook for Kubernetes workloads
enableMutatingWebhook: false
# enableValidatingWebhook is used to configure validating webhook for Stash CRDss
enableValidatingWebhook: false
# CA certificate used by main Kubernetes api server
ca:
# Send usage events to Google Analytics
enableAnalytics: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment