Skip to content

Commit

Permalink
Update images versions, chart version, and fixes references to chart …
Browse files Browse the repository at this point in the history
…name in several files

Signed-off-by: Rafael Rios Saavedra <[email protected]>
  • Loading branch information
rafariossaa committed May 8, 2024
1 parent 7209d17 commit 1cf0649
Show file tree
Hide file tree
Showing 7 changed files with 462 additions and 673 deletions.
16 changes: 8 additions & 8 deletions bitnami/valkey/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ annotations:
licenses: Apache-2.0
images: |
- name: kubectl
image: docker.io/bitnami/kubectl:1.29.4-debian-12-r0
image: docker.io/bitnami/kubectl:1.30.0-debian-12-r0
- name: os-shell
image: docker.io/bitnami/os-shell:12-debian-12-r18
image: docker.io/bitnami/os-shell:12-debian-12-r19
- name: valkey
image: docker.io/bitnami/valkey:7.2.4-debian-12-r12
image: docker.io/bitnami/valkey:7.2.5-debian-12-r1
- name: valkey-exporter
image: docker.io/bitnami/valkey-exporter:1.58.0-debian-12-r7
image: docker.io/bitnami/redis-exporter:1.59.0-debian-12-r1
- name: valkey-sentinel
image: docker.io/bitnami/valkey-sentinel:7.2.4-debian-12-r9
image: docker.io/bitnami/valkey-sentinel:7.2.5-debian-12-r1
apiVersion: v2
appVersion: 7.2.4
dependencies:
Expand All @@ -23,17 +23,17 @@ dependencies:
tags:
- bitnami-common
version: 2.x.x
description: Valkey(R) is an 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.
description: Valkey is an 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.
home: https://bitnami.com
icon: https://bitnami.com/assets/stacks/valkey/img/valkey-stack-220x234.png
keywords:
- valkey
- keyvalue
- database
maintainers:
- name: VMware, Inc.
- name: Broadcom, Inc. All Rights Reserved.
url: https://github.com/bitnami/charts
name: valkey
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/valkey
version: 19.1.4
version: 1.0.0
643 changes: 216 additions & 427 deletions bitnami/valkey/README.md

Large diffs are not rendered by default.

File renamed without changes
16 changes: 8 additions & 8 deletions bitnami/valkey/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For Valkey Sentinel:
WARNING

By specifying "master.service.type=LoadBalancer" and "auth.enabled=false" you have
most likely exposed the Valkey&reg; service externally without any authentication
most likely exposed the Valkey service externally without any authentication
mechanism.

For security reasons, we strongly suggest that you switch to "ClusterIP" or
Expand Down Expand Up @@ -72,23 +72,23 @@ For Valkey Sentinel:
{{- if eq .Values.architecture "replication" }}
{{- if .Values.sentinel.enabled }}

Valkey&reg; can be accessed via port {{ .Values.sentinel.service.ports.valkey }} on the following DNS name from within your cluster:
Valkey can be accessed via port {{ .Values.sentinel.service.ports.valkey }} on the following DNS name from within your cluster:

{{ template "common.names.fullname" . }}.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }} for read only operations

For read/write operations, first access the Valkey&reg; Sentinel cluster, which is available in port {{ .Values.sentinel.service.ports.sentinel }} using the same domain name above.
For read/write operations, first access the Valkey Sentinel cluster, which is available in port {{ .Values.sentinel.service.ports.sentinel }} using the same domain name above.

{{- else }}

Valkey&reg; can be accessed on the following DNS names from within your cluster:
Valkey can be accessed on the following DNS names from within your cluster:

{{ printf "%s-master.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" . ) .Values.clusterDomain }} for read/write operations (port {{ .Values.master.service.ports.valkey }})
{{ printf "%s-replicas.%s.svc.%s" (include "common.names.fullname" .) (include "common.names.namespace" . ) .Values.clusterDomain }} for read-only operations (port {{ .Values.replica.service.ports.valkey }})

{{- end }}
{{- else }}

Valkey&reg; can be accessed via port {{ .Values.master.service.ports.valkey }} on the following DNS name from within your cluster:
Valkey can be accessed via port {{ .Values.master.service.ports.valkey }} on the following DNS name from within your cluster:

{{ template "common.names.fullname" . }}-master.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }}

