diff --git a/tests/expected.yaml b/tests/expected.yaml index 39ab1ec..cddc4fa 100644 --- a/tests/expected.yaml +++ b/tests/expected.yaml @@ -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" @@ -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" @@ -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" diff --git a/tests/values.yaml b/tests/values.yaml index be083f6..eb02eab 100644 --- a/tests/values.yaml +++ b/tests/values.yaml @@ -1,4 +1,5 @@ metadata: true +releaseTrunc: 3 securityContext: runAsNonRoot: true diff --git a/values.md b/values.md index ac8bf10..59cb96c 100644 --- a/values.md +++ b/values.md @@ -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. diff --git a/values.schema.json b/values.schema.json index ddb5c2b..e4398f5 100644 --- a/values.schema.json +++ b/values.schema.json @@ -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"