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

enhance helm

parent 25e62a32
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
......@@ -13,6 +13,7 @@ rules:
- list
- get
- create
- update
- apiGroups:
- ""
resources:
......@@ -21,6 +22,7 @@ rules:
- servicemonitors
- configmaps
verbs:
- update
- delete
- list
- get
......@@ -37,6 +39,7 @@ rules:
resources:
- servicemonitors
verbs:
- update
- delete
- list
- create
......
......@@ -2,14 +2,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "theodolite-operator.fullname" . }}
name: {{ include "theodolite-operator.fullname" . }}-service
labels:
{{- include "theodolite-operator.labels" . | nindent 4 }}
app: {{ include "theodolite-operator.fullname" . }}
spec:
type: {{ .Values.serviceAnalysis.type }}
ports:
- port: {{ .Values.serviceAnalysis.port }}
protocol: TCP
name: analysis
targetPort: {{ .Values.serviceAnalysis.port }}
selector:
{{- include "theodolite-operator.fullname" . | nindent 4 }}
app: {{ include "theodolite-operator.fullname" . }}
{{- end }}
\ No newline at end of file
......@@ -6,12 +6,12 @@ metadata:
spec:
selector:
matchLabels:
app: theodolite
app: {{ include "theodolite-operator.fullname" . }}
replicas: 1
template:
metadata:
labels:
app: theodolite
app: {{ include "theodolite-operator.fullname" . }}
spec:
terminationGracePeriodSeconds: 0
serviceAccountName: {{ include "theodolite-operator.serviceAccountName" . }}
......@@ -23,4 +23,11 @@ spec:
value: {{ .Values.operator.namespace}}
- name: lag-analysis
image: benediktwetzel/lag-analysis
env:
- name: PORT
value: "8080"
ports:
- containerPort: 8080
name: analysis
{{- end }}
......@@ -15,5 +15,5 @@ rbac:
create: true
serviceAnalysis:
type: ClusterIP
port: 80
type: NodePort
port: 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment