Remove unused secrets and enable deployment/service in attachments app kustomization

This commit is contained in:
emelinda 2026-04-13 14:54:52 +03:00
parent 40c8ef7d24
commit 52044432f7
4 changed files with 8 additions and 31 deletions

View File

@ -4,7 +4,6 @@ kind: Kustomization
namespace: attachments
resources:
- namespace.yaml
# - deployment.yaml
# - service.yaml
# - secret-postgres.yaml
# - secret-yc-s3.yaml
- deployment.yaml
- service.yaml

View File

@ -1,13 +0,0 @@
---
apiVersion: v1
kind: Secret
metadata:
name: postgres-secret
namespace: attachments
type: Opaque
data:
host: ""
port: ""
database: ""
username: ""
password: ""

View File

@ -1,9 +0,0 @@
---
apiVersion: v1
kind: Secret
metadata:
name: yc-s3
namespace: attachments
type: Opaque
data:
yc-s3-service-account.json: ""

View File

@ -3,8 +3,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patches: []
# - path: replicas.yaml
# target:
# kind: Deployment
# name: attachments
patches:
- path: replicas.yaml
target:
kind: Deployment
name: attachments