feat: Add KEDA and KEDA HTTP Add-on controllers
This commit is contained in:
parent
cc6dbd025a
commit
e736d5f874
6 changed files with 63 additions and 0 deletions
7
infrastructure/controllers/base/keda/kustomization.yaml
Normal file
7
infrastructure/controllers/base/keda/kustomization.yaml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- repository.yaml
|
||||
- release-keda.yaml
|
||||
- release-http-add-on.yaml
|
||||
4
infrastructure/controllers/base/keda/namespace.yaml
Normal file
4
infrastructure/controllers/base/keda/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: keda
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: keda-http-add-on
|
||||
namespace: keda
|
||||
spec:
|
||||
interval: 1h
|
||||
chart:
|
||||
spec:
|
||||
chart: keda-add-ons-http
|
||||
version: ">= 0.8.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: kedacore
|
||||
install:
|
||||
createNamespace: true
|
||||
crds: CreateReplace
|
||||
upgrade:
|
||||
crds: CreateReplace
|
||||
dependsOn:
|
||||
- name: keda
|
||||
19
infrastructure/controllers/base/keda/release-keda.yaml
Normal file
19
infrastructure/controllers/base/keda/release-keda.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: keda
|
||||
namespace: keda
|
||||
spec:
|
||||
interval: 1h
|
||||
chart:
|
||||
spec:
|
||||
chart: keda
|
||||
version: ">= 2.14.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: kedacore
|
||||
install:
|
||||
createNamespace: true
|
||||
crds: CreateReplace
|
||||
upgrade:
|
||||
crds: CreateReplace
|
||||
8
infrastructure/controllers/base/keda/repository.yaml
Normal file
8
infrastructure/controllers/base/keda/repository.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: kedacore
|
||||
namespace: keda
|
||||
spec:
|
||||
interval: 1h
|
||||
url: https://kedacore.github.io/charts
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base/keda
|
||||
Loading…
Add table
Reference in a new issue