Support for Ambassador OSS as an Ingress Controller when settings `ingress_ambassador_enabled: true`. Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
37 lines
No EOL
1 KiB
Django/Jinja
37 lines
No EOL
1 KiB
Django/Jinja
apiVersion: getambassador.io/v2
|
|
kind: AmbassadorInstallation
|
|
metadata:
|
|
name: ambassador
|
|
labels:
|
|
app.kubernetes.io/name: ambassador-operator
|
|
app.kubernetes.io/part-of: ambassador-operator
|
|
spec:
|
|
installOSS: true
|
|
{% if ingress_ambassador_update_window %}
|
|
updateWindow: "{{ ingress_ambassador_update_window }}"
|
|
{% endif %}
|
|
{% if ingress_ambassador_version %}
|
|
version: "{{ ingress_ambassador_version }}"
|
|
{% endif %}
|
|
helmValues:
|
|
tolerations:
|
|
- key: "node-role.kubernetes.io/master"
|
|
operator: Equal
|
|
effect: NoSchedule
|
|
deploymentTool: amb-oper-kubespray
|
|
{% if ingress_ambassador_host_network %}
|
|
hostNetwork: true
|
|
{% endif %}
|
|
replicaCount: {{ ingress_ambassador_replicas }}
|
|
service:
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
hostPort: {{ ingress_ambassador_insecure_port }}
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
- name: https
|
|
port: 443
|
|
hostPort: {{ ingress_ambassador_secure_port }}
|
|
targetPort: 8443
|
|
protocol: TCP |