apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: backstage-ai-demo
  namespace: openshift-gitops
spec:
  destination:
    namespace: backstage-ai-demo
    server: 'https://kubernetes.default.svc'
  project: default
  source:
    chart: backstage-ai-demo
    targetRevision: 0.1.0
    repoURL: 'https://github.com/pfeifferj/backstage-ai-demo'
    helm:
      releaseName: backstage-ai-demo
      valueFiles:
        - helm/values.yaml 
  syncPolicy:
    automated:
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: backstage-ai-demo-repo
  namespace: openshift-gitops
  labels:
    argocd.argoproj.io/secret-type: repository
data:
  name: backstage-ai-demo-repo
  type: helm
  url: https://pfeifferj.github.io/backstage-ai-demo/