Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions gitops/argocd/apps/ai/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
apiVersion: v2
type: application
name: ai
version: 1.0.0
appVersion: 1.0.0
dependencies:
- name: argocd-apps
repository: oci://ghcr.io/argoproj/argo-helm
version: 2.0.0
Binary file not shown.
37 changes: 37 additions & 0 deletions gitops/argocd/apps/ai/values-aws-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
argocd-apps:
applicationsets:
tools:
additionalLabels:
portefaix.xyz/env: staging
additionalAnnotations: {}
generators:
- list:
elements:
- appName: k8sgpt
namespace: ai
targetRevision: master
template:
metadata:
annotations:
argocd.argoproj.io/manifest-generate-paths: "/{{path}}"
notifications.argoproj.io/subscribe.on-degraded.slack: portefaix-staging-gitops
notifications.argoproj.io/subscribe.on-deployed.slack: portefaix-staging-gitops
notifications.argoproj.io/subscribe.on-sync-failed: portefaix-staging-gitops
notifications.argoproj.io/subscribe.on-sync-running.slack: portefaix-staging-gitops
notifications.argoproj.io/subscribe.on-sync-status-unknown: portefaix-staging-gitops
notifications.argoproj.io/subscribe.on-sync-succeeded.slack: portefaix-staging-gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
labels:
portefaix.xyz/env: staging
spec:
project: portefaix-aws-staging
source:
helm:
valueFiles:
- values.yaml
- values-aws-staging.yaml
40 changes: 40 additions & 0 deletions gitops/argocd/apps/ai/values-talos-homelab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
argocd-apps:
applicationsets:
tools:
additionalLabels:
portefaix.xyz/env: homelab
additionalAnnotations: {}
generators:
- list:
elements:
- appName: k8sgpt
namespace: ai
targetRevision: HEAD
- appName: ollama
namespace: ai
targetRevision: HEAD
- appName: kagent
namespace: mcp
targetRevision: HEAD
template:
metadata:
annotations:
notifications.argoproj.io/subscribe.on-degraded.slack: portefaix-homelab-gitops
notifications.argoproj.io/subscribe.on-deployed.slack: portefaix-homelab-gitops
notifications.argoproj.io/subscribe.on-sync-failed: portefaix-homelab-gitops
notifications.argoproj.io/subscribe.on-sync-running.slack: portefaix-homelab-gitops
notifications.argoproj.io/subscribe.on-sync-status-unknown: portefaix-homelab-gitops
notifications.argoproj.io/subscribe.on-sync-succeeded.slack: portefaix-homelab-gitops
labels:
portefaix.xyz/env: homelab
spec:
project: portefaix-talos-homelab
source:
helm:
valueFiles:
- values.yaml
- values-talos-homelab.yaml
83 changes: 83 additions & 0 deletions gitops/argocd/apps/ai/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
argocd-apps:
applicationsets:
ai:
additionalAnnotations:
a8r.io/bugs: "https://github.com/portefaix/portefaix/issues"
a8r.io/description: Argo-CD AI application
a8r.io/documentation: "https://github.com/portefaix/portefaix/blob/master/README.md"
a8r.io/owner: portefaix
a8r.io/support: "https://github.com/portefaix/portefaix/issues"
a8s.io/repository: >-
https://github.com/portefaix/portefaix/tree/master/gitops/argocd/apps/ai
additionalLabels:
app.kubernetes.io/component: argocd-applicationset
app.kubernetes.io/instance: ai-argocd-applicationset
app.kubernetes.io/managed-by: helm
app.kubernetes.io/name: ai
app.kubernetes.io/part-of: ai-argocd
app.kubernetes.io/version: v1.0.0
portefaix.xyz/stack: ai
portefaix.xyz/version: v1.3.0
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements: []
template:
metadata:
name: "{{ .appName }}"
annotations:
# https://argo-cd.readthedocs.io/en/stable/operator-manual/high_availability/#webhook-and-manifest-paths-annotation
argocd.argoproj.io/manifest-generate-paths: "."
labels:
app.kubernetes.io/component: argocd-application
app.kubernetes.io/instance: "{{ .appName }}-argocd-application"
app.kubernetes.io/managed-by: helm
app.kubernetes.io/name: "{{ .appName }}"
app.kubernetes.io/part-of: "{{ .appName }}-argocd"
app.kubernetes.io/version: v1.0.0
portefaix.xyz/stack: ai
portefaix.xyz/version: v1.3.0
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: "{{ .namespace }}"
server: https://kubernetes.default.svc
source:
repoURL: https://github.com/portefaix/portefaix-kubernetes.git
path: "gitops/argocd/charts/{{ .namespace }}/{{ .appName }}"
syncPolicy:
# automated:
# prune: true
# selfHeal: true
# allowEmpty: false
syncOptions:
- CreateNamespace=true
- Validate=false
- SkipDryRunOnMissingResource=true
- ApplyOutOfSyncOnly=true
# - ServerSideApply=true
# retry:
# limit: 5
# backoff:
# duration: 5s
# factor: 2
# maxDuration: 3m0s
templatePatch: |
spec:
source:
{{- if .targetRevision }}
targetRevision: '{{ .targetRevision }}'
{{- end }}
{{- if .autoSync }}
syncPolicy:
automated:
{{- if .prune }}
prune: {{ .prune }}
{{- end }}
{{- end }}
15 changes: 9 additions & 6 deletions gitops/argocd/apps/networking/values-aws-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ argocd-apps:
elements:
- appName: ingress-nginx
namespace: ingress-system
targetRevision: master
targetRevision: HEAD
- appName: envoy-gateway
namespace: api-gateway
targetRevision: master
namespace: gateway-api
targetRevision: HEAD
- appName: kgateway
namespace: gateway-api
targetRevision: HEAD
- appName: external-dns
namespace: dns
targetRevision: master
targetRevision: HEAD
- appName: cloudflare-tunnel
namespace: dns
targetRevision: master
targetRevision: HEAD
- appName: nats
namespace: messaging
targetRevision: master
targetRevision: HEAD
template:
metadata:
annotations:
Expand Down
5 changes: 4 additions & 1 deletion gitops/argocd/apps/networking/values-talos-homelab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ argocd-apps:
# - appName: envoy-gateway
# namespace: gateway-api
# targetRevision: HEAD
- appName: traefik
- appName: kgateway
namespace: gateway-api
targetRevision: HEAD
# - appName: traefik
# namespace: gateway-api
# targetRevision: HEAD
- appName: external-dns
namespace: dns
targetRevision: HEAD
Expand Down
9 changes: 9 additions & 0 deletions gitops/argocd/charts/crds/crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ dependencies:
- name: cert-manager-crds
repository: https://wiremind.github.io/wiremind-helm-charts
version: 1.13.5
# Gateway API
- name: gateway-api-crds
repository: oci://ghcr.io/portefaix/charts
version: 1.2.0
- name: traefik-crds
repository: oci://ghcr.io/portefaix/charts
version: 1.0.0
- name: kgateway-crds
repository: oci://cr.kgateway.dev/kgateway-dev/charts/
version: v0.0.1
# Observability
- name: grafana-operator-crds
repository: oci://ghcr.io/portefaix/charts
version: 1.0.0
Expand All @@ -40,3 +45,7 @@ dependencies:
- name: mariadb-operator-crds
repository: https://mariadb-operator.github.io/mariadb-operator
version: 0.36.0
# AI
- name: kagent-crds
repository: oci://ghcr.io/kagent-dev/kmcp/helm
version: 0.7.4
13 changes: 13 additions & 0 deletions gitops/argocd/charts/gateway-api/kgateway/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: Copyright (C) Nicolas Lamirault <[email protected]>
# SPDX-License-Identifier: Apache-2.0

---
apiVersion: v2
type: application
name: kgateway
version: 1.0.0
appVersion: 1.0.0
dependencies:
- name: kgateway
repository: oci://ghcr.io/kgateway-dev/charts
version: v2.0.4
18 changes: 18 additions & 0 deletions gitops/argocd/charts/gateway-api/kgateway/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# envoy-gateway

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| oci://docker.io/envoyproxy | gateway-helm | v1.0.1 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| envoy-gateway.config.envoyGateway.logging.level.default | string | `"info"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Loading
Loading