Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
devantler committed Sep 1, 2024
1 parent 66a1282 commit 3ecbb43
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- name: 🪲 Analyze
if: always()
run: |
k8sgpt auth add --backend ollama --model "gemma2:2b" --password "${{ secrets.OPEN_WEBUI_API_TOKEN }}" --baseurl https://open-webui.devantler.com/ollama/api
k8sgpt auth add --backend ollama --model "gemma2:2b" --password "${{ secrets.OPEN_WEBUI_API_TOKEN }}" --baseurl https://open-webui.devantler.com/ollama
k8sgpt auth default -p ollama
# k8sgpt integration activate trivy --no-install --namespace trivy-operator
# k8sgpt integration activate kyverno --no-install --namespace kyverno
Expand Down
1 change: 1 addition & 0 deletions k8s/infrastructure/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ resources:
- oauth2-proxy
- ollama
- reloader
- testkube
- traefik
- trivy-operator
# - harbor
Expand Down
6 changes: 6 additions & 0 deletions k8s/infrastructure/testkube/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Testkube

A Kubernetes-native testing framework for testing Kubernetes applications.

- [Documentation](https://docs.testkube.io)
- [Helm Chart](https://github.com/kubeshop/helm-charts/tree/develop/charts/testkube)
6 changes: 6 additions & 0 deletions k8s/infrastructure/testkube/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- release.yaml
- repository.yaml
7 changes: 7 additions & 0 deletions k8s/infrastructure/testkube/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: testkube
labels:
goldilocks.fairwinds.com/enabled: "true"
goldilocks.fairwinds.com/vpa-update-mode: "auto"
19 changes: 19 additions & 0 deletions k8s/infrastructure/testkube/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: testkube
namespace: testkube
labels:
app.kubernetes.io/remediation: enabled
app.kubernetes.io/crds: enabled
spec:
interval: 1m
chart:
spec:
chart: testkube
version: 2.0.8
sourceRef:
kind: HelmRepository
name: testkube
# https://github.com/kubeshop/helm-charts/blob/develop/charts/testkube/values.yaml
values: {}
7 changes: 7 additions & 0 deletions k8s/infrastructure/testkube/repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: testkube
namespace: testkube
spec:
url: https://kubeshop.github.io/helm-charts

0 comments on commit 3ecbb43

Please sign in to comment.