Fix invalid reference format

when image.digest is missing.

see https://open.greenhost.net/stackspin/stackspin/-/merge_requests/1397#note_50785
and https://github.com/bitnami/charts/pull/12029
This commit is contained in:
Varac 2022-08-24 16:52:48 +02:00
parent f849ab3a8d
commit 08e3e13b74
No known key found for this signature in database
GPG key ID: 5465E77E7876ED04
5 changed files with 65 additions and 4 deletions

View file

@ -1,5 +1,12 @@
# Changelog # Changelog
## [1.2.2]
### Bug fixes
* Fix invalid reference format when image.digest is missing
see https://open.greenhost.net/stackspin/stackspin/-/merge_requests/1397#note_50785
## [1.2.0] ## [1.2.0]
### Features ### Features

View file

@ -1,6 +1,6 @@
dependencies: dependencies:
- name: common - name: common
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 2.0.0 version: 2.0.1
digest: sha256:61f9464511055add462a995587df3510262bde239a8af5bde91c7c93e6dbe1df digest: sha256:eac8729956b60d78414de3eea46b919b44afcd7afdcd19dacd640269b3d731f2
generated: "2022-08-18T22:05:41.072625223Z" generated: "2022-08-24T15:52:13.18511608+02:00"

View file

@ -23,4 +23,4 @@ name: stackspin-dashboard
sources: sources:
- https://open.greenhost.net/stackspin/dashboard/ - https://open.greenhost.net/stackspin/dashboard/
- https://open.greenhost.net/stackspin/dashboard-backend/ - https://open.greenhost.net/stackspin/dashboard-backend/
version: 1.2.1 version: 1.2.2

View file

@ -0,0 +1,52 @@
fullnameOverride: dashboard
dashboard:
host: ${dashboard_domain}
resources:
limits:
memory: 24Mi
requests:
cpu: 10m
memory: 12Mi
backend:
secretKey: ${backend_secret_key}
password: ${backend_password}
smtp:
enabled: ${outgoing_mail_enabled}
user: "${outgoing_mail_smtp_user}"
password: "${outgoing_mail_smtp_password}"
host: "${outgoing_mail_smtp_host}"
port: "${outgoing_mail_smtp_port}"
kratos:
publicUrl: https://${dashboard_domain}/kratos
adminUrl: http://kratos-admin
hydra:
adminUrl: http://hydra-admin:4445
loginPanelUrl: https://${dashboard_domain}/web/
databaseUrl: mysql+pymysql://stackspin:${dashboard_database_password}@single-sign-on-database-mariadb/stackspin
initialUser:
email: ${admin_email}
password: ${userbackend_admin_password}
oidc:
clientId: dashboard
clientSecret: ${client_secret}
baseUrl: "https://${hydra_domain}"
authorizationBaseUrl: "https://${hydra_domain}/oauth2/auth"
tokenUrl: "https://${hydra_domain}/oauth2/token"
resources:
limits:
memory: 360Mi
requests:
cpu: 24m
memory: 180Mi
ingress:
certManager: true
enabled: true
hostname: ${dashboard_domain}
tls:
- hosts:
- ${dashboard_domain}
secretName: stackspin-dashboard

View file

@ -69,6 +69,7 @@ dashboard:
registry: open.greenhost.net:4567 registry: open.greenhost.net:4567
repository: stackspin/dashboard/dashboard repository: stackspin/dashboard/dashboard
tag: 0-2-8 tag: 0-2-8
digest: ""
## Optionally specify an array of imagePullSecrets. ## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace. ## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
@ -236,6 +237,7 @@ backend:
registry: open.greenhost.net:4567 registry: open.greenhost.net:4567
repository: stackspin/dashboard-backend/dashboard-backend repository: stackspin/dashboard-backend/dashboard-backend
tag: 0-2-9 tag: 0-2-9
digest: ""
## Optionally specify an array of imagePullSecrets. ## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace. ## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/