-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Variable is expected to be string #1721
Comments
I see that if I change the HorizontalPodAutoscaler instead of the replicas directly, which maps to the Deployment, it works as expected. Shouldn't be possible in anyway to do what I'm trying to do? I would expect the Deployment replicas to be different from the minReplicas in the HorizontalPodAutoscaler. |
You should probably use patchesStrategicMerge instead. Check here |
You don't use vars in the way the documentation shows. Is this suppose to be a new way to do it? Can you link me to some info about this? |
sorry. Added some comments in the README.md on how to proceed and declare the variable manually you don't have access to the autovar feature. |
Is that autovar this? Can you add a comment on this? I don't understand if it's something we should actively use from a fork or if we should do it manually. Is a future that is coming or has been closed for good? |
I checked the other projects attempting to use kustomize at scale:
|
@jbrette yes this is a real shame.. I can definitely relate to some things you mentioned #1721 (comment), specifically..
..I'm at that point now of giving up and moving on |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I'm replacing a variable in my base to map the replicas in a Deployment with the minReplicas in a HorizontalPodAutoscaler. This is the basic config:
Deployment:
HorizontalPodAutoscaler:
Configuration for varReferences:
kustomization.yaml:
This is working as expected and the variable gets replaced. But, when I try to kustomize an overlay which only contains this:
I get the next error:
What am I doing wrong?
This is happening with the latest release (3.3.0).
The text was updated successfully, but these errors were encountered: