mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Add kubernetes_web_svc_type variable to installer/inventory
awx-web-svc is now settable, e.g. ClusterIP or NodePort. Default is NodePort
This commit is contained in:
@@ -487,9 +487,13 @@ metadata:
|
||||
labels:
|
||||
name: {{ kubernetes_deployment_name }}-web-svc
|
||||
spec:
|
||||
type: {{ kubernetes_web_svc_type }}
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
{% if kubernetes_web_svc_type == "ClusterIP" %}
|
||||
nodePort: null
|
||||
{% endif %}
|
||||
targetPort: 8052
|
||||
selector:
|
||||
name: {{ kubernetes_deployment_name }}-web-deploy
|
||||
|
||||
Reference in New Issue
Block a user