mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 02:00:11 +08:00
Merge pull request #4 from truenas/ix-chart-test
Add deployment test for ix-chart
This commit is contained in:
17
test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml
Normal file
17
test/ix-chart/2010.0.2/templates/tests/deployment-check.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}-deployment-test"
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Release.Name }}-deployment-test
|
||||
image: "busybox"
|
||||
command:
|
||||
- nc
|
||||
args:
|
||||
- "-vz"
|
||||
- "{{ .Release.Name }}-ix-chart"
|
||||
- "80"
|
||||
restartPolicy: Never
|
||||
39
test/ix-chart/2010.0.2/test_values.yaml
Normal file
39
test/ix-chart/2010.0.2/test_values.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
# Default values for ix-chart.
|
||||
|
||||
image:
|
||||
repository: nginx
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: latest
|
||||
|
||||
# Restart / Update policy
|
||||
restartPolicy: Always
|
||||
updateStrategy: RollingUpdate
|
||||
|
||||
# Container CMD / entrypoint
|
||||
containerCommand: []
|
||||
containerArgs: []
|
||||
containerEnvironmentVariables: []
|
||||
|
||||
# Network related configuration
|
||||
externalInterfaces: []
|
||||
portForwardingList: [{"containerPort": 80, "nodePort": 32000}]
|
||||
hostPortsList: []
|
||||
hostNetwork: false
|
||||
dnsPolicy: Default
|
||||
dnsConfig:
|
||||
nameservers: []
|
||||
searches: []
|
||||
|
||||
# Storage related configuration
|
||||
hostPathVolumes: []
|
||||
volumes: []
|
||||
|
||||
# Probes
|
||||
# Liveness Probe
|
||||
livenessProbe: null
|
||||
|
||||
# Workload type
|
||||
workloadType: "Deployment"
|
||||
|
||||
gpuConfiguration: {}
|
||||
@@ -6,13 +6,26 @@ image:
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "testing"
|
||||
|
||||
# Restart / Update policy
|
||||
restartPolicy: Always
|
||||
updateStrategy: RollingUpdate
|
||||
|
||||
# Container CMD / entrypoint
|
||||
containerCommand: []
|
||||
containerArgs: []
|
||||
containerCommand:
|
||||
- sleep
|
||||
containerArgs:
|
||||
- infinity
|
||||
containerEnvironmentVariables: []
|
||||
|
||||
# Network related configuration
|
||||
externalInterfaces: []
|
||||
portForwardingList: []
|
||||
hostPortsList: []
|
||||
hostNetwork: false
|
||||
dnsPolicy: Default
|
||||
dnsConfig:
|
||||
nameservers: []
|
||||
searches: []
|
||||
|
||||
# Storage related configuration
|
||||
hostPathVolumes: []
|
||||
@@ -21,3 +34,8 @@ volumes: []
|
||||
# Probes
|
||||
# Liveness Probe
|
||||
livenessProbe: null
|
||||
|
||||
# Workload type
|
||||
workloadType: "Deployment"
|
||||
|
||||
gpuConfiguration: {}
|
||||
|
||||
Reference in New Issue
Block a user