@crossdelta/infrastructure 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -5
- package/dist/index.cjs +18 -336981
- package/dist/index.js +13 -336977
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -89,15 +89,27 @@ The architecture is **provider-agnostic** - runtime components (NATS, Ingress, C
|
|
|
89
89
|
npm install @crossdelta/infrastructure
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
### Peer Dependencies
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
This package requires Pulumi packages as peer dependencies. Install them based on your target cloud provider:
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
|
-
|
|
97
|
+
# Required - Pulumi core and Kubernetes
|
|
98
|
+
npm install @pulumi/pulumi @pulumi/kubernetes
|
|
99
|
+
|
|
100
|
+
# Optional - DigitalOcean provider (for DOKS)
|
|
101
|
+
npm install @pulumi/digitalocean
|
|
98
102
|
```
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
| Package | Required | Description |
|
|
105
|
+
|---------|----------|-------------|
|
|
106
|
+
| `@pulumi/pulumi` | ✅ Yes | Pulumi core SDK |
|
|
107
|
+
| `@pulumi/kubernetes` | ✅ Yes | Kubernetes resources |
|
|
108
|
+
| `@pulumi/digitalocean` | Optional | DigitalOcean provider (DOKS, VPC, etc.) |
|
|
109
|
+
|
|
110
|
+
## Quick Start
|
|
111
|
+
|
|
112
|
+
### 1. Create service configs
|
|
101
113
|
|
|
102
114
|
```typescript
|
|
103
115
|
// infra/services/orders.ts
|
|
@@ -135,7 +147,7 @@ const config: K8sServiceConfig = {
|
|
|
135
147
|
export default config
|
|
136
148
|
```
|
|
137
149
|
|
|
138
|
-
###
|
|
150
|
+
### 2. Create your Pulumi infrastructure
|
|
139
151
|
|
|
140
152
|
```typescript
|
|
141
153
|
// infra/index.ts
|