Skip to content
Snippets Groups Projects
Commit 67c22480 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

Create a large Helm chart for both the operator and the infrastructure

parent ab48e4a7
Branches
Tags
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!109Introduce a Helm chart for the Theodolite operator,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Showing
with 35 additions and 5 deletions
......@@ -44,6 +44,21 @@ In development environments Kubernetes resources are often low. To reduce resour
helm install theodolite . -f preconfigs/one-broker-values.yaml
```
## Uninstall this Chart
To uninstall/delete the `my-release` deployment:
```sh
helm delete my-release
```
This command does not remove the CRDs which are created by this Chart. Remove this CRDs with:
```sh
kubectl delete crd execution
kubectl delete crd benchmark
```
## Development
**Hints**:
......
......@@ -9,7 +9,7 @@ cp-helm-charts:
## Kafka
## ------------------------------------------------------
cp-kafka:
brokers: 1 # deauflt: 10
brokers: 1 # default: 10
configurationOverrides:
offsets.topic.replication.factor: "1"
\ No newline at end of file
{{- if .Values.benchmarkCRD.create -}}
{{- if .Values.theodolite.benchmarkCRD.create -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
......
{{- if .Values.executionCRD.create -}}
{{- if .Values.theodolite.executionCRD.create -}}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
......
{{- if .Values.rbac.create -}}
{{- if .Values.theodolite.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: {{ include "theodolite-operator.fullname" . }}
name: {{ include "theodolite.fullname" . }}
labels:
app: {{ include "theodolite-operator.name" . }}
app: {{ include "theodolite.name" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ include "theodolite-operator.fullname" . }}
name: {{ include "theodolite.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "theodolite-operator.serviceAccountName" . }}
name: {{ include "theodolite.serviceAccountName" . }}
{{- end }}
\ No newline at end of file
{{- if .Values.rbac.create -}}
{{- if .Values.theodolite.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "theodolite-operator.fullname" . }}
name: {{ include "theodolite.fullname" . }}
rules:
- apiGroups:
- apps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment