Skip to content

Commit

Permalink
feat(keep): new component
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault committed Sep 13, 2024
1 parent 4cfbe98 commit d5c3a4e
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 0 deletions.
Empty file.
26 changes: 26 additions & 0 deletions gitops/argocd/charts/alerting/keep/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: v2
type: application
name: keep
version: 1.0.0
appVersion: 1.0.0
dependencies:
- name: keep
repository: https://keephq.github.io/helm-charts
version: 0.1.12
61 changes: 61 additions & 0 deletions gitops/argocd/charts/alerting/keep/values-k3s-homelab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0

keep:
backend:
databaseConnectionStringFromSecret:
enabled: false
secretName: keep-database
secretKey: ""
env:
- name: DATABASE_CONNECTION_STRING
value: mysql+pymysql://keep:kepp@keep-database:3306/keep
resources:
limits:
memory: 256Mi
requests:
cpu: 5m
memory: 64Mi

frontend:
resources:
limits:
memory: 256Mi
requests:
cpu: 5m
memory: 64Mi

websocket:
resources:
limits:
memory: 256Mi
requests:
cpu: 5m
memory: 64Mi

database:
pvc:
enabled: true
size: 5Gi
storageClass: local-path
env:
- name: MYSQL_ALLOW_EMPTY_PASSWORD
value: yes
- name: MYSQL_DATABASE
value: keep
- name: MYSQL_PASSWORD
value: null
59 changes: 59 additions & 0 deletions gitops/argocd/charts/alerting/keep/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
# Copyright (C) Nicolas Lamirault <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0

ai:
providers:
noopai:
enabled: true
localai:
enabled: false
openai:
enabled: false
azure_openai:
enabled: false
aws_bedrock:
enabled: false
google_gemini:
enabled: false
cache:
enabled: false

k8sgpt:
name: core

grafanaOperator:
enabled: true
matchLabels:
grafana.com/dashboards: portefaix
folder: ai
dashboards:
- name: k8sgpt-overview
key: k8sgpt-overview.json

k8sgpt-operator:
serviceMonitor:
enabled: true
additionalLabels:
prometheus.io/operator: portefaix
grafanaDashboard:
enabled: true
folder:
annotation: grafana.com/folder
name: ai
label:
key: grafana.com/dashboard
value: "k8sgpt-overview"

0 comments on commit d5c3a4e

Please sign in to comment.