Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Update .k8s tests snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Jan 20, 2021
1 parent 0fa76cf commit cbefac0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
16 changes: 8 additions & 8 deletions .k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

exports[`kosko generate --dev 1`] = `
"---
apiVersion: v1
kind: Namespace
metadata:
annotations:
field.cattle.io/creatorId: gitlab
Expand All @@ -19,9 +21,9 @@ metadata:
team: archifiltre-site
cert: wildcard
name: archifiltre-site-85-master-dev2
apiVersion: v1
kind: Namespace
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.gitlab.com/app: socialgouv-archifiltre-site
Expand Down Expand Up @@ -92,9 +94,9 @@ spec:
path: /index.html
port: http
periodSeconds: 5
apiVersion: apps/v1
kind: Deployment
---
apiVersion: v1
kind: Service
metadata:
labels:
app: app
Expand All @@ -116,9 +118,9 @@ spec:
selector:
app: app
type: ClusterIP
apiVersion: v1
kind: Service
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
Expand Down Expand Up @@ -146,7 +148,5 @@ spec:
- hosts:
- master-dev2-archifiltre-site.dev2.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

exports[`kosko generate --preprod 1`] = `
"---
apiVersion: v1
kind: Namespace
metadata:
annotations:
field.cattle.io/creatorId: gitlab
Expand All @@ -19,9 +21,9 @@ metadata:
team: archifiltre-site
cert: wildcard
name: archifiltre-site-85-preprod-dev2
apiVersion: v1
kind: Namespace
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.gitlab.com/app: socialgouv-archifiltre-site
Expand Down Expand Up @@ -92,9 +94,9 @@ spec:
path: /index.html
port: http
periodSeconds: 5
apiVersion: apps/v1
kind: Deployment
---
apiVersion: v1
kind: Service
metadata:
labels:
app: app
Expand All @@ -116,9 +118,9 @@ spec:
selector:
app: app
type: ClusterIP
apiVersion: v1
kind: Service
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
Expand Down Expand Up @@ -146,7 +148,5 @@ spec:
- hosts:
- preprod-archifiltre-site.dev2.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
"
`;
12 changes: 6 additions & 6 deletions .k8s/__tests__/__snapshots__/kosko generate --env prod.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

exports[`kosko generate --prod 1`] = `
"---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.gitlab.com/app: socialgouv-archifiltre-site
Expand Down Expand Up @@ -70,9 +72,9 @@ spec:
path: /index.html
port: http
periodSeconds: 5
apiVersion: apps/v1
kind: Deployment
---
apiVersion: v1
kind: Service
metadata:
labels:
app: app
Expand All @@ -93,9 +95,9 @@ spec:
selector:
app: app
type: ClusterIP
apiVersion: v1
kind: Service
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
Expand Down Expand Up @@ -124,7 +126,5 @@ spec:
- hosts:
- archifiltre.fabrique.social.gouv.fr
secretName: app-crt
apiVersion: extensions/v1beta1
kind: Ingress
"
`;

0 comments on commit cbefac0

Please sign in to comment.