init: Add Helm charts for oc-mongo, oc-mongo-express, and oc-catalog
This commit is contained in:
5
oc-grafana-helm/Chart.yaml
Normal file
5
oc-grafana-helm/Chart.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: v2
|
||||
name: grafana
|
||||
description: A Helm chart for deploying the grafana service
|
||||
version: 0.1.0
|
||||
appVersion: "1.0"
|
||||
21
oc-grafana-helm/templates/grafana-deployment.yaml
Normal file
21
oc-grafana-helm/templates/grafana-deployment.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: grafana
|
||||
labels:
|
||||
app: grafana
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: grafana
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: grafana
|
||||
spec:
|
||||
containers:
|
||||
- name: grafana
|
||||
image: grafana/grafana:7.5.0
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
11
oc-grafana-helm/templates/grafana-service.yaml
Normal file
11
oc-grafana-helm/templates/grafana-service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: grafana
|
||||
labels:
|
||||
app: grafana
|
||||
spec:
|
||||
ports:
|
||||
- port: 3000
|
||||
selector:
|
||||
app: grafana
|
||||
18
oc-grafana-helm/values.yaml
Normal file
18
oc-grafana-helm/values.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: registry.dev.svc.cluster.local:5000/grafana/grafana
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
type: NodePort
|
||||
port: 8087
|
||||
targetPort: 8080
|
||||
|
||||
mongo:
|
||||
database: DC_myDC
|
||||
uri: mongodb://mongo:27017
|
||||
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
Reference in New Issue
Block a user