generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitnami redis helmchart 19.5.0 added
- Loading branch information
1 parent
2f252aa
commit d1c4394
Showing
69 changed files
with
2,962 additions
and
1,239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,7 @@ | |
.project | ||
.idea/ | ||
*.tmproj | ||
# img folder | ||
img/ | ||
# Changelog | ||
CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
- name: common | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 2.2.5 | ||
digest: sha256:318f438acfeaced11d9060877d615caf1985417d2865810defaa886d3496f8d3 | ||
generated: "2023-05-09T00:40:30.988475033Z" | ||
version: 2.19.3 | ||
digest: sha256:de997835d9ce9a9deefc2d70d8c62b11aa1d1a76ece9e86a83736ab9f930bf4d | ||
generated: "2024-05-21T14:34:40.55761424+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ | |
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
# img folder | ||
img/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
pkg/operator/data/charts/redis/charts/common/templates/_compatibility.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{{/* | ||
Copyright Broadcom, Inc. All Rights Reserved. | ||
SPDX-License-Identifier: APACHE-2.0 | ||
*/}} | ||
|
||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* | ||
Return true if the detected platform is Openshift | ||
Usage: | ||
{{- include "common.compatibility.isOpenshift" . -}} | ||
*/}} | ||
{{- define "common.compatibility.isOpenshift" -}} | ||
{{- if .Capabilities.APIVersions.Has "security.openshift.io/v1" -}} | ||
{{- true -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Render a compatible securityContext depending on the platform. By default it is maintained as it is. In other platforms like Openshift we remove default user/group values that do not work out of the box with the restricted-v1 SCC | ||
Usage: | ||
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) -}} | ||
*/}} | ||
{{- define "common.compatibility.renderSecurityContext" -}} | ||
{{- $adaptedContext := .secContext -}} | ||
|
||
{{- if (((.context.Values.global).compatibility).openshift) -}} | ||
{{- if or (eq .context.Values.global.compatibility.openshift.adaptSecurityContext "force") (and (eq .context.Values.global.compatibility.openshift.adaptSecurityContext "auto") (include "common.compatibility.isOpenshift" .context)) -}} | ||
{{/* Remove incompatible user/group values that do not work in Openshift out of the box */}} | ||
{{- $adaptedContext = omit $adaptedContext "fsGroup" "runAsUser" "runAsGroup" -}} | ||
{{- if not .secContext.seLinuxOptions -}} | ||
{{/* If it is an empty object, we remove it from the resulting context because it causes validation issues */}} | ||
{{- $adaptedContext = omit $adaptedContext "seLinuxOptions" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- omit $adaptedContext "enabled" | toYaml -}} | ||
{{- end -}} |
5 changes: 5 additions & 0 deletions
5
pkg/operator/data/charts/redis/charts/common/templates/_errors.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.