Skip to content

Commit

Permalink
Merge pull request #176 from camptocamp/schema-fix
Browse files Browse the repository at this point in the history
Re add releaseTrunc and prefixTrunc on the root
  • Loading branch information
sbrunner authored Mar 14, 2024
2 parents d1a25a9 + 4ac9adf commit cd05b84
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ spec:
apiVersion: v1
kind: ConfigMap
metadata:
name: custom-custom-pod
name: cus-custom-pod
labels:
helm.sh/chart: custom-pod
app.kubernetes.io/version: "1.0"
Expand Down Expand Up @@ -943,7 +943,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: custom-custom-pod-host1
name: cus-custom-pod-host1
labels:
helm.sh/chart: custom-pod
app.kubernetes.io/version: "1.0"
Expand Down Expand Up @@ -1014,7 +1014,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: custom-custom-pod-host2
name: cus-custom-pod-host2
labels:
helm.sh/chart: custom-pod
app.kubernetes.io/version: "1.0"
Expand Down
1 change: 1 addition & 0 deletions tests/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
metadata: true
releaseTrunc: 3

securityContext:
runAsNonRoot: true
Expand Down
2 changes: 2 additions & 0 deletions values.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- **`nameOverride`**: Refer to _[#/definitions/nameOverride](#definitions/nameOverride)_.
- **`fullnameOverride`**: Refer to _[#/definitions/fullnameOverride](#definitions/fullnameOverride)_.
- **`serviceName`**: Refer to _[#/definitions/serviceName](#definitions/serviceName)_.
- **`releaseTrunc`**: Refer to _[#/definitions/releaseTrunc](#definitions/releaseTrunc)_.
- **`prefixTrunc`**: Refer to _[#/definitions/prefixTrunc](#definitions/prefixTrunc)_.
- **`metadata`** _(boolean)_: Create a ConfigMap to expose some metadata about the chart.
- **`ingress`** _(object)_: Cannot contain additional properties.
- **`enabled`** _(boolean)_: Enable the Ingress.
Expand Down
6 changes: 6 additions & 0 deletions values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,12 @@
"serviceName": {
"$ref": "#/definitions/serviceName"
},
"releaseTrunc": {
"$ref": "#/definitions/releaseTrunc"
},
"prefixTrunc": {
"$ref": "#/definitions/prefixTrunc"
},
"metadata": {
"type": "boolean",
"description": "Create a ConfigMap to expose some metadata about the chart"
Expand Down

0 comments on commit cd05b84

Please sign in to comment.