Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Added

- The new `DRYDOCK_INGRESS_CLASS` allows to configure the ingress class used by
the Ingress and Issuers objects.

1 change: 1 addition & 0 deletions drydock/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
("DRYDOCK_AUTO_TLS", True),
("DRYDOCK_MIGRATE_FROM", 0),
("DRYDOCK_INGRESS", True),
("DRYDOCK_INGRESS_CLASS", "nginx"),
("DRYDOCK_INGRESS_EXTRA_HOSTS", []),
("DRYDOCK_INGRESS_LMS_EXTRA_HOSTS", []),
("DRYDOCK_NEWRELIC_LICENSE_KEY", ""),
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ metadata:
}
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ CMS_HOST }}
http:
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/extra-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
cert-manager.io/issuer: letsencrypt
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ host }}
http:
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/issuer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
solvers:
- http01:
ingress:
class: nginx
class: {{ DRYDOCK_INGRESS_CLASS }}
{% endif -%}

{% if DRYDOCK_CUSTOM_CERTS -%}
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/lms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ metadata:
}
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ LMS_HOST }}
http:
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/meilisearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cert-manager.io/issuer: letsencrypt
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ MEILISEARCH_HOST }}
http:
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/mfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
cert-manager.io/issuer: letsencrypt
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ MFE_HOST }}
http:
Expand Down
2 changes: 1 addition & 1 deletion drydock/templates/drydock/k8s/ingress/notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
cert-manager.io/issuer: letsencrypt
{%- endif %}
spec:
ingressClassName: nginx
ingressClassName: {{ DRYDOCK_INGRESS_CLASS }}
rules:
- host: {{ NOTES_HOST }}
http:
Expand Down