Skip to content

Rendering bug in 1.35.2 #401

@eshepelyuk

Description

@eshepelyuk

Hello

After updating to 1.35.2 - this code in values.yaml doesn't work anymore

hull:
  config:
    general:
      rbac: false
  objects:
    configmap:
      metadata:
        data:
          myKey:
            enabled: _HT? hasKey _HT*hull.config.specific "myKey"
            inline: _HT*hull.config.specific.myKey

with following error

create_deployments: error deploying default:  error executing 'helm template dashboard --values /tmp/875078234 --namespace nlx . --take-ownership --kube-context del/local': Error: execution error at (dashboard/templates/hull.yaml:1:4):
HULL failed with error HULL-GET-TRANSFORMATION-REFERENCE-INVALID: Element myKey in path hull.config.specific.myKey was not found

In version 1.35.1 the same values.yaml renders correctly, producing this

apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    app.kubernetes.io/component: default
    app.kubernetes.io/instance: dashboard
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: dashboard
    app.kubernetes.io/part-of: undefined
    app.kubernetes.io/version: 0.0.0
    helm.sh/chart: dashboard-0.0.0
  name: dashboard-dashboard-default
  namespace: nlx
---
# Source: dashboard/templates/hull.yaml
apiVersion: v1
data: {}
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/component: metadata
    app.kubernetes.io/instance: dashboard
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: dashboard
    app.kubernetes.io/part-of: undefined
    app.kubernetes.io/version: 0.0.0
    helm.sh/chart: dashboard-0.0.0
  name: dashboard-dashboard-metadata
  namespace: nlx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions