Platform with Gateway
Overview
This v1alpha2 example demonstrates the modular architecture where platform components are managed through separate Custom Resources.
This configuration is perfect for:
- Multi-component platform setups
- Understanding v1alpha2 architecture
- Production-ready configurations
- Gateway integration with Platform
YAML Configuration
apiVersion: idpbuilder.cnoe.io/v1alpha2
kind: Platform
metadata:
name: localdev
namespace: idpbuilder-system
spec:
domain: cnoe.localtest.me
components:
gitProviders:
- name: gitea-local
kind: GiteaProvider
namespace: idpbuilder-system
gateways:
- name: nginx-gateway
kind: NginxGateway
namespace: idpbuilder-system
Prerequisites
Before applying this configuration, ensure you have:
- Kubernetes cluster
- IDP Builder CRDs installed
- Both
gitea-localGiteaProvider andnginx-gatewayNginxGateway CRs created
Usage
1. Apply the manifest
kubectl apply -f platform-with-gateway.yaml
2. Check the status
# View resources
kubectl get platform
# Get detailed information
kubectl describe platform
Next Steps
After deploying this example, you can:
- Explore the GiteaProvider configuration details
- Explore the NginxGateway configuration details
- Explore the V2 Architecture documentation