initial checkin
This commit is contained in:
commit
5233b767d7
|
@ -0,0 +1,8 @@
|
|||
# Ansible Role: k8s_haproxy_deploy
|
||||
|
||||
## Introduction
|
||||
|
||||
This role will deploy the haproxy ingress controller helm chart.
|
||||
|
||||
This role requires that the 'devpath' and 'haproxy-ingress-ver' variables be set.
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
galaxy_info:
|
||||
author: radar231
|
||||
|
||||
license: license (GPL-2.0-or-later, MIT, etc)
|
||||
min_ansible_version: 2.1
|
||||
galaxy_tags: []
|
||||
dependencies: []
|
||||
|
||||
# EOF
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
#####################################################################
|
||||
#
|
||||
# haproxy_deploy role
|
||||
#
|
||||
# This role will deploy the haproxy ingress controller helm chart
|
||||
#
|
||||
# - requires that the 'devpath' variable be set
|
||||
# - requires that the 'haproxy-ingress-ver' variable be set
|
||||
#
|
||||
#####################################################################
|
||||
# tasks file for haproxy_deploy role
|
||||
|
||||
- debug: msg="Deploying haproxy ingress controller."
|
||||
|
||||
- name: Add haproxy helm repo
|
||||
community.kubernetes.helm_repository:
|
||||
name: haproxy-ingress
|
||||
repo_url: "https://haproxy-ingress.github.io/charts"
|
||||
|
||||
- name: Deploy haproxy ingress controller helm chart
|
||||
community.kubernetes.helm:
|
||||
name: haproxy-ingress
|
||||
namespace: ingress-controller
|
||||
create_namespace: true
|
||||
chart_ref: haproxy-ingress/haproxy-ingress
|
||||
chart_version: "{{ haproxy-ingress-ver }}"
|
||||
values:
|
||||
- controller:
|
||||
hostNetwork: true
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue