feat(common): Release common library 3.7.1 (#383)

Co-authored-by: Aisling McGinn <me@aisling.dev>
This commit is contained in:
Bernd Schorgers 2025-02-11 13:23:27 +01:00 committed by GitHub
parent c94a28baa3
commit 433f6d132b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
146 changed files with 232 additions and 222 deletions

View file

@ -0,0 +1 @@
test-values.yaml

View file

@ -0,0 +1,110 @@
---
# yaml-language-server: $schema=../../common/values.schema.json
controllers:
main:
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
pullPolicy: IfNotPresent
env:
HTTP_PORT: 8887
HTTPS_PORT: 9997
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true
a-container:
dependsOn:
- main
- third-container
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
env:
HTTP_PORT: 8888
HTTPS_PORT: 9998
third-container:
dependsOn: main
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
second-controller:
type: deployment
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
pullPolicy: IfNotPresent
env:
HTTP_PORT: 8889
HTTPS_PORT: 9999
service:
main:
controller: main
ports:
http:
port: 8887
ingress:
main:
hosts:
- host: "test.local"
paths:
- path: /
service:
identifier: main
port: http
tls:
- hosts:
- "test.local"
configMaps:
config:
enabled: true
data:
test: value 1
persistence:
data:
type: configMap
name: |-
{{- (include "bjw-s.common.lib.chart.names.fullname" $) -}}-config
advancedMounts:
main: # the controller with the "main" identifier
main: # the container with the "main" identifier
- path: /data/config.yaml
readOnly: false
subPath: config.yaml
second-container: # the container with the "second-container" identifier
- path: /appdata/config
readOnly: true
second-controller: # the controller with the "second-controller" identifier
main: # the container with the "main" identifier
- path: /data/config.yaml
readOnly: false
subPath: config.yaml
rawResources:
unsupportedPDB:
enabled: true
nameOverride: pdb
apiVersion: policy/v1
kind: PodDisruptionBudget
spec:
spec:
minAvailable: 1
selector:
matchLabels:
app.kubernetes.io/instance: "{{ .Release.Name }}"

View file

@ -0,0 +1,44 @@
---
# yaml-language-server: $schema=../../common/values.schema.json
controllers:
main:
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
pullPolicy: IfNotPresent
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true
ingress:
main:
hosts:
- host: "test.local"
paths:
- path: /
service:
identifier: main
port: http
tls:
- hosts:
- "test.local"
service:
main:
controller: main
ports:
http:
port: 8080
persistence:
media:
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi

View file

@ -0,0 +1,2 @@
#! /bin/bash
echo "Hello!"

View file

@ -0,0 +1,2 @@
test:
test: "{{ .Values.configMapsFromFolderBasePath }}"

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,2 @@
test:
test: "{{ .Values.global.random.nonExistentKey }}"

View file

@ -0,0 +1,20 @@
---
# yaml-language-server: $schema=../../common/values.schema.json
controllers:
main:
type: cronjob
cronjob:
timeZone: UTC
schedule: "*/20 * * * *"
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
pullPolicy: IfNotPresent
configMaps:
config:
enabled: true
data:
test: value 1

View file

@ -0,0 +1,10 @@
---
# yaml-language-server: $schema=../../common/values.schema.json
controllers:
main:
containers:
main:
image:
repository: ghcr.io/mendhak/http-https-echo
tag: 31
pullPolicy: IfNotPresent

View file

@ -0,0 +1,64 @@
---
# yaml-language-server: $schema=../../common/values.schema.json
controllers:
main:
strategy: Recreate
containers:
main:
image:
# -- image repository
repository: vaultwarden/server
# -- image tag
# this example is not automatically updated, so be sure to use the latest image
tag: 1.25.2
# -- image pull policy
pullPolicy: IfNotPresent
# -- environment variables.
# See [image docs](https://github.com/dani-garcia/vaultwarden/blob/main/.env.template) for more details.
env:
# -- Config dir
DATA_FOLDER: "config"
# -- Configures service settings for the chart.
service:
main:
controller: main
ports:
http:
port: 80
websocket:
enabled: true
port: 3012
ingress:
# -- Enable and configure ingress settings for the chart under this key.
main:
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
- path: /notifications/hub/negotiate
pathType: Prefix
service:
name: main
port: http
- path: /notifications/hub
pathType: Prefix
service:
name: main
port: websocket
# -- Configure persistence settings for the chart under this key.
persistence:
config:
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 1Gi
globalMounts:
- path: /config