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

Update kubeappsapis and kubeops to support CA for pinniped-proxy #4958

Merged
merged 3 commits into from
Jun 28, 2022

Conversation

absoludity
Copy link
Contributor

Signed-off-by: Michael Nelson minelson@vmware.com

Description of the change

Following on from #4951 , this PR updates the clients of pinniped-proxy to support a CA cert to use when communicating with pinniped-proxy

Benefits

With this (and some chart changes, coming next), I'm able to configure communication with pinniped-proxy over TLS.

Possible drawbacks

Applicable issues

Additional information

Copy link
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@@ -65,6 +65,7 @@ func setFlags(c *cobra.Command) {
c.Flags().Int64Var(&serveOpts.Timeout, "timeout", 300, "Timeout to perform release operations (install, upgrade, rollback, delete)")
c.Flags().StringVar(&serveOpts.ClustersConfigPath, "clusters-config-path", "", "Configuration for clusters")
c.Flags().StringVar(&serveOpts.PinnipedProxyURL, "pinniped-proxy-url", "http://kubeapps-internal-pinniped-proxy.kubeapps:3333", "internal url to be used for requests to clusters configured for credential proxying via pinniped")
c.Flags().StringVar(&serveOpts.PinnipedProxyCACert, "pinniped-proxy-ca-cert", "", "Custom certificate authority to use with requests to pinniped-proxy service")
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't recall right now, but, didn't we have a root.test.go file with a simple test adding each cmd argument? If so, it'd be great if we also add this param to the test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, done, thanks.

Base automatically changed from 2268-pinniped-tls to main June 28, 2022 07:13
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Signed-off-by: Michael Nelson <minelson@vmware.com>
@netlify
Copy link

netlify bot commented Jun 28, 2022

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit 5962adc
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/62baaa93714c8d00080efd3c

@absoludity absoludity merged commit a27b45b into main Jun 28, 2022
@absoludity absoludity deleted the 2268-pinniped-tls-2 branch June 28, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants