Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Use openssh-client instead of openssh apk #2142

Merged
merged 1 commit into from
Jun 10, 2019

Conversation

willholley
Copy link
Contributor

In the primary Flux container, ssh is only required as a client to connect to external SSH servers. Replacing the use of the openssh apk with openssh-client reduces the surface area of the container and removes a class of vulnerability/configuration warnings that get picked up by static analysis tools in relation to sshd.

@stefanprodan
Copy link
Member

The same applies to Helm Operator, can you please change it here also https://github.com/weaveworks/flux/blob/master/docker/Dockerfile.helm-operator

ssh is only required as a client to connect to external SSH servers.
Replacing the use of the openssh apk with openssh-client reduces the
surface area of the container and removes a class of
vulnerability/configuration warnings that get picked up by static
analysis tools in relation to sshd.
@willholley
Copy link
Contributor Author

thanks for the swift feedback @stefanprodan - done!

Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

Thanks @willholley, LGTM 🥇

@stefanprodan stefanprodan merged commit 564e694 into fluxcd:master Jun 10, 2019
@hiddeco hiddeco added this to the v1.13.0 milestone Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants