Skip to content

Commit 935c2fe

Browse files
ktdreyerclaude
andcommitted
move app resources out of platform/ into core/
The base split in the previous commit placed "ambient-api-server-db.yml" (Deployment, Service, PVC) and the auth ConfigMap in platform/ alongside namespace, CRDs, and secrets. These are application resources, not platform concerns. Moving them to core/ lets overlays like mpp-preprod include core/ and rbac/ without pulling in namespace, CRDs, or secrets that IT manages outside kustomize. All existing overlay output is unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c23f10b commit 935c2fe

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: ambient-api-server-auth
6+
labels:
7+
app: ambient-api-server
8+
component: auth
9+
data:
10+
jwks.json: |
11+
{"keys":[]}
12+
acl.yml: |
13+
- claim: email
14+
pattern: ^.*@(redhat\.com|ambient\.code)$

components/manifests/base/platform/ambient-api-server-db.yml renamed to components/manifests/base/core/ambient-api-server-db.yml

File renamed without changes.

‎components/manifests/base/core/kustomization.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ resources:
1010
- minio-deployment.yaml
1111
- postgresql-deployment.yaml
1212
- ambient-api-server-service.yml
13+
- ambient-api-server-db.yml
14+
- ambient-api-server-auth-configmap.yaml
1315
- unleash-deployment.yaml
1416
- agent-registry-configmap.yaml
1517

‎components/manifests/base/platform/ambient-api-server-secrets.yml‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,3 @@ metadata:
2525
type: Opaque
2626
stringData:
2727
sentry.key: ""
28-
29-
---
30-
apiVersion: v1
31-
kind: ConfigMap
32-
metadata:
33-
name: ambient-api-server-auth
34-
labels:
35-
app: ambient-api-server
36-
component: auth
37-
data:
38-
jwks.json: |
39-
{"keys":[]}
40-
acl.yml: |
41-
- claim: email
42-
pattern: ^.*@(redhat\.com|ambient\.code)$

‎components/manifests/base/platform/kustomization.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ resources:
55
- namespace.yaml
66
- ../crds
77
- ambient-api-server-secrets.yml
8-
- ambient-api-server-db.yml

0 commit comments

Comments
 (0)