From f4d4409a96a0fd93868cccc701a8db81c77aec02 Mon Sep 17 00:00:00 2001 From: Ilya Egorov Date: Fri, 25 Oct 2024 10:25:27 +0300 Subject: [PATCH] remove service limits --- .github/workflows/deploy.yml | 4 ---- .idea/inspectionProfiles/Project_Default.xml | 6 ++++++ helm/app/templates/ns-resource-quota.yaml | 1 - helm/app/templates/tls-cert.yaml | 15 --------------- helm/app/values.yaml | 5 ----- 5 files changed, 6 insertions(+), 25 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 helm/app/templates/tls-cert.yaml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bf68d00..e7ff6e0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -92,10 +92,6 @@ jobs: run: | kubectl -n ${{ vars.APP_NAME }}-${{ env.APP_ENV }} rollout status deployment/${{ vars.APP_NAME }}-${{ env.APP_ENV }} - - name: Verify TLS Certificate - run: | - kubectl describe certificate ${{ env.APP_DOMAIN }} -n ${{ vars.APP_NAME }}-${{ env.APP_ENV }} - - name: Telegram Notify uses: appleboy/telegram-action@v1.0.0 if: success() && contains('${{ vars.ENABLE_DEPLOY_BOT }}', 1) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/helm/app/templates/ns-resource-quota.yaml b/helm/app/templates/ns-resource-quota.yaml index 631e73d..ad5bee5 100644 --- a/helm/app/templates/ns-resource-quota.yaml +++ b/helm/app/templates/ns-resource-quota.yaml @@ -7,7 +7,6 @@ spec: hard: {{- if eq .Values.deployEnv "staging" }} pods: "2" - services: "1" requests.memory: "256Mi" limits.cpu: "1" limits.memory: "16Gi" diff --git a/helm/app/templates/tls-cert.yaml b/helm/app/templates/tls-cert.yaml deleted file mode 100644 index b0aff17..0000000 --- a/helm/app/templates/tls-cert.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: {{ .Values.appName }}-{{ .Values.deployEnv}} - namespace: {{ .Release.Namespace }} -spec: - secretName: {{ .Values.host }} - issuerRef: - kind: ClusterIssuer - name: {{ .Values.tlsIssuer }} - commonName: {{ .Values.host }} - duration: 2160h - renewBefore: 360h - dnsNames: - - {{ .Values.host }} diff --git a/helm/app/values.yaml b/helm/app/values.yaml index 32d6ae5..a2082db 100644 --- a/helm/app/values.yaml +++ b/helm/app/values.yaml @@ -25,11 +25,6 @@ ghcrSecret: "" tlsCert: "" tlsKey: "" - -# do not change -tlsIssuer: "letsencrypt" -certIssuingMode: false - # http publicService: true sslRedirect: false