mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Add route_annotations feature to mesh ingress CRD (#2045)
* Add route_annotations feature to mesh ingress CRD * update route_annotations type to string * display Route Annotations only when ingress_type=route
This commit is contained in:
@@ -6,6 +6,7 @@ ingress_api_version: 'networking.k8s.io/v1'
|
||||
ingress_annotations: ''
|
||||
ingress_class_name: ''
|
||||
ingress_controller: ''
|
||||
route_annotations: ''
|
||||
|
||||
set_self_owneref: true
|
||||
|
||||
|
||||
@@ -67,6 +67,9 @@ kind: Route
|
||||
metadata:
|
||||
annotations:
|
||||
openshift.io/host.generated: "true"
|
||||
{% if route_annotations %}
|
||||
{{ route_annotations | indent(width=4) }}
|
||||
{% endif %}
|
||||
name: {{ ansible_operator_meta.name }}
|
||||
namespace: "{{ ansible_operator_meta.namespace }}"
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user