Added default ingress_path, made it an overridable var

This commit is contained in:
tabjer
2021-07-12 09:09:01 +08:00
parent 6e59e24c40
commit 3a330e4943
2 changed files with 2 additions and 2 deletions

View File

@@ -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::<ACCOUNT_ID>:role/<IAM_ROLE_NAME>

View File

@@ -20,7 +20,7 @@ spec:
- host: '{{ hostname }}'
http:
paths:
- path: /
- path: '{{ ingress_path }}'
backend:
serviceName: '{{ meta.name }}-service'
servicePort: 80