Skip to content

Commit 0b3643c

Browse files
committed
chore: update snapshots
1 parent 3c92261 commit 0b3643c

11 files changed

Lines changed: 541 additions & 1 deletion

packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`test build manifests with snapshots app-simple.dev 1`] = `
3+
exports[`test build manifests with snapshots app-sidecar.dev 1`] = `
44
"apiVersion: v1
55
kind: Namespace
66
metadata:

packages/kontinuous/tests/__snapshots__/app-simple-options.prod.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,33 @@ spec:
5858
policyTypes:
5959
- Ingress
6060
---
61+
apiVersion: policy/v1
62+
kind: PodDisruptionBudget
63+
metadata:
64+
name: app
65+
namespace: test-app-simple-options
66+
labels:
67+
component: app
68+
application: test-app-simple-options
69+
kontinuous/deployment: test-app-simple-options-feature-branch-1-ffac537e6cbb-ze31pkw6
70+
kontinuous/deployment.env: test-app-simple-options-prod
71+
kontinuous/ref: feature-branch-1
72+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
73+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
74+
kontinuous/resourceName: poddisruptionbudget-app-3xvavgum
75+
app.kubernetes.io/manifest-managed-by: kontinuous
76+
app.kubernetes.io/manifest-created-by: kontinuous
77+
annotations:
78+
kontinuous/chartPath: project.fabrique.contrib.app
79+
kontinuous/source: project/charts/fabrique/charts/contrib/charts/app/templates/pdb.yaml
80+
kontinuous/deployment: test-app-simple-options-feature-branch-1-ffac537e6cbb-ze31pkw6
81+
spec:
82+
minAvailable: 1
83+
selector:
84+
matchLabels:
85+
component: app
86+
application: test-app-simple-options
87+
---
6188
apiVersion: v1
6289
kind: ServiceAccount
6390
metadata:

packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,33 @@ spec:
5858
policyTypes:
5959
- Ingress
6060
---
61+
apiVersion: policy/v1
62+
kind: PodDisruptionBudget
63+
metadata:
64+
name: app
65+
namespace: test-app-simple
66+
labels:
67+
component: app
68+
application: test-app-simple
69+
kontinuous/deployment: test-app-simple-feature-branch-1-ffac537e6cbbf934b087-4w1j23zk
70+
kontinuous/deployment.env: test-app-simple-prod
71+
kontinuous/ref: feature-branch-1
72+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
73+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
74+
kontinuous/resourceName: poddisruptionbudget-app-3xvavgum
75+
app.kubernetes.io/manifest-managed-by: kontinuous
76+
app.kubernetes.io/manifest-created-by: kontinuous
77+
annotations:
78+
kontinuous/chartPath: project.fabrique.contrib.app
79+
kontinuous/source: project/charts/fabrique/charts/contrib/charts/app/templates/pdb.yaml
80+
kontinuous/deployment: test-app-simple-feature-branch-1-ffac537e6cbbf934b087-4w1j23zk
81+
spec:
82+
minAvailable: 1
83+
selector:
84+
matchLabels:
85+
component: app
86+
application: test-app-simple
87+
---
6188
apiVersion: v1
6289
kind: ServiceAccount
6390
metadata:

packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,74 @@ spec:
5959
policyTypes:
6060
- Ingress
6161
---
62+
apiVersion: networking.k8s.io/v1
63+
kind: NetworkPolicy
64+
metadata:
65+
name: pg-hasura-allow-operator
66+
annotations:
67+
kontinuous/chartPath: project.fabrique.pg-hasura
68+
kontinuous/source: project/charts/fabrique/charts/pg-hasura/templates/allow-operator.netpol.yaml
69+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
70+
labels:
71+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
72+
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
73+
kontinuous/ref: feature-branch-1
74+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
75+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
76+
kontinuous/resourceName: networkpolicy-pg-hasura-allow-operator-4k7vw9oq
77+
app.kubernetes.io/manifest-managed-by: kontinuous
78+
app.kubernetes.io/manifest-created-by: kontinuous
79+
namespace: test-extends-ovh-feature-branch-1
80+
spec:
81+
podSelector:
82+
matchLabels:
83+
cnpg.io/cluster: pg-hasura
84+
ingress:
85+
- from:
86+
- namespaceSelector:
87+
matchLabels:
88+
kubernetes.io/metadata.name: cnpg-system
89+
podSelector:
90+
matchLabels:
91+
app.kubernetes.io/name: cloudnative-pg
92+
ports:
93+
- port: 8000
94+
- port: 5432
95+
---
96+
apiVersion: networking.k8s.io/v1
97+
kind: NetworkPolicy
98+
metadata:
99+
name: pg-keycloak-allow-operator
100+
annotations:
101+
kontinuous/chartPath: project.fabrique.pg-keycloak
102+
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/templates/allow-operator.netpol.yaml
103+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
104+
labels:
105+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
106+
kontinuous/deployment.env: test-extends-ovh-feature-branch-1
107+
kontinuous/ref: feature-branch-1
108+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
109+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
110+
kontinuous/resourceName: networkpolicy-pg-keycloak-allow-operator-117b7m1h
111+
app.kubernetes.io/manifest-managed-by: kontinuous
112+
app.kubernetes.io/manifest-created-by: kontinuous
113+
namespace: test-extends-ovh-feature-branch-1
114+
spec:
115+
podSelector:
116+
matchLabels:
117+
cnpg.io/cluster: pg-keycloak
118+
ingress:
119+
- from:
120+
- namespaceSelector:
121+
matchLabels:
122+
kubernetes.io/metadata.name: cnpg-system
123+
podSelector:
124+
matchLabels:
125+
app.kubernetes.io/name: cloudnative-pg
126+
ports:
127+
- port: 8000
128+
- port: 5432
129+
---
62130
apiVersion: v1
63131
kind: ServiceAccount
64132
metadata:

packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,101 @@ spec:
5858
policyTypes:
5959
- Ingress
6060
---
61+
apiVersion: networking.k8s.io/v1
62+
kind: NetworkPolicy
63+
metadata:
64+
name: pg-hasura-allow-operator
65+
annotations:
66+
kontinuous/chartPath: project.fabrique.pg-hasura
67+
kontinuous/source: project/charts/fabrique/charts/pg-hasura/templates/allow-operator.netpol.yaml
68+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
69+
labels:
70+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
71+
kontinuous/deployment.env: test-extends-ovh-prod
72+
kontinuous/ref: feature-branch-1
73+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
74+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
75+
kontinuous/resourceName: networkpolicy-pg-hasura-allow-operator-4k7vw9oq
76+
app.kubernetes.io/manifest-managed-by: kontinuous
77+
app.kubernetes.io/manifest-created-by: kontinuous
78+
namespace: test-extends-ovh
79+
spec:
80+
podSelector:
81+
matchLabels:
82+
cnpg.io/cluster: pg-hasura
83+
ingress:
84+
- from:
85+
- namespaceSelector:
86+
matchLabels:
87+
kubernetes.io/metadata.name: cnpg-system
88+
podSelector:
89+
matchLabels:
90+
app.kubernetes.io/name: cloudnative-pg
91+
ports:
92+
- port: 8000
93+
- port: 5432
94+
---
95+
apiVersion: networking.k8s.io/v1
96+
kind: NetworkPolicy
97+
metadata:
98+
name: pg-keycloak-allow-operator
99+
annotations:
100+
kontinuous/chartPath: project.fabrique.pg-keycloak
101+
kontinuous/source: project/charts/fabrique/charts/pg-keycloak/templates/allow-operator.netpol.yaml
102+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
103+
labels:
104+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
105+
kontinuous/deployment.env: test-extends-ovh-prod
106+
kontinuous/ref: feature-branch-1
107+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
108+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
109+
kontinuous/resourceName: networkpolicy-pg-keycloak-allow-operator-117b7m1h
110+
app.kubernetes.io/manifest-managed-by: kontinuous
111+
app.kubernetes.io/manifest-created-by: kontinuous
112+
namespace: test-extends-ovh
113+
spec:
114+
podSelector:
115+
matchLabels:
116+
cnpg.io/cluster: pg-keycloak
117+
ingress:
118+
- from:
119+
- namespaceSelector:
120+
matchLabels:
121+
kubernetes.io/metadata.name: cnpg-system
122+
podSelector:
123+
matchLabels:
124+
app.kubernetes.io/name: cloudnative-pg
125+
ports:
126+
- port: 8000
127+
- port: 5432
128+
---
129+
apiVersion: policy/v1
130+
kind: PodDisruptionBudget
131+
metadata:
132+
name: app
133+
namespace: test-extends-ovh
134+
labels:
135+
component: app
136+
application: test-extends-ovh
137+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
138+
kontinuous/deployment.env: test-extends-ovh-prod
139+
kontinuous/ref: feature-branch-1
140+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
141+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
142+
kontinuous/resourceName: poddisruptionbudget-app-3xvavgum
143+
app.kubernetes.io/manifest-managed-by: kontinuous
144+
app.kubernetes.io/manifest-created-by: kontinuous
145+
annotations:
146+
kontinuous/chartPath: project.fabrique.contrib.app
147+
kontinuous/source: project/charts/fabrique/charts/contrib/charts/app/templates/pdb.yaml
148+
kontinuous/deployment: test-extends-ovh-feature-branch-1-ffac537e6cbbf934b08-5oa7s3iv
149+
spec:
150+
minAvailable: 1
151+
selector:
152+
matchLabels:
153+
component: app
154+
application: test-extends-ovh
155+
---
61156
apiVersion: v1
62157
kind: ServiceAccount
63158
metadata:

