blob: 96ffe365832a8e73e0fc31abab5e5b92c273379b [file] [log] [blame]
okozachenko1203f916c0c2023-03-23 21:13:27 +11001# 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
15- name: Deploy Helm chart
16 run_once: true
17 kubernetes.core.helm:
18 name: "{{ manila_helm_release_name }}"
19 chart_ref: "{{ manila_helm_chart_ref }}"
20 release_namespace: "{{ manila_helm_release_namespace }}"
21 create_namespace: true
22 kubeconfig: /etc/kubernetes/admin.conf
23 values: "{{ _manila_helm_values | combine(manila_helm_values, recursive=True) }}"
24
25- name: Create Ingress
26 ansible.builtin.include_role:
27 name: openstack_helm_ingress
28 vars:
okozachenko12031f527342023-03-24 00:27:33 +110029 openstack_helm_ingress_endpoint: share
okozachenko1203f916c0c2023-03-23 21:13:27 +110030 openstack_helm_ingress_service_name: manila-api
31 openstack_helm_ingress_service_port: 8786
32 openstack_helm_ingress_annotations: "{{ manila_ingress_annotations }}"