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

feat: TLSOption #131

Merged
merged 2 commits into from
Feb 9, 2024
Merged

feat: TLSOption #131

merged 2 commits into from
Feb 9, 2024

Conversation

mloiseleur
Copy link
Contributor

@mloiseleur mloiseleur commented Feb 7, 2024

What does this PR do?

It allows to create dynamic config resources: TLSOption.

Motivation

See #129

More

  • Yes, I updated the tests accordingly
  • Yes, I ran make test and all the tests passed

@mloiseleur
Copy link
Contributor Author

@maythamalfouadi Is this what is needed ?

@maythamalfouadi
Copy link

Yep! Thank you @mloiseleur !

Copy link
Contributor

@darkweaver87 darkweaver87 left a comment

Choose a reason for hiding this comment

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

You may test additional values that default. It doesn't work. Test with the example you provided.

Error: UPGRADE FAILED: failed to create resource: TLSOption.traefik.io "customOptions" is invalid: metadata.name: Invalid value: "customOptions": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

@mloiseleur
Copy link
Contributor Author

Good catch ! I fixed the example with 2e3c787

Copy link
Contributor

@darkweaver87 darkweaver87 left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit 41373dd into traefik:master Feb 9, 2024
1 check passed
@mloiseleur mloiseleur deleted the feat/tlsoptions branch February 9, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement a new or improved feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants