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

autoscaler formatting documentation fix #1463

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

Seesbastian
Copy link
Contributor

There was an error in the documentatio about the example file.
Resulting in error when using autoscaler:
Error: Invalid expression │
│ on kube.tf line 333, in module "kube-hetzner":
│ 333: taints =
│ 334: [{

│ Expected the start of an expression, but found an invalid expression token.
Solution:

  1. change position of "[" and "]" bracket
  2. change format of listed taints: key="value", not key:"value"

Change due to Error when using Autoscaler:
Error: Invalid expression                                                                                                                                               
│                                                                                                                                                                         
│   on kube.tf line 333, in module "kube-hetzner":                                                                                                                        
│  333:       taints      =                                                                                                                                               
│  334:       [{                                                                                                                                                          
│                                                                                                                                                                         
│ Expected the start of an expression, but found an invalid expression token.
Solution: 
1. change position of "[" and "]" bracket
2. change format of listed taints: key="value", not key:"value"
Copy link
Collaborator

@mysticaltech mysticaltech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @Seesbastian

Copy link
Collaborator

@mysticaltech mysticaltech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful, thanks

@mysticaltech mysticaltech merged commit 22142a7 into kube-hetzner:master Sep 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants