Remove unused secrets and enable deployment/service in attachments app kustomization
This commit is contained in:
parent
40c8ef7d24
commit
52044432f7
@ -4,7 +4,6 @@ kind: Kustomization
|
|||||||
namespace: attachments
|
namespace: attachments
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
# - deployment.yaml
|
- deployment.yaml
|
||||||
# - service.yaml
|
- service.yaml
|
||||||
# - secret-postgres.yaml
|
|
||||||
# - secret-yc-s3.yaml
|
|
||||||
|
|||||||
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: postgres-secret
|
|
||||||
namespace: attachments
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
host: ""
|
|
||||||
port: ""
|
|
||||||
database: ""
|
|
||||||
username: ""
|
|
||||||
password: ""
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: yc-s3
|
|
||||||
namespace: attachments
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
yc-s3-service-account.json: ""
|
|
||||||
@ -3,8 +3,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
patches: []
|
patches:
|
||||||
# - path: replicas.yaml
|
- path: replicas.yaml
|
||||||
# target:
|
target:
|
||||||
# kind: Deployment
|
kind: Deployment
|
||||||
# name: attachments
|
name: attachments
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user