Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 28, 2023
1 parent 5a9aed8 commit 992c8dd
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 282 deletions.
169 changes: 169 additions & 0 deletions packages/kontinuous/tests/__snapshots__/pgweb.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,174 @@ metadata:
app.kubernetes.io/manifest-created-by: kontinuous
namespace: test-pgweb-feature-branch-1
automountServiceAccountToken: false
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: release-name-pgweb
labels:
helm.sh/chart: pgweb-1.8.4
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/deployment.env: test-pgweb-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: serviceaccount-release-name-pgweb-5yb2rcul
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pgweb.pgweb
kontinuous/source: project/charts/fabrique/charts/pgweb/charts/pgweb/templates/serviceaccount.yaml
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
namespace: test-pgweb-feature-branch-1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-pgweb
labels:
helm.sh/chart: pgweb-1.8.4
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/deployment.env: test-pgweb-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: deployment-release-name-pgweb-1ukht9xf
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pgweb.pgweb
kontinuous/source: project/charts/fabrique/charts/pgweb/charts/pgweb/templates/deployment.yaml
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/depname.full: project.fabrique.pgweb.pgweb.deployment.release-name-pgweb
kontinuous/depname.chartResource: pgweb.deployment.release-name-pgweb
kontinuous/depname.chartName: pgweb
kontinuous/depname.chartPath: project.fabrique.pgweb.pgweb
kontinuous/depname.resourcePath: deployment.release-name-pgweb
kontinuous/depname.resourceName: release-name-pgweb
kontinuous/depname.chartNameTopFull: pgweb.pgweb
kontinuous/depname.chartNameTop: pgweb
kontinuous/plugin.log: \\"false\\"
reloader.stakater.com/auto: \\"true\\"
namespace: test-pgweb-feature-branch-1
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
template:
metadata:
labels:
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/deployment.env: test-pgweb-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: deployment-release-name-pgweb-1ukht9xf
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
spec:
serviceAccountName: release-name-pgweb
securityContext: {}
containers:
- name: pgweb
securityContext: {}
image: \\"sosedoff/pgweb:\\"
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8081
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
requests:
cpu: 41m
memory: 121Mi
---
apiVersion: v1
kind: Service
metadata:
name: release-name-pgweb
labels:
helm.sh/chart: pgweb-1.8.4
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/deployment.env: test-pgweb-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: service-release-name-pgweb-uu5hs55j
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pgweb.pgweb
kontinuous/source: project/charts/fabrique/charts/pgweb/charts/pgweb/templates/service.yaml
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
namespace: test-pgweb-feature-branch-1
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: release-name-pgweb
labels:
helm.sh/chart: pgweb-1.8.4
app.kubernetes.io/name: pgweb
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
kontinuous/deployment.env: test-pgweb-feature-branch-1
kontinuous/ref: feature-branch-1
kontinuous/gitSha: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/appVersion: ffac537e6cbbf934b08745a378932722df287a53
kontinuous/resourceName: ingress-release-name-pgweb-35bk0bml
app.kubernetes.io/manifest-managed-by: kontinuous
app.kubernetes.io/manifest-created-by: kontinuous
annotations:
kontinuous/chartPath: project.fabrique.pgweb.pgweb
kontinuous/source: project/charts/fabrique/charts/pgweb/charts/pgweb/templates/ingress.yaml
kontinuous/deployment: test-pgweb-feature-branch-1-ffac537e6cbbf934b08745a37-51uoqv4n
namespace: test-pgweb-feature-branch-1
spec:
rules:
- host: chart-example.local
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: release-name-pgweb
port:
number: 80
"
`;
Loading

0 comments on commit 992c8dd

Please sign in to comment.