Repository

A repository serves as a storage location for the code or Infrastructure as Code (IaC) used by a Resource Template to create a resource. The Resource Template accesses the repository through an agent (cd-agent). Each Resource Template is linked to a specific repository.

apiVersion: integrations.k8smgmt.io/v3
kind: Repository
metadata:
  name: rauto-repo-216151
  project: defaultproject
spec:
  agents:
  - name: k8sagent
  credentials:
    password: sealed://credentials.password
    username: automation-user@rafay.co
  endpoint: https://github.com/RafaySystems/qa-automation-applications
  secret:
    name: file://artifacts/rauto-repo-216151/sealed-secret.yaml
  type: Git