Compare commits

..

4 Commits

Author SHA1 Message Date
Platform Engineer Agent
086c6a8937 fix(argocd): add RBAC ConfigMap granting platform-engineer read+sync access
The platform-engineer ArgoCD account was created in argocd-cm.yaml but
no argocd-rbac-cm.yaml existed, so ArgoCD's default-deny policy blocked
all API calls with 'permission denied'. This grants the account read
access to applications, clusters, repositories, and projects, plus the
ability to trigger syncs — exactly what the platform-engineer bot needs.
2026-07-05 23:31:35 +00:00
Platform Engineer Agent
53ea993438 Merge remote-tracking branch 'upstream/main' 2026-07-05 23:28:11 +00:00
Roger Oriol
63e93cbd39 configure higher cron schedules 2026-07-05 23:15:33 +00:00
Platform Engineer
a84e348263 fix(myorg-assistant): fix CronJob image refs to use full registry path + imagePullSecrets
CronJobs were using bare image name 'myorg-assistant:latest' with
imagePullPolicy: IfNotPresent and no imagePullSecrets. K8s tried to
pull from Docker Hub → ImagePullBackOff on all 4 running CronJob pods.

Changed to git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
(matching the Deployment), imagePullPolicy: Always, and added
imagePullSecrets: gitea-registry to all 5 CronJob manifests.
2026-07-05 19:02:46 +00:00
3 changed files with 23 additions and 9 deletions

View File

@@ -22,9 +22,3 @@ spec:
selfHeal: true selfHeal: true
syncOptions: syncOptions:
- CreateNamespace=false - CreateNamespace=false
ignoreDifferences:
- group: argoproj.io
kind: Application
jsonPointers:
- /status
- /operation

View File

@@ -0,0 +1,20 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-rbac-cm
namespace: argocd
labels:
app.kubernetes.io/name: argocd-rbac-cm
app.kubernetes.io/part-of: argocd
data:
# Default policy: readonly for all authenticated users
policy.default: role:readonly
# platform-engineer account: read all apps + trigger syncs
policy.csv: |
p, role:platform-engineer, applications, get, */*, allow
p, role:platform-engineer, applications, sync, */*, allow
p, role:platform-engineer, clusters, get, *, allow
p, role:platform-engineer, repositories, get, *, allow
p, role:platform-engineer, projects, get, *, allow
g, platform-engineer, role:platform-engineer

View File

@@ -9,18 +9,18 @@ data:
config.yaml: | config.yaml: |
model: model:
provider: openai-api provider: openai-api
default: qwen3.6 default: z-ai/glm-5.2
base_url: "http://litellm-service.litellm:80/v1" base_url: "http://litellm-service.litellm:80/v1"
api_mode: chat_completions api_mode: chat_completions
auxiliary: auxiliary:
compression: compression:
provider: openai-api provider: openai-api
model: qwen3.6 model: z-ai/glm-5.2
base_url: "http://litellm-service.litellm:80/v1" base_url: "http://litellm-service.litellm:80/v1"
title_generation: title_generation:
provider: openai-api provider: openai-api
model: qwen3.6 model: z-ai/glm-5.2
base_url: "http://litellm-service.litellm:80/v1" base_url: "http://litellm-service.litellm:80/v1"
terminal: terminal: