Merge pull request #4 from truenas/ix-chart-test
Add deployment test for ix-chart
This commit is contained in:
commit
b9f6510cc0
|
@ -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
|
|
@ -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.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "testing"
|
tag: "testing"
|
||||||
|
|
||||||
|
# Restart / Update policy
|
||||||
|
restartPolicy: Always
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
# Container CMD / entrypoint
|
# Container CMD / entrypoint
|
||||||
containerCommand: []
|
containerCommand:
|
||||||
containerArgs: []
|
- sleep
|
||||||
|
containerArgs:
|
||||||
|
- infinity
|
||||||
containerEnvironmentVariables: []
|
containerEnvironmentVariables: []
|
||||||
|
|
||||||
# Network related configuration
|
# Network related configuration
|
||||||
externalInterfaces: []
|
externalInterfaces: []
|
||||||
|
portForwardingList: []
|
||||||
|
hostPortsList: []
|
||||||
|
hostNetwork: false
|
||||||
|
dnsPolicy: Default
|
||||||
|
dnsConfig:
|
||||||
|
nameservers: []
|
||||||
|
searches: []
|
||||||
|
|
||||||
# Storage related configuration
|
# Storage related configuration
|
||||||
hostPathVolumes: []
|
hostPathVolumes: []
|
||||||
|
@ -21,3 +34,8 @@ volumes: []
|
||||||
# Probes
|
# Probes
|
||||||
# Liveness Probe
|
# Liveness Probe
|
||||||
livenessProbe: null
|
livenessProbe: null
|
||||||
|
|
||||||
|
# Workload type
|
||||||
|
workloadType: "Deployment"
|
||||||
|
|
||||||
|
gpuConfiguration: {}
|
||||||
|
|
Loading…
Reference in New Issue