Merge pull request 'grafana-system: deploy grafana-operator' (#235) from benvin/grafana-operator into main
This commit was merged in pull request #235.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: grafana-system
|
||||
name: grafana-system
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: grafana-system
|
||||
|
||||
resources:
|
||||
- ../../../base/grafana-system
|
||||
|
||||
helmCharts:
|
||||
- name: grafana-operator
|
||||
repo: https://artifactapi.k8s.syd1.au.unkin.net/api/v1/virtual/helm
|
||||
version: "5.24.0"
|
||||
releaseName: grafana-operator
|
||||
namespace: grafana-system
|
||||
valuesFile: values.yaml
|
||||
@@ -0,0 +1,16 @@
|
||||
# Watches all namespaces by default (namespaceScope: false) so it can manage the
|
||||
# Grafana instance + dashboards/datasources in the `grafana` namespace.
|
||||
#
|
||||
# Render the CRDs as normal templated manifests (instead of the helm `crds/`
|
||||
# subchart, which `helm template`/kustomize skip) so ArgoCD installs and manages
|
||||
# them alongside the operator.
|
||||
crds:
|
||||
immutable: false
|
||||
replicas: 1
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
Reference in New Issue
Block a user