37 lines
1 KiB
Text
37 lines
1 KiB
Text
|
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
|