Skip to content

Commit

Permalink
simple-app 0.10.1: fix values schema for .env
Browse files Browse the repository at this point in the history
  • Loading branch information
elephantum committed Jul 24, 2023
1 parent 9832fc8 commit a05307f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/simple-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.10.0"
version: "0.10.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 4 additions & 4 deletions charts/simple-app/tests/__snapshot__/multiport_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
replicas: 1
Expand Down Expand Up @@ -60,7 +60,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
rules:
Expand All @@ -83,7 +83,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
ports:
Expand Down Expand Up @@ -112,5 +112,5 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
13 changes: 8 additions & 5 deletions charts/simple-app/tests/__snapshot__/simple_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
replicas: 1
Expand All @@ -23,7 +23,10 @@ All manifests should match snapshot:
app.kubernetes.io/name: simple-app
spec:
containers:
- image: test:1.1.1
- env:
- name: TEST
value: test
image: test:1.1.1
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -54,7 +57,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
rules:
Expand All @@ -77,7 +80,7 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
spec:
ports:
Expand All @@ -98,5 +101,5 @@ All manifests should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: simple-app
app.kubernetes.io/version: 1.16.0
helm.sh/chart: simple-app-0.10.0
helm.sh/chart: simple-app-0.10.1
name: simple
4 changes: 4 additions & 0 deletions charts/simple-app/tests/simple-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ domain: test.epoch8.co

ingress:
enabled: true

env:
- name: TEST
value: test
5 changes: 4 additions & 1 deletion charts/simple-app/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@
}
},
"env": {
"type": "object"
"type": "array",
"items": {
"type": "object"
}
},
"command": {
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion charts/simple-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extraPorts: []
# protocol: TCP

# Environment variables for container
env: {}
env: []

command: []
# - command
Expand Down

0 comments on commit a05307f

Please sign in to comment.