Expand All @@ -102,9 +102,9 @@ To get your password run:

{{- end }}

To connect to your Valkey&reg; server:
To connect to your Valkey server:

1. Run a Valkey&reg; pod that you can use as a client:
1. Run a Valkey pod that you can use as a client:

kubectl run --namespace {{ include "common.names.namespace" . }} valkey-client --restart='Never' {{ if .Values.auth.enabled }} --env VALKEY_PASSWORD=$VALKEY_PASSWORD {{ end }} --image {{ template "valkey.image" . }} --command -- sleep infinity

Expand All @@ -124,7 +124,7 @@ To connect to your Valkey&reg; server:
{{- if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ template "common.names.fullname" . }}-client=true" \{{- end }}
--namespace {{ include "common.names.namespace" . }} -- bash

2. Connect using the Valkey&reg; CLI:
2. Connect using the Valkey CLI:

{{- if eq .Values.architecture "replication" }}
{{- if .Values.sentinel.enabled }}
Expand Down
14 changes: 7 additions & 7 deletions bitnami/valkey/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Get the password secret.
{{- end -}}

{{/*
Get the password key to be retrieved from Valkey&reg; secret.
Get the password key to be retrieved from Valkey secret.
*/}}
{{- define "valkey.secretPasswordKey" -}}
{{- if and .Values.auth.existingSecret .Values.auth.existingSecretPasswordKey -}}
Expand All @@ -238,7 +238,7 @@ otherwise it generates a random value.
{{- end }}

{{/*
Return Valkey&reg; password
Return Valkey password
*/}}
{{- define "valkey.password" -}}
{{- if or .Values.auth.enabled .Values.global.valkey.password }}
Expand Down Expand Up @@ -277,7 +277,7 @@ Compile all warnings into a single message, and call fail.
{{- end -}}
{{- end -}}

{{/* Validate values of Valkey&reg; - spreadConstrainsts K8s version */}}
{{/* Validate values of Valkey - spreadConstrainsts K8s version */}}
{{- define "valkey.validateValues.topologySpreadConstraints" -}}
{{- if and (semverCompare "<1.16-0" .Capabilities.KubeVersion.GitVersion) .Values.replica.topologySpreadConstraints -}}
valkey: topologySpreadConstraints
Expand All @@ -286,7 +286,7 @@ valkey: topologySpreadConstraints
{{- end -}}
{{- end -}}

{{/* Validate values of Valkey&reg; - must provide a valid architecture */}}
{{/* Validate values of Valkey - must provide a valid architecture */}}
{{- define "valkey.validateValues.architecture" -}}
{{- if and (ne .Values.architecture "standalone") (ne .Values.architecture "replication") -}}
valkey: architecture
Expand All @@ -301,7 +301,7 @@ valkey: architecture
{{- end -}}
{{- end -}}

{{/* Validate values of Valkey&reg; - PodSecurityPolicy create */}}
{{/* Validate values of Valkey - PodSecurityPolicy create */}}
{{- define "valkey.validateValues.podSecurityPolicy.create" -}}
{{- if and .Values.podSecurityPolicy.create (not .Values.podSecurityPolicy.enabled) }}
valkey: podSecurityPolicy.create
Expand All @@ -310,7 +310,7 @@ valkey: podSecurityPolicy.create
{{- end -}}
{{- end -}}

{{/* Validate values of Valkey&reg; - TLS enabled */}}
{{/* Validate values of Valkey - TLS enabled */}}
{{- define "valkey.validateValues.tls" -}}
{{- if and .Values.tls.enabled (not .Values.tls.autoGenerated) (not .Values.tls.existingSecret) (not .Values.tls.certificatesSecret) }}
valkey: tls.enabled
Expand All @@ -320,7 +320,7 @@ valkey: tls.enabled
{{- end -}}
{{- end -}}

{{/* Validate values of Valkey&reg; - master service enabled */}}
{{/* Validate values of Valkey - master service enabled */}}
{{- define "valkey.validateValues.createMaster" -}}
{{- if and .Values.sentinel.service.createMaster (or (not .Values.rbac.create) (not .Values.replica.automountServiceAccountToken) (not .Values.serviceAccount.create)) }}
valkey: sentinel.service.createMaster
Expand Down
Loading

0 comments on commit 1cf0649

Please sign in to comment.