eb8ed2fb6bedd2922aebca840c566db2a32ddd8f
[osm/devops.git] /
1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
17
18 ---
19 apiVersion: v1
20 kind: Namespace
21 metadata:
22   name: ingress-nginx
23
24 ---
25 apiVersion: source.toolkit.fluxcd.io/v1beta2
26 kind: HelmRepository
27 metadata:
28   name: ingress-nginx
29   namespace: ingress-nginx
30 spec:
31   interval: 24h
32   url: https://kubernetes.github.io/ingress-nginx
33
34 ---
35 apiVersion: helm.toolkit.fluxcd.io/v2beta1
36 kind: HelmRelease
37 metadata:
38   name: ingress-nginx
39   namespace: ingress-nginx
40 spec:
41   interval: 30m
42   chart:
43     spec:
44       chart: ingress-nginx
45       version: "*"
46       sourceRef:
47         kind: HelmRepository
48         name: ingress-nginx
49         namespace: ingress-nginx
50       interval: 12h
51   values:
52     controller:
53       service:
54         type: "NodePort"
55     admissionWebhooks:
56       enabled: false