Skip to content

Commit

Permalink
[feat]: added feature to add auth flag for backend from values. #145 (#…
Browse files Browse the repository at this point in the history
…146)

* feat: added feature to add auth flag for backend from values.

* feat: added extavolumes and extravolumeMounts.

* fix: package file for 0.5.6

---------

Co-authored-by: escho <[email protected]>
  • Loading branch information
Annavar-satish and itnpeople authored Aug 11, 2024
1 parent 014822f commit bc4c396
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/install/kubernetes/helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: kore-board
type: application
version: 0.5.5
version: 0.5.6
appVersion: v0.5.5
description: Kubernetes multi-clusters dashboard
description: Kubernetes multi-clusters dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,32 @@ spec:
args:
- --kubeconfig=strategy=configmap,configmap={{ .Chart.Name }}-kubeconfig,namespace={{ .Release.Namespace }},filename=config
- --metrics-scraper-url=http://metrics-scraper:8000
- --terminal-url=http://terminal:3003
- --log-level=info
- --terminal-url=http://terminal:3003
{{- if .Values.backend.args }}
{{- with .Values.backend.args }}
{{ toYaml . | indent 12 }}
{{- end }}
{{- end }}
ports:
- containerPort: 3000
protocol: TCP
volumeMounts:
- mountPath: /tmp
name: tmp-volume
{{- if .Values.backend.extravolumeMounts }}
{{- with .Values.backend.extravolumeMounts }}
{{ toYaml . | indent 12 }}
{{- end }}
{{- end }}
volumes:
- name: tmp-volume
emptyDir: {}
{{- if .Values.backend.extravolumes }}
{{- with .Values.backend.extravolumes }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}
serviceAccountName: {{ .Chart.Name }}
nodeSelector:
"kubernetes.io/os": linux
10 changes: 9 additions & 1 deletion scripts/install/kubernetes/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,22 @@ metricsScraper:

backend:
replicaCount: 1
args: []
# - --auth=strategy=cookie,secret=static-token,token=kore3lab
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "200m"

extravolumeMounts: []
# - name: user-vol
# mountPath: "/var/user"
extravolumes: []
# - name: user-vol
# secret:
# secretName: secret-basic-auth
frontend:
replicaCount: 1
resources:
Expand Down
Binary file added scripts/install/kubernetes/kore-board-0.5.6.tgz
Binary file not shown.

0 comments on commit bc4c396

Please sign in to comment.