Add port 443 mapping for kind clusters with Caddy ingress
Caddy provides automatic HTTPS with Let's Encrypt, but needs port 443 mapped from the kind container to the host. Previously only port 80 was mapped. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>helm-charts-with-caddy
parent
97a85359ff
commit
638435873c
|
|
@ -308,8 +308,8 @@ def _generate_kind_port_mappings_from_services(parsed_pod_files):
|
||||||
|
|
||||||
def _generate_kind_port_mappings(parsed_pod_files):
|
def _generate_kind_port_mappings(parsed_pod_files):
|
||||||
port_definitions = []
|
port_definitions = []
|
||||||
# For now we just map port 80 for the nginx ingress controller we install in kind
|
# Map port 80 and 443 for the Caddy ingress controller (HTTPS support)
|
||||||
port_string = "80"
|
for port_string in ["80", "443"]:
|
||||||
port_definitions.append(
|
port_definitions.append(
|
||||||
f" - containerPort: {port_string}\n hostPort: {port_string}\n"
|
f" - containerPort: {port_string}\n hostPort: {port_string}\n"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue