You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
billingAccount:
description: BillingAccount is an optional AWS account to use forbilling the subscription fees for ROSA clusters. The cost of runningeach ROSA cluster will be billed to the infrastructure account inwhich the cluster is running.type: stringx-kubernetes-validations:
- message: billingAccount is immutablerule: self == oldSelf
- message: billingAccount must be a valid AWS account IDrule: self.matches('^[0-9]{12}$')
it seems it's only for this specific /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/version/x-kubernetes-validations field
version:
description: OpenShift semantic version, for example "4.14.5".type: stringx-kubernetes-validations:
- message: version must be a valid semantic versionrule: self.matches('^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$')
Steps to reproduce
Just add this YAML in a kustomization file, and it throws parser token error.
Expected behavior
A YAML accepted by kubernetes client should also be accepted by Flux.
The text was updated successfully, but these errors were encountered:
mloiseleur
changed the title
kustomize-controller token recognition error on valid CRD
token recognition error in kustomization on valid CRD
Mar 4, 2024
Describe the bug
When applying infrastructure components yaml from AWS provider of Cluster API, flux kustomization fails with this error message:
error message
Strange things, this yaml section works fine:
it seems it's only for this specific
/spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/version/x-kubernetes-validations
fieldSteps to reproduce
Just add this YAML in a kustomization file, and it throws parser token error.
Expected behavior
A YAML accepted by kubernetes client should also be accepted by Flux.
Screenshots and recordings
No response
OS / Distro
Kubernetes
Flux version
v2.2.3
Flux check
Additional context
It's possible to workaround this issue by removing this field with a json patch:
Code of Conduct
The text was updated successfully, but these errors were encountered: