Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZIL-5408: Mount container on deployment and add localdev z config #220

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions products/pdt/cd/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ spec:
name: pdt
ports:
- containerPort: 80
volumeMounts:
- mountPath: /data
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: pdt-pvc
3 changes: 3 additions & 0 deletions products/pdt/cd/base/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pdt-pvc
namespace: pdt
labels:
"app.kubernetes.io/name": "pdt"
spec:
accessModes:
- ReadWriteOnce
Expand Down
12 changes: 12 additions & 0 deletions products/pdt/z.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
backend: kind

clusters:
localdev:
manifests:
region: asia-southeast1
name: local-cluster
apps:
pdt-dev:
path: products/pdt/cd/base
track: development
type: kustomize
Loading