mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
feat(common): Release common library 3.7.1 (#383)
Co-authored-by: Aisling McGinn <me@aisling.dev>
This commit is contained in:
parent
c94a28baa3
commit
433f6d132b
146 changed files with 232 additions and 222 deletions
1
charts/library/common/test-chart/ci/.gitignore
vendored
Normal file
1
charts/library/common/test-chart/ci/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
test-values.yaml
|
110
charts/library/common/test-chart/ci/advanced-values.yaml
Normal file
110
charts/library/common/test-chart/ci/advanced-values.yaml
Normal 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 }}"
|
44
charts/library/common/test-chart/ci/basic-values.yaml
Normal file
44
charts/library/common/test-chart/ci/basic-values.yaml
Normal 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
|
|
@ -0,0 +1,2 @@
|
|||
#! /bin/bash
|
||||
echo "Hello!"
|
|
@ -0,0 +1,2 @@
|
|||
test:
|
||||
test: "{{ .Values.configMapsFromFolderBasePath }}"
|
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -0,0 +1,2 @@
|
|||
test:
|
||||
test: "{{ .Values.global.random.nonExistentKey }}"
|
20
charts/library/common/test-chart/ci/cronjob-values.yaml
Normal file
20
charts/library/common/test-chart/ci/cronjob-values.yaml
Normal 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
|
10
charts/library/common/test-chart/ci/no-service.yaml
Normal file
10
charts/library/common/test-chart/ci/no-service.yaml
Normal 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
|
64
charts/library/common/test-chart/ci/vaultwarden-example.yaml
Normal file
64
charts/library/common/test-chart/ci/vaultwarden-example.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue