blob: 73b1b7b5b4d26ce79af53bed7371ba62d442df64 [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
15- name: Deploy Helm chart
Mohammed Naserc8e1a452022-08-11 16:16:13 -040016 kubernetes.core.k8s:
17 state: present
18 definition:
19 - apiVersion: source.toolkit.fluxcd.io/v1beta2
20 kind: HelmRepository
21 metadata:
22 name: ingress-nginx
23 namespace: openstack
24 spec:
25 interval: 60s
26 url: https://kubernetes.github.io/ingress-nginx
27
28 - apiVersion: helm.toolkit.fluxcd.io/v2beta1
29 kind: HelmRelease
30 metadata:
31 name: ingress-nginx
32 namespace: openstack
33 spec:
34 interval: 60s
35 chart:
36 spec:
37 chart: ingress-nginx
38 version: 4.0.17
39 sourceRef:
40 kind: HelmRepository
41 name: ingress-nginx
42 values:
43 controller:
44 config:
45 proxy-buffer-size: 16k
46 dnsPolicy: ClusterFirstWithHostNet
47 hostNetwork: true
48 ingressClassResource:
49 name: openstack
50 ingressClass: openstack
51 extraArgs:
52 default-ssl-certificate: ingress-nginx/wildcard
53 kind: DaemonSet
54 nodeSelector:
55 openstack-control-plane: enabled
56 service:
57 type: ClusterIP
58 admissionWebhooks:
59 port: 7443
60 defaultBackend:
61 enabled: true