feat: fix name
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
284648fe79
commit
c08dcb049d
@ -65,7 +65,7 @@ impl Component for Ingress {
|
|||||||
match ingress_type {
|
match ingress_type {
|
||||||
IngressType::External => templates.push(
|
IngressType::External => templates.push(
|
||||||
r#"
|
r#"
|
||||||
{%- set service_name = vars.cuddle_vars.service | replace("-", "_") %}
|
{%- set service_name = vars.cuddle_vars.service %}
|
||||||
{%- set host_name = vars.cuddle_vars.service | replace("_", "-") | replace(".", "-") %}
|
{%- set host_name = vars.cuddle_vars.service | replace("_", "-") | replace(".", "-") %}
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
@ -100,7 +100,7 @@ spec:
|
|||||||
),
|
),
|
||||||
IngressType::Internal => templates.push(
|
IngressType::Internal => templates.push(
|
||||||
r#"
|
r#"
|
||||||
{%- set service_name = vars.cuddle_vars.service | replace("-", "_") %}
|
{%- set service_name = vars.cuddle_vars.service %}
|
||||||
{%- set host_name = vars.cuddle_vars.service | replace("_", "-") | replace(".", "-") %}
|
{%- set host_name = vars.cuddle_vars.service | replace("_", "-") | replace(".", "-") %}
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user