Skip to content
Snippets Groups Projects
Commit e610148a authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Fix helm chart

parent 67c22480
No related branches found
No related tags found
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
{{- if .Values.theodolite.benchmarkCRD.create -}} {{- if .Values.benchmarkCRD.create -}}
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
......
{{- if .Values.theodolite.executionCRD.create -}} {{- if .Values.executionCRD.create -}}
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
......
{{- if .Values.theodolite.rbac.create -}} {{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
......
{{- if .Values.theodolite.rbac.create -}} {{- if .Values.rbac.create -}}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
......
{{- if .Values.theodolite.serviceAccount.create -}} {{- if .Values.serviceAccount.create -}}
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
......
{{- if .Values.theodolite.operator.enabled -}} {{- if .Values.operator.enabled -}}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "theodolite.fullname" . }} name: {{ include "theodolite.fullname" . }}-operator
spec: spec:
selector: selector:
matchLabels: matchLabels:
...@@ -17,10 +17,10 @@ spec: ...@@ -17,10 +17,10 @@ spec:
serviceAccountName: {{ include "theodolite.serviceAccountName" . }} serviceAccountName: {{ include "theodolite.serviceAccountName" . }}
containers: containers:
- name: theodolite - name: theodolite
image: lorenzboguhn/theodolite:latest image: lorenzboguhn/thedolite:latest
env: env:
- name: NAMESPACE - name: NAMESPACE
value: {{ .Values.theodolite.operator.namespace}} value: {{ .Values.operator.namespace}}
- name: lag-analysis - name: lag-analysis
image: benediktwetzel/lag-analysis image: benediktwetzel/lag-analysis
ports: ports:
......
...@@ -231,19 +231,18 @@ prometheus: ...@@ -231,19 +231,18 @@ prometheus:
### ###
# Theodolite Operator # Theodolite Operator
### ###
theodolite: operator:
operator: enabled: true
enabled: true namespace: "default"
namespace: "default"
executionCRD: executionCRD:
create: true create: true
benchmarkCRD: benchmarkCRD:
create: true create: true
serviceAccount: serviceAccount:
create: true create: false
rbac: rbac:
create: true create: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment