diff --git a/execution/helm/theodolite-operator/templates/service.yaml b/execution/helm/theodolite-operator/templates/service.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1391e9189c67ccccd188978cd7364858407a56f9 --- /dev/null +++ b/execution/helm/theodolite-operator/templates/service.yaml @@ -0,0 +1,15 @@ +{{- if .Values.operator.enabled -}} +apiVersion: v1 +kind: Service +metadata: + name: {{ include "theodolite-operator.fullname" . }} + labels: + {{- include "theodolite-operator.labels" . | nindent 4 }} +spec: + type: {{ .Values.serviceAnalysis.type }} + ports: + - port: {{ .Values.serviceAnalysis.port }} + protocol: TCP + selector: + {{- include "theodolite-operator.fullname" . | nindent 4 }} +{{- end }} \ No newline at end of file diff --git a/execution/helm/theodolite-operator/templates/thedolite-operator.yaml b/execution/helm/theodolite-operator/templates/thedolite-operator.yaml index 6f9a57198fad59674c983d7ac017aa1371e4a4a1..1d0b68db69177d08a45209c359afd18a9aa6ce81 100644 --- a/execution/helm/theodolite-operator/templates/thedolite-operator.yaml +++ b/execution/helm/theodolite-operator/templates/thedolite-operator.yaml @@ -16,11 +16,11 @@ spec: terminationGracePeriodSeconds: 0 serviceAccountName: {{ include "theodolite-operator.serviceAccountName" . }} containers: - - name: thedolite + - name: theodolite image: lorenzboguhn/thedolite:latest env: - - name: KUBECONFIG - value: "~/.kube/config" - name: NAMESPACE value: {{ .Values.operator.namespace}} + - name: lag-analysis + image: benediktwetzel/lag-analysis {{- end }} diff --git a/execution/helm/theodolite-operator/values.yaml b/execution/helm/theodolite-operator/values.yaml index b0f8cc0bfbbe42a83f2ded8f0e1d8e441381e46d..f259913ef9d68bc9931f33fd6a735e24f766eb2d 100644 --- a/execution/helm/theodolite-operator/values.yaml +++ b/execution/helm/theodolite-operator/values.yaml @@ -12,4 +12,8 @@ serviceAccount: create: true rbac: - create: true \ No newline at end of file + create: true + +serviceAnalysis: + type: ClusterIP + port: 80