fluxcd : adding repo example with some apps
This commit is contained in:
59
fluxcd/repo/apps/base/k6-operator/hr-k6-operator.yaml
Normal file
59
fluxcd/repo/apps/base/k6-operator/hr-k6-operator.yaml
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: k6-operator
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
# https://github.com/grafana/k6-operator/blob/main/charts/k6-operator/values.yaml
|
||||
chart: k6-operator
|
||||
reconcileStrategy: ChartVersion
|
||||
version: "3.x.x"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: grafana
|
||||
namespace: infrastructure
|
||||
interval: 10m0s
|
||||
|
||||
values:
|
||||
fullnameOverride: "k6-operator"
|
||||
customLabels:
|
||||
team: "infrastructure"
|
||||
|
||||
manager:
|
||||
replicas: 1
|
||||
serviceAccount:
|
||||
name: "k6-operator-controller"
|
||||
create: true
|
||||
image:
|
||||
registry: ghcr.io
|
||||
repository: grafana/k6-operator
|
||||
tag: controller-v0.0.19
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
livenessProbe: {}
|
||||
readinessProbe: {}
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
env:
|
||||
# Indique que seul le namespace infrastructure est surveille.
|
||||
- name: WATCH_NAMESPACE
|
||||
value: 'infrastructure'
|
||||
|
||||
authProxy:
|
||||
# Disable/Enable authentication on metric endpoint
|
||||
enabled: false
|
||||
|
||||
installCRDs: true
|
||||
namespace:
|
||||
create: false
|
||||
|
||||
prometheus:
|
||||
enabled: false
|
||||
5
fluxcd/repo/apps/base/k6-operator/kustomization.yaml
Normal file
5
fluxcd/repo/apps/base/k6-operator/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- hr-k6-operator.yaml
|
||||
Reference in New Issue
Block a user