diff --git a/roles/installer/defaults/main.yml b/roles/installer/defaults/main.yml index 8a16f621..ab86fe09 100644 --- a/roles/installer/defaults/main.yml +++ b/roles/installer/defaults/main.yml @@ -9,7 +9,7 @@ database_username: "{{ deployment_type }}" task_privileged: false service_type: ClusterIP ingress_type: none - +ingress_path: '/' # Add annotations to the service account. Specify as literal block. E.g.: # service_account_annotations: | # eks.amazonaws.com/role-arn: arn:aws:iam:::role/ diff --git a/roles/installer/templates/ingress.yaml.j2 b/roles/installer/templates/ingress.yaml.j2 index 6bd586c4..a93cd7b5 100644 --- a/roles/installer/templates/ingress.yaml.j2 +++ b/roles/installer/templates/ingress.yaml.j2 @@ -20,7 +20,7 @@ spec: - host: '{{ hostname }}' http: paths: - - path: / + - path: '{{ ingress_path }}' backend: serviceName: '{{ meta.name }}-service' servicePort: 80