-
Notifications
You must be signed in to change notification settings - Fork 243
Cluster proxy config #1683
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
Cluster proxy config #1683
Conversation
fa938c9 to
01c30df
Compare
01c30df to
78edbc2
Compare
|
Hi @bigkevmcd, thank you for raising the PR! Hi @rancher/collie team, it seems that |
| if IsNotFound(err) || IsForbidden(err) { | ||
| return obj, "removed", nil | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the operation is forbidden, why set the state as "removed"? Shouldn't it just be a regular error then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great question...I'll assume it was copied from another resource.
And for some resources, not treating "forbidden" as an error is probably ok...but not for ClusterProxyConfig resources, because they have a fixed name...so, I've fixed this, in the reading of the resources too.
78edbc2 to
89259c7
Compare
This allows enabling JWT tokens on downstream clusters. Co-authored-by: Mohamed Belgaied <[email protected]> Signed-off-by: Kevin McDermott <[email protected]>
2487702 to
55bfbab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the tests!
Signed-off-by: Kevin McDermott <[email protected]> Co-authored-by: Mohamed Belgaied <[email protected]> (cherry picked from commit e2a374a)
Issue:
This is a reworking of #1589 with a couple of fixes and some cleanups
Problem
Terraform Provider is lacking ClusterProxyConfig support.
Solution
This adds support for ClusterProxyConfigs to the terraform provider.
Testing
Engineering Testing
Manual Testing
Terraform ClusterProxyConfigs
Starting hcl
Initial ClusterProxyConfigs
Initial apply
Subsequent Apply with no changes
Apply with update to enabled for cluster
Listing ClusterProxyConfigs
Destroying ClusterProxyConfigs
Automated Testing
QA Testing Considerations
Regressions Considerations