make chart (update of E, s3gw user)

pull/2733/head
Andreas Kupries 2023-06-21 09:15:05 +02:00
parent 2500f7bd31
commit 2ab9ff5323
4 changed files with 14 additions and 13 deletions

View File

@ -73,17 +73,17 @@ Version helpers for the image tag
*/}}
{{- define "s3gw.image" -}}
{{- $defaulttag := printf "v%s" .Chart.Version }}
{{- $tag := default $defaulttag .Values.imageTag }}
{{- $name := default "s3gw/s3gw" .Values.imageName }}
{{- $tag := default $defaulttag .Values.image.tag }}
{{- $name := default "s3gw/s3gw" .Values.image.repository }}
{{- $registry := include "registry-url" . }}
{{- printf "%s%s:%s" $registry $name $tag }}
{{- end }}
{{- define "s3gw-ui.image" -}}
{{- $tag := default (printf "v%s" .Chart.Version) .Values.ui.imageTag }}
{{- $name := default "s3gw/s3gw-ui" .Values.ui.imageName }}
{{- $registry := default "quay.io" .Values.imageRegistry }}
{{- printf "%s/%s:%s" $registry $name $tag }}
{{- $tag := default (printf "v%s" .Chart.Version) .Values.ui.image.tag }}
{{- $name := default "s3gw/s3gw-ui" .Values.ui.image.repository }}
{{- $registry := include "registry-url" . }}
{{- printf "%s%s:%s" $registry $name $tag }}
{{- end }}
{{/*
@ -93,7 +93,7 @@ Image Pull Secret
{{- $un := .Values.imageCredentials.username }}
{{- $pw := .Values.imageCredentials.password }}
{{- $em := .Values.imageCredentials.email }}
{{- $rg := .Values.imageRegistry }}
{{- $rg := include "registry-url" . }}
{{- $au := (printf "%s:%s" $un $pw | b64enc) }}
{{- printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"email\":\"%s\",\"auth\":\"%s\"}}}" $rg $un $pw $em $au | b64enc}}
{{- end }}

View File

@ -22,7 +22,7 @@ certManagerNamespace: cert-manager
tlsIssuer: "s3gw-issuer"
# The email address you are planning to use for getting notifications
# about your certificates. Fill this if you are using the 's3gw-letsencrypt-issuer'.
email: "mail@example.com"
email: "epinio@suse.com"
# When not using cert-manager you have to manually specify
# TLS certificate/key pairs for all the services.
@ -96,10 +96,11 @@ storageClass:
# --- Developer Options ---
#
# Image settings:
# imageRegistry: ""
# imagePullPolicy: "Always"
imageName: "rancher/mirrored-s3gw-s3gw"
imageTag: "v0.14.0"
# image.registry: ""
image:
repository: "rancher/mirrored-s3gw-s3gw"
tag: "v0.14.0"
# imageCredentials:
# username: foo
# password: bar

View File

@ -16,7 +16,7 @@ entries:
catalog.cattle.io/upstream-version: 1.6.2
apiVersion: v2
appVersion: v1.8.1
created: "2023-06-13T10:31:31.096193928+02:00"
created: "2023-06-21T11:13:03.876515375+02:00"
dependencies:
- condition: global.dex.enabled
name: dex
@ -40,7 +40,7 @@ entries:
- s3gw
description: Epinio deploys Kubernetes applications directly from source code
in one step.
digest: 7aa699c01c9b1613feb10b19b8bf27049bfa282bc6bea9c4a40c32273c071498
digest: 0d71ba6a8d2287ab1816824e136c97b9d94b0e6a9c5b9c1a383a399516c9bbf1
home: https://github.com/epinio/epinio
icon: https://charts.rancher.io/assets/logos/epinio.svg
keywords: