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

TLS: require specific TLS version or other configuration for an application #92

Closed
jpeach opened this issue Feb 14, 2020 · 11 comments
Closed
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/user-story Categorizes an issue as capturing a user story

Comments

@jpeach
Copy link
Contributor

jpeach commented Feb 14, 2020

What would you like to be added:

The ability for an application to specify its TLS version requirement. This extends to other TLS tunable such as cipher suites, session caching, session tickets and so forth.

Why is this needed:

As an application developer, my client audience is rapidly moving to TLS 1.2, but the cluster operator is also responsible for applications that will require TLS 1.1 for a long time to come. I want to be able to require TLS 1.2 on my application while allowing other applications to continue with TLS 1.1 for compatibility reasons.

The same use case applies to other TLS configuration items in general. Note that some applications will make different security/performance tradeoffs (e.g. around session tickets) so it would be inappropriate for the policy for my application to be allowed to be used for a different application.

/kind user-story

@jpeach jpeach added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 14, 2020
@k8s-ci-robot k8s-ci-robot added the kind/user-story Categorizes an issue as capturing a user story label Feb 14, 2020
@bowei
Copy link
Contributor

bowei commented Feb 14, 2020

This story is written from application dev standpoint, but I find that mostly TLS policy is enforced by cluster operator level (see https://kubernetes-sigs.github.io/service-apis/concepts/).

From conversations w/ users, I have found that app dev do not care as long as someone else makes it compliant/secure.

We need to also include mention of enforcement (note such policy can enforced in other ways) if app devs have choice in the matter.

@jpeach
Copy link
Contributor Author

jpeach commented Feb 17, 2020

I can see there could be different stories for dev and cluster operator personas. Cluster operators may define defaults and policy rules. Many dev teams will find the default acceptable, and others will need to specify them.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 17, 2020
@bowei bowei removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 19, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 17, 2020
@jpeach
Copy link
Contributor Author

jpeach commented Aug 19, 2020

Similar to #256, this setting can probably be added to TLSConfig

/remove-lifecycle stale

@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 18, 2020
@jpeach
Copy link
Contributor Author

jpeach commented Sep 20, 2020

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 20, 2020
@hbagdi
Copy link
Contributor

hbagdi commented Sep 24, 2020

It is now possible to configure version specific requirement in the Options map. Is that sufficient for this use case, @jpeach ?

@jpeach
Copy link
Contributor Author

jpeach commented Sep 27, 2020

Yup, let's see how it goes.

/close

@k8s-ci-robot
Copy link
Contributor

@jpeach: Closing this issue.

In response to this:

Yup, let's see how it goes.

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/user-story Categorizes an issue as capturing a user story
Projects
None yet
Development

No branches or pull requests

5 participants