diff --git a/apps/argo/config/user/helm-charts/recommend/templates/argo_fe_deploy.yaml b/apps/argo/config/user/helm-charts/recommend/templates/argo_fe_deploy.yaml index cd221fd5..14bad468 100644 --- a/apps/argo/config/user/helm-charts/recommend/templates/argo_fe_deploy.yaml +++ b/apps/argo/config/user/helm-charts/recommend/templates/argo_fe_deploy.yaml @@ -29,59 +29,6 @@ spec: app: recommend type: ClusterIP ---- -{{ if (eq .Values.debugVersion true) }} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: recommend - namespace: {{ .Release.Namespace }} - labels: - app: recommend - applications.app.bytetrade.io/author: bytetrade.io - - applications.app.bytetrade.io/name: recommend - applications.app.bytetrade.io/owner: '{{ .Values.bfl.username }}' - annotations: - applications.app.bytetrade.io/icon: https://file.bttcdn.com/appstore/recommend/icon.png - applications.app.bytetrade.io/title: recommend - applications.app.bytetrade.io/version: '0.0.1' - applications.app.bytetrade.io/entrances: '[{"name":"recommend", "host":"argoworkflows-ui", "port":80,"title":"recommend"}]' - -spec: - replicas: 1 - strategy: - type: Recreate - selector: - matchLabels: - app: recommend - template: - metadata: - labels: - app: recommend - io.bytetrade.app: "true" - spec: - containers: - - name: recommend-proxy - image: nginx:stable-alpine3.17-slim - imagePullPolicy: IfNotPresent - ports: - - name: proxy - containerPort: 8080 - volumeMounts: - - name: nginx-config - readOnly: true - mountPath: /etc/nginx/nginx.conf - subPath: nginx.conf - volumes: - - name: nginx-config - configMap: - name: recommend-nginx-configs - items: - - key: nginx.conf - path: nginx.conf -{{ end }} - --- diff --git a/apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml b/apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml index 4e47e0a2..e9350a16 100644 --- a/apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml +++ b/apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml @@ -38,173 +38,6 @@ spec: databases: - name: notifications -{{ if (eq .Values.debugVersion true) }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: notifications-deployment - namespace: {{ .Release.Namespace }} - labels: - app: notifications - applications.app.bytetrade.io/author: bytetrade.io - - applications.app.bytetrade.io/name: notifications - applications.app.bytetrade.io/owner: '{{ .Values.bfl.username }}' - annotations: - applications.app.bytetrade.io/icon: https://file.bttcdn.com/appstore/notifications/icon.png - applications.app.bytetrade.io/title: Notifications - applications.app.bytetrade.io/version: '0.0.1' - applications.app.bytetrade.io/entrances: '[{"name":"notifications", "host":"notifications-service", "port":80,"title":"Notifications"}]' -spec: - replicas: 1 - strategy: - type: Recreate - selector: - matchLabels: - app: notifications - template: - metadata: - labels: - app: notifications - io.bytetrade.app: "true" - spec: - initContainers: - - args: - - -it - - authelia-backend.os-system:9091 - image: owncloudci/wait-for:latest - imagePullPolicy: IfNotPresent - name: check-auth - - name: terminus-sidecar-init - image: openservicemesh/init:v1.2.3 - imagePullPolicy: IfNotPresent - securityContext: - privileged: true - capabilities: - add: - - NET_ADMIN - runAsNonRoot: false - runAsUser: 0 - command: - - /bin/sh - - -c - - | - iptables-restore --noflush <