add objectstorage to deployment
This commit is contained in:
parent
d8cc90188e
commit
eb73b35a5c
6 changed files with 26 additions and 0 deletions
|
@ -2,3 +2,4 @@ resources:
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- cronjob.yaml
|
- cronjob.yaml
|
||||||
|
- objectstorage.yaml
|
||||||
|
|
9
deployment/kustomize/base/portal/objectstorage.yaml
Normal file
9
deployment/kustomize/base/portal/objectstorage.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: appcat.vshn.io/v1
|
||||||
|
kind: ObjectBucket
|
||||||
|
metadata:
|
||||||
|
name: portal-storage
|
||||||
|
spec:
|
||||||
|
parameters:
|
||||||
|
region: lpg
|
||||||
|
writeConnectionSecretToRef:
|
||||||
|
name: portal-storage-creds
|
|
@ -11,3 +11,4 @@ resources:
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
patches:
|
patches:
|
||||||
- path: portal-deployment.yaml
|
- path: portal-deployment.yaml
|
||||||
|
- path: objectstorage.yaml
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: appcat.vshn.io/v1
|
||||||
|
kind: ObjectBucket
|
||||||
|
metadata:
|
||||||
|
name: portal-storage
|
||||||
|
spec:
|
||||||
|
parameters:
|
||||||
|
bucketName: servala-portal-storage-production
|
|
@ -11,3 +11,4 @@ resources:
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
patches:
|
patches:
|
||||||
- path: portal-deployment.yaml
|
- path: portal-deployment.yaml
|
||||||
|
- path: objectstorage.yaml
|
||||||
|
|
7
deployment/kustomize/overlays/staging/objectstorage.yaml
Normal file
7
deployment/kustomize/overlays/staging/objectstorage.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: appcat.vshn.io/v1
|
||||||
|
kind: ObjectBucket
|
||||||
|
metadata:
|
||||||
|
name: portal-storage
|
||||||
|
spec:
|
||||||
|
parameters:
|
||||||
|
bucketName: servala-portal-storage-staging
|
Loading…
Add table
Add a link
Reference in a new issue