From c7ff23a39be689ee7d9a1ff0422633fcd621b689 Mon Sep 17 00:00:00 2001 From: devthejo Date: Tue, 29 Aug 2023 11:06:23 +0200 Subject: [PATCH] fix: snapshots --- .../tests/__snapshots__/static-app.dev.yaml | 179 ------------------ 1 file changed, 179 deletions(-) diff --git a/packages/kontinuous/tests/__snapshots__/static-app.dev.yaml b/packages/kontinuous/tests/__snapshots__/static-app.dev.yaml index 7ae461af0a..d3ae5f9bec 100644 --- a/packages/kontinuous/tests/__snapshots__/static-app.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/static-app.dev.yaml @@ -192,118 +192,6 @@ spec: cpu: 41m memory: 121Mi --- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - component: static-app - application: test-static-app - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - kontinuous/deployment.env: test-static-app-feature-branch-1 - kontinuous/ref: feature-branch-1 - kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/resourceName: deployment-static-app-1dyc8ubf - app.kubernetes.io/manifest-managed-by: kontinuous - app.kubernetes.io/manifest-created-by: kontinuous - name: static-app - namespace: test-static-app-feature-branch-1 - annotations: - kontinuous/chartPath: project.fabrique.contrib.static-app - kontinuous/source: project/charts/fabrique/charts/contrib/charts/static-app/templates/deployment.yaml - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - kontinuous/depname.full: project.fabrique.contrib.static-app.deployment.static-app - kontinuous/depname.chartResource: static-app.deployment.static-app - kontinuous/depname.chartName: static-app - kontinuous/depname.chartPath: project.fabrique.contrib.static-app - kontinuous/depname.resourcePath: deployment.static-app - kontinuous/depname.resourceName: static-app - kontinuous/depname.chartNameTopFull: static-app - kontinuous/depname.chartNameTop: static-app - kontinuous/plugin.log: \\"false\\" - reloader.stakater.com/auto: \\"true\\" -spec: - replicas: 1 - selector: - matchLabels: - component: static-app - strategy: - type: RollingUpdate - template: - metadata: - labels: - component: static-app - application: test-static-app - namespace: test-static-app-feature-branch-1 - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - kontinuous/deployment.env: test-static-app-feature-branch-1 - kontinuous/ref: feature-branch-1 - kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/resourceName: deployment-static-app-1dyc8ubf - app.kubernetes.io/manifest-managed-by: kontinuous - app.kubernetes.io/manifest-created-by: kontinuous - annotations: - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - spec: - affinity: - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 1 - podAffinityTerm: - labelSelector: - matchExpressions: - - key: namespace - operator: In - values: - - test-static-app-feature-branch-1 - - key: component - operator: In - values: - - static-app - topologyKey: kubernetes.io/hostname - containers: - - image: harbor.fabrique.social.gouv.fr/test-static-app/app:sha-ffac537e6cbbf934b08745a378932722df287a53 - name: app - ports: - - containerPort: 8080 - name: http - livenessProbe: - failureThreshold: 15 - httpGet: - path: /live - port: 8080 - initialDelaySeconds: 30 - periodSeconds: 5 - timeoutSeconds: 5 - readinessProbe: - failureThreshold: 15 - httpGet: - path: /ready - port: 8080 - initialDelaySeconds: 1 - periodSeconds: 5 - successThreshold: 1 - timeoutSeconds: 1 - startupProbe: - failureThreshold: 12 - httpGet: - path: /live - port: 8080 - periodSeconds: 5 - lifecycle: - preStop: - exec: - command: - - /pre-stop.sh - resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 41m - memory: 121Mi ---- apiVersion: v1 kind: Service metadata: @@ -333,35 +221,6 @@ spec: component: site type: ClusterIP --- -apiVersion: v1 -kind: Service -metadata: - labels: - component: static-app - application: test-static-app - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - kontinuous/deployment.env: test-static-app-feature-branch-1 - kontinuous/ref: feature-branch-1 - kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/resourceName: service-static-app-54t7mvr8 - app.kubernetes.io/manifest-managed-by: kontinuous - app.kubernetes.io/manifest-created-by: kontinuous - name: static-app - namespace: test-static-app-feature-branch-1 - annotations: - kontinuous/chartPath: project.fabrique.contrib.static-app - kontinuous/source: project/charts/fabrique/charts/contrib/charts/static-app/templates/service.yaml - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 -spec: - ports: - - name: http - port: 80 - targetPort: 8080 - selector: - component: static-app - type: ClusterIP ---- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -399,43 +258,5 @@ spec: - hosts: - site-test-static-app-feature-branch-1.dev.fabrique.social.gouv.fr secretName: wildcard-crt ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - annotations: - kubernetes.io/ingress.class: nginx - kontinuous/chartPath: project.fabrique.contrib.static-app - kontinuous/source: project/charts/fabrique/charts/contrib/charts/static-app/templates/ingress.yaml - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - labels: - component: static-app - application: test-static-app - kontinuous/deployment: test-static-app-feature-branch-1-ffac537e6cbbf934b087-27at1928 - kontinuous/deployment.env: test-static-app-feature-branch-1 - kontinuous/ref: feature-branch-1 - kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53 - kontinuous/resourceName: ingress-static-app-4wuyb69i - app.kubernetes.io/manifest-managed-by: kontinuous - app.kubernetes.io/manifest-created-by: kontinuous - name: static-app - namespace: test-static-app-feature-branch-1 -spec: - rules: - - host: static-app-test-static-app-feature-branch-1.dev.fabrique.social.gouv.fr - http: - paths: - - backend: - service: - name: static-app - port: - name: http - path: / - pathType: Prefix - tls: - - hosts: - - static-app-test-static-app-feature-branch-1.dev.fabrique.social.gouv.fr - secretName: wildcard-crt " `;