packages/kontinuous/tests/__snapshots__/ingress-external-domain.prod.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,33 @@ spec:
5858
policyTypes:
5959
- Ingress
6060
---
61+
apiVersion: policy/v1
62+
kind: PodDisruptionBudget
63+
metadata:
64+
name: app
65+
namespace: test-ingress-external-domain
66+
labels:
67+
component: app
68+
application: test-ingress-external-domain
69+
kontinuous/deployment: test-ingress-external-domain-feature-branch-1-ffac537-4dx6300n
70+
kontinuous/deployment.env: test-ingress-external-domain-prod
71+
kontinuous/ref: feature-branch-1
72+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
73+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
74+
kontinuous/resourceName: poddisruptionbudget-app-3xvavgum
75+
app.kubernetes.io/manifest-managed-by: kontinuous
76+
app.kubernetes.io/manifest-created-by: kontinuous
77+
annotations:
78+
kontinuous/chartPath: project.fabrique.contrib.app
79+
kontinuous/source: project/charts/fabrique/charts/contrib/charts/app/templates/pdb.yaml
80+
kontinuous/deployment: test-ingress-external-domain-feature-branch-1-ffac537-4dx6300n
81+
spec:
82+
minAvailable: 1
83+
selector:
84+
matchLabels:
85+
component: app
86+
application: test-ingress-external-domain
87+
---
6188
apiVersion: v1
6289
kind: ServiceAccount
6390
metadata:

packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,40 @@ spec:
5858
policyTypes:
5959
- Ingress
6060
---
61+
apiVersion: networking.k8s.io/v1
62+
kind: NetworkPolicy
63+
metadata:
64+
name: pg-allow-operator
65+
annotations:
66+
kontinuous/chartPath: project.fabrique.pg
67+
kontinuous/source: project/charts/fabrique/charts/pg/templates/allow-operator.netpol.yaml
68+
kontinuous/deployment: test-override-env-default-feature-branch-1-ffac537e6c-tw0tuagy
69+
labels:
70+
kontinuous/deployment: test-override-env-default-feature-branch-1-ffac537e6c-tw0tuagy
71+
kontinuous/deployment.env: test-override-env-default-feature-branch-1
72+
kontinuous/ref: feature-branch-1
73+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
74+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
75+
kontinuous/resourceName: networkpolicy-pg-allow-operator-x7lnmczd
76+
app.kubernetes.io/manifest-managed-by: kontinuous
77+
app.kubernetes.io/manifest-created-by: kontinuous
78+
namespace: test-override-env-default-feature-branch-1
79+
spec:
80+
podSelector:
81+
matchLabels:
82+
cnpg.io/cluster: pg
83+
ingress:
84+
- from:
85+
- namespaceSelector:
86+
matchLabels:
87+
kubernetes.io/metadata.name: cnpg-system
88+
podSelector:
89+
matchLabels:
90+
app.kubernetes.io/name: cloudnative-pg
91+
ports:
92+
- port: 8000
93+
- port: 5432
94+
---
6195
apiVersion: v1
6296
kind: ServiceAccount
6397
metadata:

packages/kontinuous/tests/__snapshots__/pg.preprod.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,40 @@ metadata:
2727
---
2828
apiVersion: networking.k8s.io/v1
2929
kind: NetworkPolicy
30+
metadata:
31+
name: cnpg-allow-operator
32+
annotations:
33+
kontinuous/chartPath: project.fabrique.cnpg
34+
kontinuous/source: project/charts/fabrique/charts/cnpg/templates/allow-operator.netpol.yaml
35+
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
36+
labels:
37+
kontinuous/deployment: test-pg-feature-branch-1-ffac537e6cbbf934b08745a37893-4f12g0z3
38+
kontinuous/deployment.env: test-pg-preprod
39+
kontinuous/ref: feature-branch-1
40+
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
41+
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
42+
kontinuous/resourceName: networkpolicy-cnpg-allow-operator-mmab8p6h
43+
app.kubernetes.io/manifest-managed-by: kontinuous
44+
app.kubernetes.io/manifest-created-by: kontinuous
45+
namespace: test-pg-preprod
46+
spec:
47+
podSelector:
48+
matchLabels:
49+
cnpg.io/cluster: cnpg
50+
ingress:
51+
- from:
52+
- namespaceSelector:
53+
matchLabels:
54+
kubernetes.io/metadata.name: cnpg-system
55+
podSelector:
56+
matchLabels:
57+
app.kubernetes.io/name: cloudnative-pg
58+
ports:
59+
- port: 8000
60+
- port: 5432
61+
---
62+
apiVersion: networking.k8s.io/v1
63+
kind: NetworkPolicy
3064
metadata:
3165
name: netpol-ingress
3266
namespace: test-pg-preprod

0 commit comments

Comments
 (0)