Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: can't set conditions in status.yaml #138

Open
kirederik opened this issue May 28, 2024 · 0 comments
Open

bug: can't set conditions in status.yaml #138

kirederik opened this issue May 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kirederik
Copy link
Member

steps to reproduce

  1. in a resource pipeline, create a /kratix/metadata.status.yaml as follows:
    cat <<EOF > /kratix/metadata/status.yaml
    conditions:
      - type: TestCondition
        status: "True"
    message: "Custom Message"
    otherStatus: "bar"
    EOF
  2. apply the promise and request a resource from it
  3. inspect the status of the resource (with get -o yaml or describe)

expected

  1. .status.message to be Custom Message
  2. .status.otherStatus to be bar
  3. .status.conditions to include TestCondition: True

actual

  1. .status.conditions does not include the TestCondition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant