generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
Description
Observed Behavior:
When i set the RGD schema status to
status:
# Fields the controller will inject into instances status.
draft: string
userDraft: string
fqdn: ${service.metadata.name}.${service.metadata.namespace}.svc.cluster.local
conditions: ${pod.status.conditions}
i see this generated in the CRD :
status:
properties:
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
observedGeneration:
type: integer
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
fqdn:
type: string
conditions:
items:
properties:
lastTransitionTime:
type: string
message:
type: string
observedGeneration:
type: integer
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
state:
type: string
Expected Behavior:
Expect to see draft and userDraft in status fields.
Reproduction Steps (Please include ResourceGraphDefinition and Instances files):
Versions:
- kro version: 0.5.1
- Kubernetes Version (
kubectl version):
% kubectl version
Client Version: v1.33.5-dispatcher
Kustomize Version: v5.6.0
Server Version: v1.27.3
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Which option describes the most your issue?
No response
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.