Add Ingress path type option (#1)

* make ingress_path_type an option

* add to spec
This commit is contained in:
Sean Davis
2021-10-04 10:31:56 -05:00
committed by GitHub
parent 9e9457cf99
commit b1dcf16fc8
4 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ task_privileged: false
service_type: ClusterIP
ingress_type: none
ingress_path: '/'
ingress_path_type: 'Prefix'
# 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:
- http:
paths:
- path: '{{ ingress_path }}'
pathType: Prefix
pathType: '{{ ingress_path_type }}'
backend:
service:
name: '{{ ansible_operator_meta.name }}-service'