e1e2e25551
Add the FastAPI app, PostgreSQL migrations, Docker/Helm packaging, API contracts, docs, client examples, and the unit/integration/compatibility test suite for local client and tooling labs without a real vCenter.
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
# Example: public Ingress + Let's Encrypt (cert-manager) + Hub image.
|
|
#
|
|
# helm upgrade --install vmware-sim ./helm/vmware-api-simulator \
|
|
# -n vmware-sim --create-namespace \
|
|
# -f ./helm/vmware-api-simulator/values-ingress-example.yaml \
|
|
# --set certManager.email=you@example.com \
|
|
# --set ingress.hosts[0].host=vmware-sim.example.com \
|
|
# --set ingress.tls[0].hosts[0]=vmware-sim.example.com \
|
|
# --set secret.ticketSigningKey="$(openssl rand -hex 32)" \
|
|
# --set postgresql.auth.password="$(openssl rand -hex 16)"
|
|
|
|
image:
|
|
repository: inecs/vmware-api-simulator
|
|
tag: "0.1.0"
|
|
pullPolicy: IfNotPresent
|
|
|
|
secret:
|
|
create: true
|
|
ticketSigningKey: "replace-me"
|
|
|
|
postgresql:
|
|
enabled: true
|
|
auth:
|
|
username: vmware
|
|
password: "replace-me-db-password"
|
|
database: vmware_simulator
|
|
|
|
seed:
|
|
enabled: true
|
|
profile: small
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
hosts:
|
|
- host: vmware-sim.example.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: vmware-api-simulator-tls
|
|
hosts:
|
|
- vmware-sim.example.com
|
|
|
|
certManager:
|
|
enabled: true
|
|
createClusterIssuer: true
|
|
createStagingIssuer: true
|
|
email: you@example.com
|
|
issuerName: letsencrypt-prod
|
|
stagingIssuerName: letsencrypt-staging
|
|
# Set true first to validate HTTP-01 against Let's Encrypt staging.
|
|
useStaging: false
|
|
solverIngressClassName: nginx
|