From 144116a4e32a1a201b3322253fc184314c02259f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Wed, 18 Dec 2024 12:39:28 +0200 Subject: [PATCH] cleanup --- apps/argo-apps/harta-reciclarii.yaml | 18 --- apps/harta-reciclarii/domain-mapping.yaml | 10 -- apps/harta-reciclarii/service-nominatim.yaml | 109 ------------------- apps/harta-reciclarii/service.yaml | 109 ------------------- 4 files changed, 246 deletions(-) delete mode 100644 apps/argo-apps/harta-reciclarii.yaml delete mode 100644 apps/harta-reciclarii/domain-mapping.yaml delete mode 100644 apps/harta-reciclarii/service-nominatim.yaml delete mode 100644 apps/harta-reciclarii/service.yaml diff --git a/apps/argo-apps/harta-reciclarii.yaml b/apps/argo-apps/harta-reciclarii.yaml deleted file mode 100644 index 96f74c7..0000000 --- a/apps/argo-apps/harta-reciclarii.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: harta-reciclarii - namespace: argocd -spec: - project: default - source: - path: apps/harta-reciclarii - repoURL: https://github.com/code4romania/code4ro-k8s.git - targetRevision: HEAD - destination: - namespace: harta-reciclarii - server: https://kubernetes.default.svc - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true diff --git a/apps/harta-reciclarii/domain-mapping.yaml b/apps/harta-reciclarii/domain-mapping.yaml deleted file mode 100644 index 50c5db9..0000000 --- a/apps/harta-reciclarii/domain-mapping.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: serving.knative.dev/v1beta1 -kind: DomainMapping -metadata: - name: localizare.hartareciclarii.ro - namespace: harta-reciclarii -spec: - ref: - name: harta-reciclarii - kind: Service - apiVersion: serving.knative.dev/v1 diff --git a/apps/harta-reciclarii/service-nominatim.yaml b/apps/harta-reciclarii/service-nominatim.yaml deleted file mode 100644 index dc5e862..0000000 --- a/apps/harta-reciclarii/service-nominatim.yaml +++ /dev/null @@ -1,109 +0,0 @@ -apiVersion: serving.knative.dev/v1 -kind: Service -metadata: - name: harta-reciclarii - namespace: harta-reciclarii -spec: - template: - metadata: - annotations: - autoscaling.knative.dev/min-scale: "1" - autoscaling.knative.dev/max-scale: "1" - spec: - containers: - - image: code4romania/harta-reciclarii:1.0.0 - resources: - requests: - cpu: 10m - memory: 50M - limits: - cpu: 500m - memory: 256M - ports: - - containerPort: 80 - env: - - name: APP_NAME - value: "Harta Reciclării" - - name: APP_URL - value: "https://localizare.hartareciclarii.ro" - - name: APP_KEY - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: APP_KEY - - name: DB_HOST - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_HOST - - name: DB_DATABASE - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_DATABASE - - name: DB_USERNAME - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_USERNAME - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_PASSWORD - - - name: MAIL_MAILER - value: "smtp" - - name: MAIL_FROM_ADDRESS - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_FROM_ADDRESS - - name: MAIL_HOST - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_HOST - - name: MAIL_PORT - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_PORT - - name: MAIL_USERNAME - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_USERNAME - - name: MAIL_PASSWORD - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_PASSWORD - - - name: FILAMENT_FILESYSTEM_DISK - value: "s3" - - name: FILESYSTEM_DISK - value: "s3" - - name: MEDIA_DISK - value: "s3" - - - name: AWS_ACCESS_KEY_ID - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_ACCESS_KEY_ID - - name: AWS_SECRET_ACCESS_KEY - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_SECRET_ACCESS_KEY - - name: AWS_DEFAULT_REGION - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_DEFAULT_REGION - - name: AWS_BUCKET - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_BUCKET diff --git a/apps/harta-reciclarii/service.yaml b/apps/harta-reciclarii/service.yaml deleted file mode 100644 index dc5e862..0000000 --- a/apps/harta-reciclarii/service.yaml +++ /dev/null @@ -1,109 +0,0 @@ -apiVersion: serving.knative.dev/v1 -kind: Service -metadata: - name: harta-reciclarii - namespace: harta-reciclarii -spec: - template: - metadata: - annotations: - autoscaling.knative.dev/min-scale: "1" - autoscaling.knative.dev/max-scale: "1" - spec: - containers: - - image: code4romania/harta-reciclarii:1.0.0 - resources: - requests: - cpu: 10m - memory: 50M - limits: - cpu: 500m - memory: 256M - ports: - - containerPort: 80 - env: - - name: APP_NAME - value: "Harta Reciclării" - - name: APP_URL - value: "https://localizare.hartareciclarii.ro" - - name: APP_KEY - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: APP_KEY - - name: DB_HOST - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_HOST - - name: DB_DATABASE - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_DATABASE - - name: DB_USERNAME - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_USERNAME - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: DB_PASSWORD - - - name: MAIL_MAILER - value: "smtp" - - name: MAIL_FROM_ADDRESS - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_FROM_ADDRESS - - name: MAIL_HOST - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_HOST - - name: MAIL_PORT - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_PORT - - name: MAIL_USERNAME - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_USERNAME - - name: MAIL_PASSWORD - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: MAIL_PASSWORD - - - name: FILAMENT_FILESYSTEM_DISK - value: "s3" - - name: FILESYSTEM_DISK - value: "s3" - - name: MEDIA_DISK - value: "s3" - - - name: AWS_ACCESS_KEY_ID - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_ACCESS_KEY_ID - - name: AWS_SECRET_ACCESS_KEY - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_SECRET_ACCESS_KEY - - name: AWS_DEFAULT_REGION - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_DEFAULT_REGION - - name: AWS_BUCKET - valueFrom: - secretKeyRef: - name: harta-reciclarii-secret - key: AWS_BUCKET