-
Notifications
You must be signed in to change notification settings - Fork 13
[gateway] add replace for https to support wildcard host #249
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
base: main
Are you sure you want to change the base?
[gateway] add replace for https to support wildcard host #249
Conversation
e3d32c9 to
4fe57e7
Compare
4fe57e7 to
8c81118
Compare
|
Ich habe den Titel um "[gateway]" gepräfixt. |
| version: 1.1.0 | ||
| annotations: | ||
| artifacthub.io/changes: | | ||
| - kind: fixed |
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.
die Changes bitte aktualisieren
| {{- end }} | ||
| {{- range .Values.gateway.https }} | ||
| - name: "https-{{ .host }}" | ||
| - name: "https-{{ .host | replace "*" "wildcard" | replace "_" "" }}" |
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.
Sollten auch andere Sonderzeichen ersetzt werden?
Muss die Ersetzung hier im Chart passieren oder wäre es besser wenn bei der Verwendung ein eigener Name angegeben werden kann? gateway.https.nameOverride oder so? Das sieht mir schon sehr spezifisch aus. Liegt das sogar an der Implementation des Gateways welche Namen dort erlaubt sind? Aus YAML Sicht ist das einfach nur ein String 🤔
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.
Ah OK, die Spec schreibt hier vor, dass nur so etwas wie DNS-Namen verwendet werden dürfen:
MaxLength: 253
MinLength: 1
Pattern:^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
Dann sollte das Replace alles für [^-a-z0-9.] ersetzen durch z.B. -.
No description provided.