blob: cb33025f2f79bf2f02d87d2e95100e7207e7e73e [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -05001# 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 Naserb7b97d62022-03-12 16:30:00 -050015- name: Deploy Helm chart
Mohammed Naser94e07e12023-01-18 03:29:39 +000016 run_once: true
17 kubernetes.core.helm:
Mohammed Naser2145fc32023-01-29 23:23:03 +000018 name: "{{ placement_helm_release_name }}"
19 chart_ref: "{{ placement_helm_chart_ref }}"
20 release_namespace: "{{ placement_helm_release_namespace }}"
Mohammed Naser94e07e12023-01-18 03:29:39 +000021 create_namespace: true
vexxhost-bot30018912024-09-27 11:09:29 -040022 kubeconfig: "{{ placement_helm_kubeconfig }}"
Mohammed Naser2145fc32023-01-29 23:23:03 +000023 values: "{{ _placement_helm_values | combine(placement_helm_values, recursive=True) }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050024
25- name: Create Ingress
26 ansible.builtin.include_role:
27 name: openstack_helm_ingress
28 vars:
29 openstack_helm_ingress_endpoint: placement
30 openstack_helm_ingress_service_name: placement-api
31 openstack_helm_ingress_service_port: 8778
Mohammed Naser2145fc32023-01-29 23:23:03 +000032 openstack_helm_ingress_annotations: "{{ placement_ingress_annotations }}"
Mohammed Naser3aaaad72025-02-05 14:03:20 -050033 openstack_helm_ingress_class_name: "{{ placement_ingress_class_name }}"