diff --git a/upstreamed/ghost/Chart.yaml b/upstreamed/ghost/Chart.yaml index 66e9d7a48..cd55c9b9b 100644 --- a/upstreamed/ghost/Chart.yaml +++ b/upstreamed/ghost/Chart.yaml @@ -1,6 +1,6 @@ name: ghost -version: 3.1.8 -appVersion: 1.24.2 +version: 4.0.1 +appVersion: 1.24.3 description: A simple, powerful publishing platform that allows you to share your stories with the world keywords: diff --git a/upstreamed/ghost/README.md b/upstreamed/ghost/README.md index 1b510e750..4fc286d05 100644 --- a/upstreamed/ghost/README.md +++ b/upstreamed/ghost/README.md @@ -66,10 +66,10 @@ The following table lists the configurable parameters of the Ghost chart and the | `externalDatabase.password` | Password for the above username | `nil` | | `externalDatabase.database` | Name of the existing database | `bitnami_ghost` | | `mariadb.enabled` | Whether or not to install MariaDB (disable if using external) | `true` | -| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | -| `mariadb.mariadbDatabase` | MariaDB Database name to create | `bitnami_ghost` | -| `mariadb.mariadbUser` | MariaDB Database user to create | `bn_ghost` | -| `mariadb.mariadbPassword` | MariaDB Password for user | _random 10 character long alphanumeric string_ | +| `mariadb.rootUser.password` | MariaDB admin password | `nil` | +| `mariadb.db.name` | MariaDB Database name to create | `bitnami_ghost` | +| `mariadb.db.user` | MariaDB Database user to create | `bn_ghost` | +| `mariadb.db.password` | MariaDB Password for user | _random 10 character long alphanumeric string_ | | `serviceType` | Kubernetes Service type | `LoadBalancer` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.storageClass` | PVC Storage Class for Ghost volume | `nil` (uses alpha storage annotation) | diff --git a/upstreamed/ghost/requirements.lock b/upstreamed/ghost/requirements.lock index a8fcd68eb..69fe3c798 100644 --- a/upstreamed/ghost/requirements.lock +++ b/upstreamed/ghost/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 2.1.1 -digest: sha256:b8e3e6de1e41b1af5cad8decf6f3345af26d850c11dcbb2e2efa4d118c51a573 -generated: 2018-05-11T15:39:45.730914147+02:00 + version: 4.2.2 +digest: sha256:8a53e73537f5a2d9073c3b1173b9c6b814c2baeb2e8e31485e2ad52172c0b296 +generated: 2018-06-11T13:06:19.37824158+02:00 diff --git a/upstreamed/ghost/requirements.yaml b/upstreamed/ghost/requirements.yaml index ca466c0e5..d3d9bf6c2 100644 --- a/upstreamed/ghost/requirements.yaml +++ b/upstreamed/ghost/requirements.yaml @@ -1,6 +1,6 @@ dependencies: - name: mariadb - version: 2.1.1 + version: 4.x.x repository: https://kubernetes-charts.storage.googleapis.com/ condition: mariadb.enabled tags: diff --git a/upstreamed/ghost/templates/deployment.yaml b/upstreamed/ghost/templates/deployment.yaml index 77dcbfca3..6c6798ce4 100644 --- a/upstreamed/ghost/templates/deployment.yaml +++ b/upstreamed/ghost/templates/deployment.yaml @@ -50,13 +50,13 @@ spec: value: "3306" - name: GHOST_DATABASE_NAME {{- if .Values.mariadb.enabled }} - value: {{ .Values.mariadb.mariadbDatabase | quote }} + value: {{ .Values.mariadb.db.name | quote }} {{- else }} value: {{ .Values.externalDatabase.database | quote }} {{- end }} - name: GHOST_DATABASE_USER {{- if .Values.mariadb.enabled }} - value: {{ .Values.mariadb.mariadbUser | quote }} + value: {{ .Values.mariadb.db.user | quote }} {{- else }} value: {{ .Values.externalDatabase.user | quote }} {{- end }} diff --git a/upstreamed/ghost/values.yaml b/upstreamed/ghost/values.yaml index b073b6ddb..ff7fd03d0 100644 --- a/upstreamed/ghost/values.yaml +++ b/upstreamed/ghost/values.yaml @@ -4,7 +4,7 @@ image: registry: docker.io repository: bitnami/ghost - tag: 1.24.2 + tag: 1.24.3 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -95,44 +95,45 @@ externalDatabase: ## MariaDB chart configuration ## mariadb: - ## Whether to use the database specified as a requirement or not. For example, to configure the chart with an existing database server. + ## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters enabled: true + ## Disable MariaDB replication + replication: + enabled: false + + ## Create a database and a database user + ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run + ## + db: + name: bitnami_ghost + user: bn_ghost + ## If the password is not specified, mariadb will generates a random password + ## + # password: ## MariaDB admin password ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run ## - # mariadbRootPassword: - ## Create a database - - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-on-first-run - ## - mariadbDatabase: bitnami_ghost - - ## Create a database user - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - mariadbUser: bn_ghost - - ## Password for mariadbUser - ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#creating-a-database-user-on-first-run - ## - # mariadbPassword: + # root: + # password: ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## - persistence: - enabled: true - ## mariadb data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - accessMode: ReadWriteOnce - size: 8Gi + master: + persistence: + enabled: true + ## mariadb data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## + # storageClass: "-" + accessMode: ReadWriteOnce + size: 8Gi + ## Kubernetes configuration ## For minikube, set this to NodePort, elsewhere use LoadBalancer diff --git a/upstreamed/kubewatch/.helmignore b/upstreamed/kubewatch/.helmignore new file mode 100644 index 000000000..f0c131944 --- /dev/null +++ b/upstreamed/kubewatch/.helmignore @@ -0,0 +1,21 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj diff --git a/upstreamed/kubewatch/Chart.yaml b/upstreamed/kubewatch/Chart.yaml new file mode 100644 index 000000000..2e4c70a58 --- /dev/null +++ b/upstreamed/kubewatch/Chart.yaml @@ -0,0 +1,20 @@ +name: kubewatch +version: 0.4.0 +apiVersion: v1 +appVersion: v0.0.4 +home: https://github.com/bitnami-labs/kubewatch +description: Kubewatch notifies your slack rooms when changes to your cluster occur +keywords: +- kubernetes +- slack +- hipchat +- mattermost +- flock +maintainers: +- name: compleatang + email: casey@monax.io +- name: Bitnami + email: containers@bitnami.com +sources: +- https://github.com/bitnami/bitnami-docker-kubewatch +engine: gotpl diff --git a/upstreamed/kubewatch/OWNERS b/upstreamed/kubewatch/OWNERS new file mode 100644 index 000000000..0db6eaa01 --- /dev/null +++ b/upstreamed/kubewatch/OWNERS @@ -0,0 +1,6 @@ +approvers: +- compleatang +- tompizmor +reviewers: +- compleatang +- tompizmor \ No newline at end of file diff --git a/upstreamed/kubewatch/README.md b/upstreamed/kubewatch/README.md new file mode 100644 index 000000000..6f78f9181 --- /dev/null +++ b/upstreamed/kubewatch/README.md @@ -0,0 +1,95 @@ +# kubewatch + +[kubewatch](https://github.com/bitnami-labs/kubewatch) is a Kubernetes watcher that currently publishes notification to Slack. Run it in your k8s cluster, and you will get event notifications in a slack channel. + + +## TL;DR; + +```console +$ helm install stable/kubewatch +``` + +## Introduction + +This chart bootstraps a kubewatch deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. + +## Installing the Chart + +To install the chart with the release name `my-release`: + +```console +$ helm install stable/kubewatch --name my-release +``` + +The command deploys kubewatch on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. + +## Uninstalling the Chart + +To uninstall/delete the `my-release` deployment: + +```console +$ helm delete my-release +``` + +The command removes all the Kubernetes components associated with the chart and deletes the release. + +## Configuration + +The following table lists the configurable parameters of the kubewatch chart and their default values. + +| Parameter | Description | Default | +| ---------------------------------------- | ------------------------------------ | --------------------------------- | +| `affinity` | node/pod affinities | None | +| `image.repository` | Image repository | `bitnami/kubewatch` | +| `image.tag` | Image tag | `{VERSION}` | +| `image.pullPolicy` | Image pull policy | `Always` | +| `nodeSelector` | node labels for pod assignment | `{}` | +| `podAnnotations` | annotations to add to each pod | `{}` | +| `podLabels` | additional labesl to add to each pod | `{}` | +| `replicaCount` | desired number of pods | `1` | +| `rbac.create` | If true, create & use RBAC resources | `true` | +| `serviceAccount.create` | If true, create a serviceAccount | `true` | +| `serviceAccount.name` | existing ServiceAccount to use (ignored if rbac.create=true) | `` | +| `resources` | pod resource requests & limits | `{}` | +| `slack.channel` | Slack channel to notify | `""` | +| `slack.token` | Slack API token | `""` | +| `hipchat.url` | HipChat URL | `""` | +| `hipchat.room` | HipChat room to notify | `""` | +| `hipchat.token` | HipChat token | `""` | +| `mattermost.channel` | Mattermost channel to notify | `""` | +| `mattermost.username` | Mattermost user to notify | `""` | +| `mattermost.url` | Mattermost URL | `""` | +| `flock.url` | Flock URL | `""` | +| `webhook.url` | Webhook URL | `""` | +| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` | +| `resourcesToWatch` | list of resources which kubewatch should watch and notify slack | `{pod: true, deployment: true}` | +| `resourcesToWatch.pod` | watch changes to [Pods](https://kubernetes.io/docs/concepts/workloads/pods/pod-overview/) | `true` | +| `resourcesToWatch.deployment` | watch changes to [Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) | `true` | +| `resourcesToWatch.replicationcontroller` | watch changes to [ReplicationControllers](https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/) | `false` | +| `resourcesToWatch.replicaset` | watch changes to [ReplicaSets](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/) | `false` | +| `resourcesToWatch.daemonset` | watch changes to [DaemonSets](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) | `false` | +| `resourcesToWatch.services` | watch changes to [Services](https://kubernetes.io/docs/concepts/services-networking/service/) | `false` | +| `resourcesToWatch.job` | watch changes to [Jobs](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/) | `false` | +| `resourcesToWatch.persistentvolume` | watch changes to [PersistentVolumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) | `false` | + +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, + +```console +$ helm install stable/kubewatch --name my-release \ + --set=slack.channel="#bots",slack.token="XXXX-XXXX-XXXX" +``` + +Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example, + +```console +$ helm install stable/kubewatch --name my-release -f values.yaml +``` + +> **Tip**: You can use the default [values.yaml](values.yaml) + +## Create a Slack bot + +Open [https://my.slack.com/services/new/bot](https://my.slack.com/services/new/bot) to create a new Slack bot. +The API token can be found on the edit page (it starts with `xoxb-`). + +Invite the Bot to your channel by typing `/join @name_of_your_bot` in the Slack message area. diff --git a/upstreamed/kubewatch/templates/NOTES.txt b/upstreamed/kubewatch/templates/NOTES.txt new file mode 100644 index 000000000..2eec79ffe --- /dev/null +++ b/upstreamed/kubewatch/templates/NOTES.txt @@ -0,0 +1,3 @@ +To verify that kubewatch has started, run: + + kubectl --namespace={{ .Release.Namespace }} get pods -l "app={{ template "kubewatch.name" . }},release={{ .Release.Name }}" diff --git a/upstreamed/kubewatch/templates/_helpers.tpl b/upstreamed/kubewatch/templates/_helpers.tpl new file mode 100644 index 000000000..3e3d9656f --- /dev/null +++ b/upstreamed/kubewatch/templates/_helpers.tpl @@ -0,0 +1,44 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "kubewatch.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "kubewatch.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "kubewatch.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + + +{{/* +Create the name of the service account to use +*/}} +{{- define "kubewatch.serviceAccountName" -}} +{{- if .Values.serviceAccount.create -}} + {{ default (include "kubewatch.fullname" .) .Values.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.serviceAccount.name }} +{{- end -}} +{{- end -}} \ No newline at end of file diff --git a/upstreamed/kubewatch/templates/clusterrole.yaml b/upstreamed/kubewatch/templates/clusterrole.yaml new file mode 100644 index 000000000..bd3e79b68 --- /dev/null +++ b/upstreamed/kubewatch/templates/clusterrole.yaml @@ -0,0 +1,25 @@ +{{- if .Values.rbac.create -}} +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +metadata: + labels: + app: {{ template "kubewatch.name" . }} + chart: {{ template "kubewatch.chart" . }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + name: {{ template "kubewatch.fullname" . }} +rules: + - apiGroups: + - "" + resources: + - pods + - namespaces + - services + - deployments + - replicationcontrollers + - replicasets + - daemonsets + verbs: + - list + - watch +{{- end -}} diff --git a/upstreamed/kubewatch/templates/clusterrolebinding.yaml b/upstreamed/kubewatch/templates/clusterrolebinding.yaml new file mode 100644 index 000000000..b309c5f53 --- /dev/null +++ b/upstreamed/kubewatch/templates/clusterrolebinding.yaml @@ -0,0 +1,19 @@ +{{- if .Values.rbac.create -}} +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +metadata: + labels: + app: {{ template "kubewatch.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + name: {{ template "kubewatch.fullname" . }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ template "kubewatch.fullname" . }} +subjects: + - kind: ServiceAccount + name: {{ template "kubewatch.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} +{{- end -}} \ No newline at end of file diff --git a/upstreamed/kubewatch/templates/configmap.yaml b/upstreamed/kubewatch/templates/configmap.yaml new file mode 100644 index 000000000..f74cf4701 --- /dev/null +++ b/upstreamed/kubewatch/templates/configmap.yaml @@ -0,0 +1,34 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + labels: + app: {{ template "kubewatch.name" . }} + chart: {{ template "kubewatch.chart" . }} + heritage: "{{ .Release.Service }}" + release: "{{ .Release.Name }}" + name: {{ template "kubewatch.fullname" . }}-config +data: + .kubewatch.yaml: | + handler: +{{- if .Values.slack }} + slack: +{{ toYaml .Values.slack | indent 8 }} +{{- end }} +{{- if .Values.hipchat }} + hipchat: +{{ toYaml .Values.hipchat | indent 8 }} +{{- end }} +{{- if .Values.mattermost }} + mattermost: +{{ toYaml .Values.mattermost | indent 8 }} +{{- end }} +{{- if .Values.flock }} + flock: +{{ toYaml .Values.flock | indent 8 }} +{{- end }} +{{- if .Values.webhook }} + webhook: +{{ toYaml .Values.webhook | indent 8 }} +{{- end }} + resource: +{{ toYaml .Values.resourcesToWatch | indent 6 }} diff --git a/upstreamed/kubewatch/templates/deployment.yaml b/upstreamed/kubewatch/templates/deployment.yaml new file mode 100644 index 000000000..cc8a5e575 --- /dev/null +++ b/upstreamed/kubewatch/templates/deployment.yaml @@ -0,0 +1,56 @@ +apiVersion: apps/v1beta2 +kind: Deployment +metadata: + labels: + app: {{ template "kubewatch.name" . }} + chart: {{ template "kubewatch.chart" . }} + heritage: "{{ .Release.Service }}" + release: "{{ .Release.Name }}" + name: {{ template "kubewatch.fullname" . }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ template "kubewatch.name" . }} + release: {{ .Release.Name }} + template: + metadata: + annotations: + checksum/config-map: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- if .Values.podAnnotations }} +{{ toYaml .Values.podAnnotations | indent 8 }} + {{- end }} + labels: + app: {{ template "kubewatch.name" . }} + release: "{{ .Release.Name }}" + {{- if .Values.podLabels }} +{{ toYaml .Values.podLabels | indent 8 }} + {{- end }} + spec: + containers: + - name: {{ template "kubewatch.name" . }} + image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + imagePullPolicy: {{ .Values.image.pullPolicy }} + volumeMounts: + - name: {{ template "kubewatch.name" . }}-config-map + mountPath: /opt/bitnami/kubewatch/.kubewatch.yaml + subPath: .kubewatch.yaml + resources: +{{ toYaml .Values.resources | indent 10 }} + {{- if .Values.affinity }} + affinity: +{{ toYaml .Values.affinity | indent 8 }} + {{- end }} + {{- if .Values.nodeSelector }} + nodeSelector: +{{ toYaml .Values.nodeSelector | indent 8 }} + {{- end }} + serviceAccountName: {{ template "kubewatch.serviceAccountName" . }} + tolerations: +{{ toYaml .Values.tolerations | indent 8 }} + restartPolicy: Always + volumes: + - name: {{ template "kubewatch.name" . }}-config-map + configMap: + name: {{ template "kubewatch.fullname" . }}-config + diff --git a/upstreamed/kubewatch/templates/servieaccount.yaml b/upstreamed/kubewatch/templates/servieaccount.yaml new file mode 100644 index 000000000..82b18d473 --- /dev/null +++ b/upstreamed/kubewatch/templates/servieaccount.yaml @@ -0,0 +1,11 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: {{ template "kubewatch.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version }} + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + name: {{ template "kubewatch.serviceAccountName" . }} +{{- end -}} \ No newline at end of file diff --git a/upstreamed/kubewatch/values.yaml b/upstreamed/kubewatch/values.yaml new file mode 100644 index 000000000..b30eb354e --- /dev/null +++ b/upstreamed/kubewatch/values.yaml @@ -0,0 +1,72 @@ +slack: + # Slack channel to notify + channel: "XXXX" + + # Slack bots token. Create using: https://my.slack.com/services/new/bot + # and invite the bot to your channel using: /join @botname + token: "XXXX" + +# hipchat: +# room: "" +# token: "" +# url: "" +# mattermost: +# channel: "" +# url: "" +# username: "" +# flock: +# url: "" +# webhook: +# url: "" + +# Resources to watch +resourcesToWatch: + deployment: true + replicationcontroller: false + replicaset: false + daemonset: false + services: false + pod: true + job: false + persistentvolume: false + +image: + repository: "bitnami/kubewatch" + tag: "0.0.4" + pullPolicy: "Always" + +rbac: + # If true, create & use RBAC resources + # + create: true + +serviceAccount: + # Specifies whether a ServiceAccount should be created + create: true + # The name of the ServiceAccount to use. + # If not set and create is true, a name is generated using the fullname template + name: + +resources: {} + # limits: + # cpu: 100m + # memory: 300Mi + # requests: + # cpu: 100m + # memory: 300Mi + +# Affinity for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +# affinity: {} + +# Tolerations for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +tolerations: [] + +# Node labels for pod assignment +# Ref: https://kubernetes.io/docs/user-guide/node-selection/ +nodeSelector: {} + +podAnnotations: {} +podLabels: {} +replicaCount: 1 diff --git a/upstreamed/phabricator/Chart.yaml b/upstreamed/phabricator/Chart.yaml index ee96121e9..44feafa83 100644 --- a/upstreamed/phabricator/Chart.yaml +++ b/upstreamed/phabricator/Chart.yaml @@ -1,5 +1,5 @@ name: phabricator -version: 1.0.12 +version: 2.0.0 appVersion: 2018.23.0 description: Collection of open source web applications that help software companies build better software. keywords: diff --git a/upstreamed/phabricator/README.md b/upstreamed/phabricator/README.md index d21b257dc..ca438f9e5 100644 --- a/upstreamed/phabricator/README.md +++ b/upstreamed/phabricator/README.md @@ -64,7 +64,7 @@ The following table lists the configurable parameters of the Phabricator chart a | `smtpUser` | SMTP user | `nil` | | `smtpPassword` | SMTP password | `nil` | | `smtpProtocol` | SMTP protocol [`ssl`, `tls`] | `nil` | -| `mariadb.mariadbRootPassword` | MariaDB admin password | `nil` | +| `mariadb.rootUser.password` | MariaDB admin password | `nil` | | `serviceType` | Kubernetes Service type | `LoadBalancer` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.apache.storageClass` | PVC Storage Class for Apache volume | `nil` (uses alpha storage class annotation) | diff --git a/upstreamed/phabricator/requirements.lock b/upstreamed/phabricator/requirements.lock index f8006fdba..2f103339c 100644 --- a/upstreamed/phabricator/requirements.lock +++ b/upstreamed/phabricator/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 0.7.0 -digest: sha256:e1af13ac4ac21f67582006f12d2b4eb78a1a2a59b34338fac850f2bec0b08b41 -generated: 2017-08-09T22:52:56.763676666-04:00 + version: 4.2.2 +digest: sha256:24134c936ea3fe53c0b99529efc97db98284daa3a8fbd22ab79e8d1c8ba441c9 +generated: 2018-06-11T16:15:42.792809373+02:00 diff --git a/upstreamed/phabricator/requirements.yaml b/upstreamed/phabricator/requirements.yaml index 4896aa89d..1966821ad 100644 --- a/upstreamed/phabricator/requirements.yaml +++ b/upstreamed/phabricator/requirements.yaml @@ -1,4 +1,4 @@ dependencies: - name: mariadb - version: 0.7.0 + version: 4.x.x repository: https://kubernetes-charts.storage.googleapis.com/ diff --git a/upstreamed/phabricator/values.yaml b/upstreamed/phabricator/values.yaml index 41153c416..484cb8b1e 100644 --- a/upstreamed/phabricator/values.yaml +++ b/upstreamed/phabricator/values.yaml @@ -66,26 +66,34 @@ phabricatorLastName: Last Name ## MariaDB chart configuration ## mariadb: + ## Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database set this to false and configure the externalDatabase parameters + enabled: true + ## Disable MariaDB replication + replication: + enabled: false + ## MariaDB admin password ## ref: https://github.com/bitnami/bitnami-docker-mariadb/blob/master/README.md#setting-the-root-password-on-first-run ## - # mariadbRootPassword: + # rootUser: + # password: ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## - persistence: - enabled: true - ## mariadb data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - accessMode: ReadWriteOnce - size: 8Gi + master: + persistence: + enabled: true + ## mariadb data Persistent Volume Storage Class + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## + # storageClass: "-" + accessMode: ReadWriteOnce + size: 8Gi ## Kubernetes configuration ## For minikube, set this to NodePort, elsewhere use LoadBalancer