Add raw app
This commit is contained in:
parent
eca5ddcdb5
commit
886808e0a8
22
argocd-apps/raw-resources.yaml
Normal file
22
argocd-apps/raw-resources.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: raw-resources
|
||||
namespace: argocd
|
||||
labels:
|
||||
env: ai-stack
|
||||
spec:
|
||||
project: ai-stack
|
||||
source:
|
||||
repoURL: 'ssh://git@gitea-ssh.dev-tools.svc.cluster.local:2222/dvirlabs/ai-stack.git'
|
||||
targetRevision: HEAD
|
||||
path: manifests/raw
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: ai-stack
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
10
manifests/raw/dot-ai-stack/resourcesync.yaml
Normal file
10
manifests/raw/dot-ai-stack/resourcesync.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
apiVersion: dot-ai.devopstoolkit.live/v1alpha1
|
||||
kind: ResourceSyncConfig
|
||||
metadata:
|
||||
name: default-sync
|
||||
namespace: ai-stack
|
||||
spec:
|
||||
mcpEndpoint: http://dot-ai.ai-stack.svc.cluster.local:3456/api/v1/resources/sync
|
||||
mcpAuthSecretRef:
|
||||
name: dot-ai-secrets
|
||||
key: auth-token
|
||||
8
manifests/raw/dot-ai-stack/secret.yaml
Normal file
8
manifests/raw/dot-ai-stack/secret.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: dot-ai-secrets
|
||||
namespace: ai-stack
|
||||
type: Opaque
|
||||
stringData:
|
||||
auth-token: sometoken
|
||||
Loading…
x
Reference in New Issue
Block a user