V1Alpha2 GiteaProvider

📋 About This Example

Use case: A v1alpha2 GiteaProvider configuration for the modular architecture.

Complexity: Beginner

Components: GiteaProvider CR

⬇ Download YAML

Overview

This v1alpha2 GiteaProvider example shows the provider configuration that can be referenced by a Platform CR.

This configuration is perfect for:

  • Standalone Git provider
  • Component of larger platform
  • Development environments
  • GitOps workflows

YAML Configuration

apiVersion: idpbuilder.cnoe.io/v1alpha2
kind: GiteaProvider
metadata:
  name: gitea-local
  namespace: idpbuilder-system
spec:
  namespace: gitea
  version: "1.24.3"
  adminUser:
    username: giteaAdmin
    email: admin@cnoe.localtest.me
    autoGenerate: true
  organizations:
    - name: idpbuilder
      description: IDP Builder Bootstrap Organization

Prerequisites

Before applying this configuration, ensure you have:

  • Kubernetes cluster
  • IDP Builder v1alpha2 CRDs installed

Usage

1. Apply the manifest

kubectl apply -f giteaprovider.yaml

2. Check the status

# View resources
kubectl get giteaprovider

# Get detailed information
kubectl describe giteaprovider

Next Steps

After deploying this example, you can: