Skip to content

Commit

Permalink
Add PDM application to sds-flux-confug (#4167)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathantoft authored Feb 2, 2024
1 parent 6fe9a76 commit ccc6d4c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/pdm/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
namespace: pdm
11 changes: 11 additions & 0 deletions apps/pdm/base/kustomize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: pdm
namespace: flux-system
spec:
path: ./apps/pdm/${ENVIRONMENT}/base
postBuild:
substitute:
NAMESPACE: "pdm"
TEAM_NOTIFICATION_CHANNEL: "pdm-builds"
6 changes: 6 additions & 0 deletions apps/pdm/dev/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ../../../rbac/dev-role.yaml
namespace: pdm
1 change: 1 addition & 0 deletions clusters/dev/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ resources:
- ../../../apps/opal/base/kustomize.yaml
- ../../../apps/dc/base/kustomize.yaml
- ../../../apps/pdda/base/kustomize.yaml
- ../../../apps/pdm/base/kustomize.yaml
patches:
- path: ../../../apps/base/kustomize.yaml
target:
Expand Down

0 comments on commit ccc6d4c

Please sign in to comment.