---
apiVersion: codemowers.cloud/v1beta1
kind: OIDCClient
metadata:
  name: argocd
  namespace: argocd
spec:
  displayName: Argo CD
  uri: https://argocd.k-space.ee
  redirectUris:
    - https://argocd.k-space.ee/auth/callback
    - http://localhost:8085/auth/callback
  allowedGroups:
    - k-space:kubernetes:admins
  grantTypes:
    - authorization_code
    - refresh_token
  responseTypes:
    - code
  availableScopes:
    - openid
    - profile
  pkce: false
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
  namespace: argocd
  name: k-space.ee
spec:
  clusterResourceWhitelist:
    - group: '*'
      kind: '*'
  destinations:
    - namespace: '*'
      server: '*'
  sourceRepos:
    - '*'