Skip to content

Controller crashes on startup due to conflicting configuration values #158

@mickume

Description

@mickume

Deploying the jumpstarter controller with the following configuration causes the pod to crash:

https://github.com/rhadp/rhadp-platform/blob/main/roles/setup-jumpstarter/templates/jumpstarter-app.yml.j2

The issue seems to be related to this expession:

claimMappings:
  username:
    expression: '"kubernetes:" + claims["kubernetes.io"]["namespace"]'
    prefix: "jmp-k8s:"

The error message:

"error": "claimMappings.username.prefix: Invalid value: \"jmp-k8s:\": prefix can't be set when expression is set"

The log file:
jumpstarter-controller-7df6fb55cb-cc4xp-manager.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions