mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
Synchronize upstreamed folder to f9c3cb33d
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: drupal
|
||||
version: 3.1.0
|
||||
appVersion: 8.6.10
|
||||
version: 3.1.1
|
||||
appVersion: 8.6.11
|
||||
description: One of the most versatile open source content management systems.
|
||||
keywords:
|
||||
- drupal
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/drupal
|
||||
tag: 8.6.10
|
||||
tag: 8.6.11
|
||||
## 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb
|
||||
version: 5.10.0
|
||||
version: 5.11.0
|
||||
appVersion: 4.0.6
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -110,6 +110,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `readinessProbe.timeoutSeconds` | When the probe times out | `5` |
|
||||
| `readinessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `6` |
|
||||
| `readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed. | `1` |
|
||||
| `initConfigMap.name` | Custom config map with init scripts | `nil` |
|
||||
| `configmap` | MongoDB configuration file to be used | `nil` |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image.registry` | MongoDB exporter image registry | `docker.io` |
|
||||
@@ -185,6 +186,7 @@ Some characteristics of this chart are:
|
||||
## Initialize a fresh instance
|
||||
|
||||
The [Bitnami MongoDB](https://github.com/bitnami/bitnami-docker-mongodb) image allows you to use your custom scripts to initialize a fresh instance. In order to execute the scripts, they must be located inside the chart folder `files/docker-entrypoint-initdb.d` so they can be consumed as a ConfigMap.
|
||||
Also you can create a custom config map and give it via `initConfigMap`(check options for more details).
|
||||
|
||||
The allowed extensions are `.sh`, and `.js`.
|
||||
|
||||
|
||||
@@ -193,11 +193,16 @@ spec:
|
||||
{{ toYaml .Values.metrics.resources | indent 10 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") }}
|
||||
{{- if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") }}
|
||||
- name: custom-init-scripts
|
||||
configMap:
|
||||
name: {{ template "mongodb.fullname" . }}-init-scripts
|
||||
{{- end }}
|
||||
{{- if (.Values.initConfigMap) }}
|
||||
- name: custom-init-scripts
|
||||
configMap:
|
||||
name: {{ .Values.initConfigMap.name }}
|
||||
{{- end }}
|
||||
- name: data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -9,5 +9,5 @@ metadata:
|
||||
release: {{ .Release.Name | quote }}
|
||||
heritage: {{ .Release.Service | quote }}
|
||||
data:
|
||||
{{ (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]").AsConfig | indent 2 }}
|
||||
{{ end }}
|
||||
{{ tpl (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]").AsConfig . | indent 2 }}
|
||||
{{ end }}
|
||||
|
||||
@@ -169,7 +169,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: datadir
|
||||
mountPath: /bitnami/mongodb
|
||||
{{- if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") }}
|
||||
{{- if or (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") (.Values.initConfigMap) }}
|
||||
- name: custom-init-scripts
|
||||
mountPath: /docker-entrypoint-initdb.d
|
||||
{{- end }}
|
||||
@@ -214,11 +214,16 @@ spec:
|
||||
{{ toYaml .Values.metrics.resources | indent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") }}
|
||||
{{- if (.Files.Glob "files/docker-entrypoint-initdb.d/*[sh|js]") }}
|
||||
- name: custom-init-scripts
|
||||
configMap:
|
||||
name: {{ template "mongodb.fullname" . }}-init-scripts
|
||||
{{- end }}
|
||||
{{- if (.Values.initConfigMap) }}
|
||||
- name: custom-init-scripts
|
||||
configMap:
|
||||
name: {{ .Values.initConfigMap.name }}
|
||||
{{- end }}
|
||||
{{- if .Values.configmap }}
|
||||
- name: config
|
||||
configMap:
|
||||
|
||||
@@ -217,6 +217,10 @@ readinessProbe:
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
|
||||
# Define custom config map with init scripts
|
||||
initConfigMap: {}
|
||||
# name: "init-config-map"
|
||||
|
||||
# Entries for the MongoDB config file
|
||||
configmap:
|
||||
# # Where and how to store data.
|
||||
|
||||
@@ -216,6 +216,10 @@ readinessProbe:
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
|
||||
# Define custom config map with init scripts
|
||||
initConfigMap: {}
|
||||
# name: "init-config-map"
|
||||
|
||||
# Entries for the MongoDB config file
|
||||
configmap:
|
||||
# # Where and how to store data.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: rabbitmq
|
||||
version: 4.6.0
|
||||
version: 4.7.0
|
||||
appVersion: 3.7.13
|
||||
description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP)
|
||||
keywords:
|
||||
|
||||
@@ -68,7 +68,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
|
||||
| `rabbitmq.configuration` | Required cluster configuration | See values.yaml |
|
||||
| `rabbitmq.extraConfiguration` | Extra configuration to add to rabbitmq.conf | See values.yaml |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.amqpPort` | Amqp port | `5672` |
|
||||
| `service.port` | Amqp port | `5672` |
|
||||
| `service.distPort` | Erlang distribution server port | `25672` |
|
||||
| `service.nodePort` | Node port override, if serviceType NodePort | _random available between 30000-32767_ |
|
||||
| `service.managerPort` | RabbitMQ Manager port | `15672` |
|
||||
@@ -76,6 +76,7 @@ The following table lists the configurable parameters of the RabbitMQ chart and
|
||||
| `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) |
|
||||
| `persistence.accessMode` | Use volume as ReadOnly or ReadWrite | `ReadWriteOnce` |
|
||||
| `persistence.size` | Size of data volume | `8Gi` |
|
||||
| `persistence.path` | Mount path of the data volume | `/opt/bitnami/rabbitmq/var/lib/rabbitmq` |
|
||||
| `securityContext.enabled` | Enable security context | `true` |
|
||||
| `securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `securityContext.runAsUser` | User ID for the container | `1001` |
|
||||
@@ -109,6 +110,12 @@ The following table lists the configurable parameters of the RabbitMQ chart and
|
||||
| `metrics.image.pullPolicy` | Exporter image pull policy | `IfNotPresent` |
|
||||
| `metrics.resources` | Exporter resource requests/limit | `nil` |
|
||||
| `podLabels` | Additional labels for the statefulset pod(s). | {} |
|
||||
| `volumePermissions.enabled` | Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work) | `false` |
|
||||
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
|
||||
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
|
||||
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `latest` |
|
||||
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
|
||||
| `volumePermissions.resources` | Init container resource requests/limit | `nil` |
|
||||
|
||||
The above parameters map to the env variables defined in [bitnami/rabbitmq](http://github.com/bitnami/bitnami-docker-rabbitmq). For more information please refer to the [bitnami/rabbitmq](http://github.com/bitnami/bitnami-docker-rabbitmq) image documentation.
|
||||
|
||||
|
||||
@@ -120,3 +120,13 @@ imagePullSecrets:
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper image name (for the init container volume-permissions image)
|
||||
*/}}
|
||||
{{- define "volumePermissions.image" -}}
|
||||
{{- $registryName := .Values.volumePermissions.image.registry -}}
|
||||
{{- $repositoryName := .Values.volumePermissions.image.repository -}}
|
||||
{{- $tag := .Values.volumePermissions.image.tag | toString -}}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -48,6 +48,20 @@ spec:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
terminationGracePeriodSeconds: 10
|
||||
{{- if and .Values.volumePermissions.enabled .Values.persistence.enabled .Values.securityContext.enabled }}
|
||||
initContainers:
|
||||
- name: volume-permissions
|
||||
image: "{{ template "volumePermissions.image" . }}"
|
||||
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
||||
command: ["/bin/chown", "-R", "{{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}", "{{ .Values.persistence.path }}"]
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
resources:
|
||||
{{ toYaml .Values.volumePermissions.resources | indent 10 }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "{{ .Values.persistence.path }}"
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: rabbitmq
|
||||
image: {{ template "rabbitmq.image" . }}
|
||||
@@ -81,7 +95,7 @@ spec:
|
||||
- name: config-volume
|
||||
mountPath: /opt/bitnami/rabbitmq/conf
|
||||
- name: data
|
||||
mountPath: /opt/bitnami/rabbitmq/var/lib/rabbitmq/
|
||||
mountPath: "{{ .Values.persistence.path }}"
|
||||
{{- if .Values.rabbitmq.loadDefinition.enabled }}
|
||||
- name: load-definition-volume
|
||||
mountPath: /app
|
||||
|
||||
@@ -104,12 +104,13 @@ service:
|
||||
## Node port
|
||||
## ref: https://github.com/bitnami/bitnami-docker-rabbitmq#environment-variables
|
||||
##
|
||||
nodePort: 5672
|
||||
# nodePort: 30672
|
||||
|
||||
## Amqp port
|
||||
## ref: https://github.com/bitnami/bitnami-docker-rabbitmq#environment-variables
|
||||
##
|
||||
amqpPort: 5672
|
||||
port: 5672
|
||||
|
||||
## Dist port
|
||||
## ref: https://github.com/bitnami/bitnami-docker-rabbitmq#environment-variables
|
||||
##
|
||||
@@ -148,6 +149,9 @@ persistence:
|
||||
# If you change this value, you might have to adjust `rabbitmq.diskFreeLimit` as well.
|
||||
size: 8Gi
|
||||
|
||||
# persistence directory, maps to the rabbitmq data directory
|
||||
path: /opt/bitnami/rabbitmq/var/lib/rabbitmq
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -240,3 +244,16 @@ metrics:
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "9090"
|
||||
|
||||
##
|
||||
## Init containers parameters:
|
||||
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
|
||||
##
|
||||
volumePermissions:
|
||||
enabled: true
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/minideb
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
resources: {}
|
||||
|
||||
@@ -149,6 +149,9 @@ persistence:
|
||||
# If you change this value, you might have to adjust `rabbitmq.diskFreeLimit` as well.
|
||||
size: 8Gi
|
||||
|
||||
# persistence directory, maps to the rabbitmq data directory
|
||||
path: /opt/bitnami/rabbitmq/var/lib/rabbitmq
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -237,3 +240,16 @@ metrics:
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "9090"
|
||||
|
||||
##
|
||||
## Init containers parameters:
|
||||
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
|
||||
##
|
||||
volumePermissions:
|
||||
enabled: false
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/minideb
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
resources: {}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 6.3.0
|
||||
version: 6.3.1
|
||||
appVersion: 4.0.13
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -7,9 +7,9 @@ metadata:
|
||||
chart: {{ template "redis.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- with .Values.master.service.annotations }}
|
||||
{{- if .Values.master.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{ toYaml .Values.master.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.master.service.type }}
|
||||
|
||||
Reference in New Issue
Block a user