mirror of
https://github.com/truenas/charts.git
synced 2026-06-15 22:48:44 +08:00
runtests
This commit is contained in:
2
.github/workflows/common_library_tests.yaml
vendored
2
.github/workflows/common_library_tests.yaml
vendored
@@ -105,8 +105,8 @@ jobs:
|
||||
- job-values.yaml
|
||||
- cronjob-values.yaml
|
||||
- statefulset-values.yaml
|
||||
- persistence-values.yaml
|
||||
# - extra-containers-values.yaml
|
||||
# - persistence-values.yaml
|
||||
# - rbac-values.yaml
|
||||
|
||||
steps:
|
||||
|
||||
@@ -12,6 +12,9 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
|
||||
@@ -12,6 +12,9 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
|
||||
@@ -13,7 +13,9 @@ service:
|
||||
workload:
|
||||
main:
|
||||
type: CronJob
|
||||
schedule: "*/1 * * * *"
|
||||
podSpec:
|
||||
restartPolicy: OnFailure
|
||||
containers:
|
||||
main:
|
||||
args:
|
||||
|
||||
@@ -12,6 +12,8 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: DaemonSet
|
||||
podSpec:
|
||||
containers:
|
||||
|
||||
@@ -12,6 +12,9 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
|
||||
@@ -14,6 +14,7 @@ workload:
|
||||
main:
|
||||
type: Job
|
||||
podSpec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
main:
|
||||
args:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
image:
|
||||
repository: traefik/whoami
|
||||
repository: tccr.io/truecharts/whoami
|
||||
pullPolicy: IfNotPresent
|
||||
tag: latest
|
||||
tag: 1.8.7@sha256:8c61f0ca92fd806fcb4ed1465cb793c05443f37951554b105b0f2dc686a95772
|
||||
|
||||
service:
|
||||
main:
|
||||
@@ -9,22 +9,30 @@ service:
|
||||
main:
|
||||
port: 8080
|
||||
|
||||
controllers:
|
||||
workload:
|
||||
main:
|
||||
pod:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
args:
|
||||
- --port
|
||||
- '8080'
|
||||
|
||||
- "8080"
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.port }}"
|
||||
readiness:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.port }}"
|
||||
startup:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.service.main.ports.main.port }}"
|
||||
|
||||
persistence:
|
||||
pvc-stock:
|
||||
@@ -38,12 +46,6 @@ persistence:
|
||||
mountPath: /pvcsize
|
||||
size: 1Gi
|
||||
|
||||
pvc-forcedname:
|
||||
enabled: true
|
||||
type: pvc
|
||||
forceName: "testname"
|
||||
mountPath: /pvcfn
|
||||
|
||||
pvc-readonly:
|
||||
enabled: true
|
||||
type: pvc
|
||||
@@ -64,13 +66,6 @@ persistence:
|
||||
readOnly: false
|
||||
storageClass: ""
|
||||
|
||||
pvc-auto:
|
||||
enabled: true
|
||||
setPermissions: true
|
||||
type: pvc
|
||||
mountPath: /autotest
|
||||
readOnly: false
|
||||
|
||||
emptydir:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
@@ -86,14 +81,14 @@ persistence:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
mountPath: /emptydirsize
|
||||
sizeLimit: 1Gi
|
||||
size: 1Gi
|
||||
|
||||
emptydir-memsize:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
mountPath: /emptydirmemsize
|
||||
medium: Memory
|
||||
sizeLimit: 1Gi
|
||||
size: 1Gi
|
||||
|
||||
hostpath-stock:
|
||||
enabled: true
|
||||
@@ -12,6 +12,9 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
containers:
|
||||
main:
|
||||
|
||||
@@ -12,6 +12,8 @@ service:
|
||||
|
||||
workload:
|
||||
main:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: DaemonSet
|
||||
podSpec:
|
||||
containers:
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
{{/* Set the podSpec so it doesn't fail on nil pointer */}}
|
||||
{{- if not (hasKey $objectData "podSpec") -}}
|
||||
{{- fail "Workload - Expeced <podSpec> key to exist" -}}
|
||||
{{- fail "Workload - Expected <podSpec> key to exist" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Call class to create the object */}}
|
||||
|
||||
Reference in New Issue
Block a user