forked from roger/k3s-cluster
Compare commits
3 Commits
fix-merge-
...
b6d6ec7d88
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6d6ec7d88 | ||
|
|
ef17dc6c32 | ||
|
|
3542bcc8fb |
@@ -22,9 +22,3 @@ spec:
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
ignoreDifferences:
|
||||
- group: argoproj.io
|
||||
kind: Application
|
||||
jsonPointers:
|
||||
- /status
|
||||
- /operation
|
||||
|
||||
15
argocd/argocd-rbac-cm.yaml
Normal file
15
argocd/argocd-rbac-cm.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
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:
|
||||
policy.default: ""
|
||||
policy.csv: |
|
||||
p, role:platform-engineer, applications, get, */*, allow
|
||||
p, role:platform-engineer, applications, sync, */*, allow
|
||||
p, role:platform-engineer, projects, get, *, allow
|
||||
g, platform-engineer, role:platform-engineer
|
||||
@@ -28,35 +28,3 @@ spec:
|
||||
- name: deadline-checker
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
- deadline-checker
|
||||
env:
|
||||
- name: MYORG_REPO_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: MYORG_REPO_PATH
|
||||
- name: DISCORD_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_BOT_TOKEN
|
||||
- name: DISCORD_CHANNEL_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_CHANNEL_ID
|
||||
- name: LITELLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: LITELLM_API_KEY
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
volumes:
|
||||
- name: myorg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: myorg-assistant-pvc
|
||||
|
||||
@@ -28,35 +28,3 @@ spec:
|
||||
- name: evening-summary
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
- evening-summary
|
||||
env:
|
||||
- name: MYORG_REPO_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: MYORG_REPO_PATH
|
||||
- name: DISCORD_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_BOT_TOKEN
|
||||
- name: DISCORD_CHANNEL_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_CHANNEL_ID
|
||||
- name: LITELLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: LITELLM_API_KEY
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
volumes:
|
||||
- name: myorg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: myorg-assistant-pvc
|
||||
|
||||
@@ -28,50 +28,3 @@ spec:
|
||||
- name: git-sync
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
- git-sync
|
||||
env:
|
||||
- name: MYORG_REPO_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: MYORG_REPO_PATH
|
||||
- name: GIT_BRANCH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: GIT_BRANCH
|
||||
- name: GIT_REPO_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_REPO_URL
|
||||
- name: GIT_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_USERNAME
|
||||
- name: GIT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: GIT_TOKEN
|
||||
- name: DISCORD_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_BOT_TOKEN
|
||||
- name: LITELLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: LITELLM_API_KEY
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
volumes:
|
||||
- name: myorg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: myorg-assistant-pvc
|
||||
|
||||
@@ -28,42 +28,3 @@ spec:
|
||||
- name: morning-briefing
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
- morning-briefing
|
||||
env:
|
||||
# From ConfigMap
|
||||
- name: MYORG_REPO_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: MYORG_REPO_PATH
|
||||
- name: TIMEZONE
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: TIMEZONE
|
||||
# From Secret
|
||||
- name: DISCORD_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_BOT_TOKEN
|
||||
- name: DISCORD_CHANNEL_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_CHANNEL_ID
|
||||
- name: LITELLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: LITELLM_API_KEY
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
volumes:
|
||||
- name: myorg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: myorg-assistant-pvc
|
||||
|
||||
@@ -28,35 +28,3 @@ spec:
|
||||
- name: waiting-followup
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
- waiting-followup
|
||||
env:
|
||||
- name: MYORG_REPO_PATH
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: myorg-assistant-config
|
||||
key: MYORG_REPO_PATH
|
||||
- name: DISCORD_BOT_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_BOT_TOKEN
|
||||
- name: DISCORD_CHANNEL_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: DISCORD_CHANNEL_ID
|
||||
- name: LITELLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: myorg-assistant-secret
|
||||
key: LITELLM_API_KEY
|
||||
volumeMounts:
|
||||
- name: myorg-data
|
||||
mountPath: /data/myorg
|
||||
volumes:
|
||||
- name: myorg-data
|
||||
persistentVolumeClaim:
|
||||
claimName: myorg-assistant-pvc
|
||||
|
||||
@@ -9,18 +9,18 @@ data:
|
||||
config.yaml: |
|
||||
model:
|
||||
provider: openai-api
|
||||
default: qwen3.6
|
||||
default: z-ai/glm-5.2
|
||||
base_url: "http://litellm-service.litellm:80/v1"
|
||||
api_mode: chat_completions
|
||||
|
||||
auxiliary:
|
||||
compression:
|
||||
provider: openai-api
|
||||
model: qwen3.6
|
||||
model: z-ai/glm-5.2
|
||||
base_url: "http://litellm-service.litellm:80/v1"
|
||||
title_generation:
|
||||
provider: openai-api
|
||||
model: qwen3.6
|
||||
model: z-ai/glm-5.2
|
||||
base_url: "http://litellm-service.litellm:80/v1"
|
||||
|
||||
terminal:
|
||||
|
||||
Reference in New Issue
Block a user