2020-06-24 14:39:17 +00:00
|
|
|
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"
|
2021-01-21 16:13:03 +00:00
|
|
|
effect: NoSchedule
|
|
|
|
- key: "node-role.kubernetes.io/control-plane"
|
2020-06-24 14:39:17 +00:00
|
|
|
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
|
2021-01-21 16:13:03 +00:00
|
|
|
protocol: TCP
|