Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2021-11-12 19:04:28 +00:00
parent 2b6b662799
commit 328a7a95e1
45 changed files with 3760 additions and 32 deletions

View File

@ -0,0 +1,18 @@
# Changelog<br>
<a name="memcached-1.0.0"></a>
### [memcached-1.0.0](https://github.com/truecharts/apps/compare/memcached-0.0.1...memcached-1.0.0) (2021-11-12)
#### Feat
* move deps to incubator ([#1311](https://github.com/truecharts/apps/issues/1311))
<a name="memcached-0.0.1"></a>
### memcached-0.0.1 (2021-11-11)
#### Feat
* add memcached App ([#1307](https://github.com/truecharts/apps/issues/1307))

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.6
digest: sha256:c711d63142ad5cb07c166f67914dfd8af0624873e5b4a28e06a758fca11525e8
generated: "2021-11-12T19:01:24.149230825Z"

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "1.6.12"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.6
deprecated: false
description: Memcached is a memory-backed database caching solution
home: https://github.com/truecharts/apps/tree/master/stable/memcached
icon: https://bitnami.com/assets/stacks/memcached/img/memcached-stack-220x234.png
keywords:
- memcached
- database
- cache
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: truecharts.org
name: memcached
sources:
- https://github.com/bitnami/bitnami-docker-memcached
- http://memcached.org/
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- database
- cache
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,38 @@
# Introduction
Memcached is a memory-backed database caching solution
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/bitnami/bitnami-docker-memcached>
* <http://memcached.org/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 8.5.6 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,3 @@
Memcached is a memory-backed database caching solution
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

View File

@ -0,0 +1,20 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"bitnami/memcached"` | |
| image.tag | string | `"1.6.12@sha256:f02e8e24e90ce1e3ce132964bea7a9af70d1e13510d8c1c8a6e66c2fed1f4621"` | |
| service.main.ports.main.port | int | `11211` | |
| service.main.ports.main.targetPort | int | `11211` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,11 @@
image:
repository: bitnami/memcached
pullPolicy: IfNotPresent
tag: 1.6.12@sha256:f02e8e24e90ce1e3ce132964bea7a9af70d1e13510d8c1c8a6e66c2fed1f4621
service:
main:
ports:
main:
port: 11211
targetPort: 11211

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
icon_url: https://bitnami.com/assets/stacks/memcached/img/memcached-stack-220x234.png
categories:
- database
- cache

View File

@ -1,6 +0,0 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.4
digest: sha256:5bb2d31930ed6ceb6a350de804cbd9b297888a3f6b7b3aa0aaabe8a8d0ed8861
generated: "2021-11-09T10:20:55.552717437Z"

View File

@ -1,6 +1,23 @@
# Changelog<br>
<a name="postgresql-5.1.16"></a>
### [postgresql-5.1.16](https://github.com/truecharts/apps/compare/postgresql-5.1.15...postgresql-5.1.16) (2021-11-12)
#### Chore
* update non-major ([#1302](https://github.com/truecharts/apps/issues/1302))
#### Feat
* move deps to incubator ([#1311](https://github.com/truecharts/apps/issues/1311))
#### Fix
* Allow spaces in paths ([#1306](https://github.com/truecharts/apps/issues/1306))
<a name="postgresql-5.1.15"></a>
### [postgresql-5.1.15](https://github.com/truecharts/apps/compare/postgresql-5.1.14...postgresql-5.1.15) (2021-11-09)
@ -80,20 +97,3 @@
### [postgresql-5.1.8](https://github.com/truecharts/apps/compare/postgresql-5.1.7...postgresql-5.1.8) (2021-11-02)
#### Chore
* update non-major deps helm releases ([#1267](https://github.com/truecharts/apps/issues/1267))
<a name="postgresql-5.1.7"></a>
### [postgresql-5.1.7](https://github.com/truecharts/apps/compare/postgresql-5.1.6...postgresql-5.1.7) (2021-11-02)
#### Chore
* update non-major ([#1265](https://github.com/truecharts/apps/issues/1265))
<a name="postgresql-5.1.6"></a>
### [postgresql-5.1.6](https://github.com/truecharts/apps/compare/postgresql-5.1.5...postgresql-5.1.6) (2021-11-01)

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.6
digest: sha256:c711d63142ad5cb07c166f67914dfd8af0624873e5b4a28e06a758fca11525e8
generated: "2021-11-12T19:01:52.206144544Z"

View File

@ -3,7 +3,7 @@ appVersion: "14.0.0"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.4
version: 8.5.6
deprecated: false
description: PostgresSQL
home: https://github.com/truecharts/apps/tree/master/stable/postgres
@ -22,7 +22,7 @@ name: postgresql
sources:
- https://www.postgresql.org/
type: application
version: 5.1.15
version: 5.1.16
annotations:
truecharts.org/catagories: |
- database

View File

@ -17,7 +17,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 8.5.4 |
| https://truecharts.org | common | 8.5.6 |
## Installing the Chart

Binary file not shown.

View File

@ -21,7 +21,7 @@ You will, however, be able to use all values referenced in the common chart here
| existingSecret | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"bitnami/postgresql"` | |
| image.tag | string | `"14.0.0@sha256:87dda5bc47368d3a895c481ddabdb8b7bdfe8ab40fad599a8c0cc0673d619ce1"` | |
| image.tag | string | `"14.0.0@sha256:ea4d5247ee28e9f88ede9f0f70219c1061766cca3f9a5922b1b0e1e3cad1b1a3"` | |
| persistence.db.accessMode | string | `"ReadWriteOnce"` | |
| persistence.db.enabled | bool | `true` | |
| persistence.db.mountPath | string | `"/bitnami/postgresql"` | |

View File

@ -1,7 +1,7 @@
image:
repository: bitnami/postgresql
pullPolicy: IfNotPresent
tag: 14.0.0@sha256:87dda5bc47368d3a895c481ddabdb8b7bdfe8ab40fad599a8c0cc0673d619ce1
tag: 14.0.0@sha256:ea4d5247ee28e9f88ede9f0f70219c1061766cca3f9a5922b1b0e1e3cad1b1a3
securityContext:
readOnlyRootFilesystem: false

View File

@ -661,7 +661,7 @@ questions:
type: string
default: "/var/lib/postgresql/data"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$'
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
@ -835,7 +835,7 @@ questions:
type: string
default: "/bitnami/postgresql"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$'
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
@ -1010,7 +1010,7 @@ questions:
type: string
default: "/dbbackups"
hidden: true
valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$'
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:
@ -1196,7 +1196,7 @@ questions:
type: string
default: ""
required: true
valid_chars: '^\/([a-zA-Z0-9._-]+\/?)+$'
valid_chars: '^\/([a-zA-Z0-9._-]+(\s?[a-zA-Z0-9._-]+|\/?))+$'
- variable: medium
label: "EmptyDir Medium"
schema:

View File

@ -0,0 +1,2 @@
{{ include "common.all" . }}

View File

@ -11,3 +11,4 @@ metadata:
type: Opaque
data:
postgresql-password: {{ ( .Values.postgresqlPassword | default "empty" ) | b64enc | quote }}
postgresql-postgres-password: {{ ( .Values.postgrespassword | default "empty" ) | b64enc | quote }}

View File

View File

@ -0,0 +1,27 @@
# Changelog<br>
<a name="redis-1.0.0"></a>
### [redis-1.0.0](https://github.com/truecharts/apps/compare/redis-0.0.2...redis-1.0.0) (2021-11-12)
#### Feat
* move deps to incubator ([#1311](https://github.com/truecharts/apps/issues/1311))
<a name="redis-0.0.2"></a>
### [redis-0.0.2](https://github.com/truecharts/apps/compare/redis-0.0.1...redis-0.0.2) (2021-11-12)
#### Fix
* bump common on redis
<a name="redis-0.0.1"></a>
### redis-0.0.1 (2021-11-12)
#### Feat
* add redis App ([#1309](https://github.com/truecharts/apps/issues/1309))

View File

@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.

View File

@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.6
digest: sha256:c711d63142ad5cb07c166f67914dfd8af0624873e5b4a28e06a758fca11525e8
generated: "2021-11-12T19:02:20.272483435Z"

View File

@ -0,0 +1,31 @@
apiVersion: v2
appVersion: "6.2.6"
dependencies:
- name: common
repository: https://truecharts.org
version: 8.5.6
deprecated: false
description: Open source, advanced key-value store.
home: https://github.com/truecharts/apps/tree/master/stable/redis
icon: https://bitnami.com/assets/stacks/redis/img/redis-stack-220x234.png
keywords:
- redis
- keyvalue
- database
kubeVersion: '>=1.16.0-0'
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: truecharts.org
name: redis
sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
type: application
version: 1.0.0
annotations:
truecharts.org/catagories: |
- database
- cache
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,38 @@
# Introduction
Open source, advanced key-value store.
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://github.com/bitnami/bitnami-docker-redis>
* <http://redis.io/>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 8.5.6 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,3 @@
Open source, advanced key-value store.
This App is supplied by TrueCharts, for more information please visit https://truecharts.org

Binary file not shown.

View File

@ -0,0 +1,59 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| controller.replicas | int | `1` | Number of desired pods |
| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit |
| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition |
| controller.rollingUpdate.surge | string | `nil` | Set deployment RollingUpdate max surge |
| controller.rollingUpdate.unavailable | int | `1` | Set deployment RollingUpdate max unavailable |
| controller.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy For Deployments, valid values are Recreate (default) and RollingUpdate. For StatefulSets, valid values are OnDelete and RollingUpdate (default). DaemonSets ignore this. |
| controller.type | string | `"statefulset"` | Set the controller type. Valid options are deployment, daemonset or statefulset |
| envTpl.REDIS_PORT | string | `"{{ .Values.service.main.ports.main.targetPort }}"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.key | string | `"redis-password"` | |
| envValueFrom.REDIS_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
| env[0].name | string | `"REDIS_REPLICATION_MODE"` | |
| env[0].value | string | `"master"` | |
| env[1].name | string | `"ALLOW_EMPTY_PASSWORD"` | |
| env[1].value | string | `"yes"` | |
| existingSecret | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"bitnami/redis"` | |
| image.tag | string | `"6.2.6@sha256:cfbc3cf717ea121c3c40a841646280d326c68b4818e893139d2550c10827d4d5"` | |
| persistence.redis-health | object | See below | redis-health configmap mount |
| persistence.redis-health.mountPath | string | `"/health"` | Where to mount the volume in the main container. Defaults to `/<name_of_the_volume>`, setting to '-' creates the volume but disables the volumeMount. |
| persistence.redis-health.readOnly | bool | `false` | Specify if the volume should be mounted read-only. |
| persistence.redis-health.volumeSpec | object | `{"configMap":{"defaultMode":493,"name":"redis-health"}}` | Define the custom Volume spec here [[ref]](https://kubernetes.io/docs/concepts/storage/volumes/) |
| podSecurityContext.runAsGroup | int | `0` | |
| probes | object | See below | Probe configuration -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) |
| probes.liveness | object | See below | Liveness probe configuration |
| probes.liveness.custom | bool | `true` | Set this to `true` if you wish to specify your own livenessProbe |
| probes.liveness.enabled | bool | `true` | Enable the liveness probe |
| probes.liveness.spec | object | See below | The spec field contains the values for the default livenessProbe. If you selected `custom: true`, this field holds the definition of the livenessProbe. |
| probes.readiness | object | See below | Redainess probe configuration |
| probes.readiness.custom | bool | `true` | Set this to `true` if you wish to specify your own readinessProbe |
| probes.readiness.enabled | bool | `true` | Enable the readiness probe |
| probes.readiness.spec | object | See below | The spec field contains the values for the default readinessProbe. If you selected `custom: true`, this field holds the definition of the readinessProbe. |
| probes.startup | object | See below | Startup probe configuration |
| probes.startup.enabled | bool | `true` | Enable the startup probe |
| probes.startup.spec | object | See below | The spec field contains the values for the default livenessProbe. If you selected `custom: true`, this field holds the definition of the livenessProbe. |
| redisPassword | string | `"testpass"` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| service.main.ports.main.port | int | `6379` | |
| service.main.ports.main.targetPort | int | `6379` | |
| volumeClaimTemplates.data.accessMode | string | `"ReadWriteOnce"` | |
| volumeClaimTemplates.data.enabled | bool | `true` | |
| volumeClaimTemplates.data.mountPath | string | `"/bitnami/redis"` | |
| volumeClaimTemplates.data.size | string | `"100Gi"` | |
| volumeClaimTemplates.data.type | string | `"pvc"` | |
All Rights Reserved - The TrueCharts Project

View File

@ -0,0 +1,136 @@
image:
repository: bitnami/redis
pullPolicy: IfNotPresent
tag: 6.2.6@sha256:cfbc3cf717ea121c3c40a841646280d326c68b4818e893139d2550c10827d4d5
controller:
# -- Set the controller type.
# Valid options are deployment, daemonset or statefulset
type: statefulset
# -- Number of desired pods
replicas: 1
# -- Set the controller upgrade strategy
# For Deployments, valid values are Recreate (default) and RollingUpdate.
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
# DaemonSets ignore this.
strategy: RollingUpdate
rollingUpdate:
# -- Set deployment RollingUpdate max unavailable
unavailable: 1
# -- Set deployment RollingUpdate max surge
surge:
# -- Set statefulset RollingUpdate partition
partition:
# -- ReplicaSet revision history limit
revisionHistoryLimit: 3
securityContext:
readOnlyRootFilesystem: false
podSecurityContext:
runAsGroup: 0
env:
- name: REDIS_REPLICATION_MODE
value: master
- name: ALLOW_EMPTY_PASSWORD
value: "yes"
envTpl:
REDIS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
redisPassword: "testpass"
existingSecret: ""
envValueFrom:
REDIS_PASSWORD:
secretKeyRef:
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
key: "redis-password"
service:
main:
ports:
main:
port: 6379
targetPort: 6379
volumeClaimTemplates:
data:
enabled: true
mountPath: "/bitnami/redis"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
probes:
# -- Liveness probe configuration
# @default -- See below
liveness:
# -- Enable the liveness probe
enabled: true
# -- Set this to `true` if you wish to specify your own livenessProbe
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- /health/ping_liveness_local.sh 2
# -- Redainess probe configuration
# @default -- See below
readiness:
# -- Enable the readiness probe
enabled: true
# -- Set this to `true` if you wish to specify your own readinessProbe
custom: true
# -- The spec field contains the values for the default readinessProbe.
# If you selected `custom: true`, this field holds the definition of the readinessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- /health/ping_readiness_local.sh 2
# -- Startup probe configuration
# @default -- See below
startup:
# -- Enable the startup probe
enabled: true
custom: true
# -- The spec field contains the values for the default livenessProbe.
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
# @default -- See below
spec:
exec:
command:
- sh
- -c
- /health/ping_readiness_local.sh 2
persistence:
# -- redis-health configmap mount
# @default -- See below
redis-health:
enabled: true
type: custom
# -- Where to mount the volume in the main container.
# Defaults to `/<name_of_the_volume>`,
# setting to '-' creates the volume but disables the volumeMount.
mountPath: /health
# -- Specify if the volume should be mounted read-only.
readOnly: false
# -- Define the custom Volume spec here
# [[ref]](https://kubernetes.io/docs/concepts/storage/volumes/)
volumeSpec:
configMap:
defaultMode: 0755
name: redis-health

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
{{ include "common.all" . }}

View File

@ -0,0 +1,79 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: redis-health
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
data:
ping_readiness_local.sh: |-
#!/bin/bash
[[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD"
response=$(
timeout -s 3 $1 \
redis-cli \
-h localhost \
-p $REDIS_PORT \
ping
)
if [ "$response" != "PONG" ]; then
echo "failed to connect using password: $REDIS_PASSWORD response: $response"
exit 1
fi
ping_liveness_local.sh: |-
#!/bin/bash
[[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD"
response=$(
timeout -s 3 $1 \
redis-cli \
-h localhost \
-p $REDIS_PORT \
ping
)
if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then
echo "$response"
exit 1
fi
ping_readiness_master.sh: |-
#!/bin/bash
[[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD"
response=$(
timeout -s 3 $1 \
redis-cli \
-h $REDIS_MASTER_HOST \
-p $REDIS_MASTER_PORT_NUMBER \
ping
)
if [ "$response" != "PONG" ]; then
echo "$response"
exit 1
fi
ping_liveness_master.sh: |-
#!/bin/bash
[[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD"
response=$(
timeout -s 3 $1 \
redis-cli \
-h $REDIS_MASTER_HOST \
-p $REDIS_MASTER_PORT_NUMBER \
ping
)
if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then
echo "$response"
exit 1
fi
ping_readiness_local_and_master.sh: |-
script_dir="$(dirname "$0")"
exit_status=0
"$script_dir/ping_readiness_local.sh" $1 || exit_status=$?
"$script_dir/ping_readiness_master.sh" $1 || exit_status=$?
exit $exit_status
ping_liveness_local_and_master.sh: |-
script_dir="$(dirname "$0")"
exit_status=0
"$script_dir/ping_liveness_local.sh" $1 || exit_status=$?
"$script_dir/ping_liveness_master.sh" $1 || exit_status=$?
exit $exit_status

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
{{- with .Values.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
data:
redis-password: {{ ( .Values.redisPassword | default "nothing" ) | b64enc | quote }}

View File

View File

@ -0,0 +1,5 @@
icon_url: https://bitnami.com/assets/stacks/redis/img/redis-stack-220x234.png
categories:
- database
- cache