diff --git a/gitops/argocd/charts/alerting/keep/.argocd-allow-concurrency b/gitops/argocd/charts/alerting/keep/.argocd-allow-concurrency new file mode 100644 index 0000000000..e69de29bb2 diff --git a/gitops/argocd/charts/alerting/keep/Chart.yaml b/gitops/argocd/charts/alerting/keep/Chart.yaml new file mode 100644 index 0000000000..2a62ac629f --- /dev/null +++ b/gitops/argocd/charts/alerting/keep/Chart.yaml @@ -0,0 +1,26 @@ +--- +# Copyright (C) Nicolas Lamirault +# +# 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 \ No newline at end of file diff --git a/gitops/argocd/charts/alerting/keep/values-k3s-homelab.yaml b/gitops/argocd/charts/alerting/keep/values-k3s-homelab.yaml new file mode 100644 index 0000000000..52d9470df0 --- /dev/null +++ b/gitops/argocd/charts/alerting/keep/values-k3s-homelab.yaml @@ -0,0 +1,61 @@ +--- +# Copyright (C) Nicolas Lamirault +# +# 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 \ No newline at end of file diff --git a/gitops/argocd/charts/alerting/keep/values.yaml b/gitops/argocd/charts/alerting/keep/values.yaml new file mode 100644 index 0000000000..2020cd843a --- /dev/null +++ b/gitops/argocd/charts/alerting/keep/values.yaml @@ -0,0 +1,59 @@ +--- +# Copyright (C) Nicolas Lamirault +# +# 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"