blob: e43c1cee086bdfa5eebd2da29d284bc601fa9e81 [file] [log] [blame]
Michiel Piscaer30d8e7b2022-07-08 13:06:27 +00001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naser0a13cee2023-03-02 11:28:29 +010015- name: Lookup resources
16 ansible.builtin.import_tasks:
17 file: lookups.yml
18
Michiel Piscaer30d8e7b2022-07-08 13:06:27 +000019- name: Deploy Helm chart
guilhermesteinmullerdca72972023-01-24 18:08:10 +000020 run_once: true
21 kubernetes.core.helm:
Mohammed Naser2145fc32023-01-29 23:23:03 +000022 name: "{{ designate_helm_release_name }}"
23 chart_ref: "{{ designate_helm_chart_ref }}"
24 release_namespace: "{{ designate_helm_release_namespace }}"
guilhermesteinmullerdca72972023-01-24 18:08:10 +000025 create_namespace: true
26 kubeconfig: /etc/kubernetes/admin.conf
Mohammed Naser2145fc32023-01-29 23:23:03 +000027 values: "{{ _designate_helm_values | combine(designate_helm_values, recursive=True) }}"
Michiel Piscaer30d8e7b2022-07-08 13:06:27 +000028
29- name: Create Ingress
30 ansible.builtin.include_role:
31 name: openstack_helm_ingress
32 vars:
Michiel Piscaer4736bea2022-09-13 16:12:33 +020033 openstack_helm_ingress_endpoint: dns
Michiel Piscaer30d8e7b2022-07-08 13:06:27 +000034 openstack_helm_ingress_service_name: designate-api
Mohammed Naserf622bbe2023-03-13 09:41:38 +000035 openstack_helm_ingress_service_port: 9001
Mohammed Naser2145fc32023-01-29 23:23:03 +000036 openstack_helm_ingress_annotations: "{{ designate_ingress_annotations }}"