Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remote insights update #578

Merged
merged 26 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/lagoon-remote/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# This is the chart version. This version number should be incremented each
# time you make changes to the chart and its templates, including the app
# version.
version: 0.77.0
version: 0.78.0

dependencies:
- name: lagoon-build-deploy
Expand All @@ -45,4 +45,4 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: update lagoon-build-deploy subchart to 0.22.0
description: Changes permissions and adds service for insights-remote
21 changes: 15 additions & 6 deletions charts/lagoon-remote/templates/insights-remote.clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@ metadata:
labels:
{{- include "lagoon-remote.insightsRemote.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- "*"
- verbs:
- '*'
apiGroups:
- ''
resources:
- configmaps
- secrets
- verbs:
- get
- watch
- list
apiGroups:
- ''
resources:
- namespaces
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ spec:
key: username
resources:
{{- toYaml .Values.insightsRemote.resources | nindent 12 }}
ports:
- name: insights-ws
containerPort: 8888
protocol: TCP
{{- with .Values.insightsRemote.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
14 changes: 14 additions & 0 deletions charts/lagoon-remote/templates/insights-remote.service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "lagoon-remote.insightsRemote.fullname" . }}
labels: {{- include "lagoon-remote.insightsRemote.labels" . | nindent 4 }}
bomoko marked this conversation as resolved.
Show resolved Hide resolved
spec:
type: {{ .Values.insightsRemote.service.type }}
ports:
- port: {{ .Values.insightsRemote.service.port }}
targetPort: 8888
protocol: TCP
name: insights-ws
selector:
{{- include "lagoon-remote.insightsRemote.selectorLabels" . | nindent 4 }}
5 changes: 5 additions & 0 deletions charts/lagoon-remote/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ insightsRemote:

affinity: {}

service:
type: ClusterIP
port: 80


# the nats chart is a subchart which is configured for use by lagoon-remote
nats:
enabled: false
Expand Down