Skip to content

Conversation

@arnelasse
Copy link
Contributor

No description provided.

@arnelasse arnelasse force-pushed the allow-wildcard-host branch from e3d32c9 to 4fe57e7 Compare January 19, 2026 14:49
@arnelasse arnelasse force-pushed the allow-wildcard-host branch from 4fe57e7 to 8c81118 Compare January 19, 2026 15:03
@DanielRaapDev DanielRaapDev changed the title add replace for https to support wildcard host. [gateway] add replace for https to support wildcard host Jan 20, 2026
@DanielRaapDev
Copy link
Member

Ich habe den Titel um "[gateway]" gepräfixt.

version: 1.1.0
annotations:
artifacthub.io/changes: |
- kind: fixed
Copy link
Member

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 "_" "" }}"
Copy link
Member

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 🤔

Copy link
Member

@DanielRaapDev DanielRaapDev Jan 20, 2026

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. -.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants