@codefresh-io/kube-integration 1.24.3-api → 1.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.deploy/kube-integration/Chart.yaml +0 -0
- package/.deploy/kube-integration/README.md +0 -0
- package/.deploy/kube-integration/templates/_helpers.tpl +0 -0
- package/.deploy/kube-integration/templates/_kube-integration-deployment.tpl +0 -1
- package/.deploy/kube-integration/templates/deployment.yaml +0 -0
- package/.deploy/kube-integration/templates/hpa.yaml +7 -5
- package/.deploy/kube-integration/templates/kube-integration-istio-destinationrule.yaml +0 -0
- package/.deploy/kube-integration/templates/kube-integration-istio-local-virtuslservice.yaml +0 -0
- package/.deploy/kube-integration/templates/secrets.yaml +0 -0
- package/.deploy/kube-integration/templates/service.yaml +0 -0
- package/.deploy/kube-integration/values.yaml +0 -0
- package/.dockerignore +0 -0
- package/.eslintignore +0 -0
- package/.eslintrc.json +0 -0
- package/.nvmrc +1 -1
- package/CODEOWNERS +0 -0
- package/Dockerfile +9 -4
- package/README.md +0 -0
- package/_proto/hapi/chart/chart_pb.js +0 -0
- package/_proto/hapi/chart/config_pb.js +0 -0
- package/_proto/hapi/chart/metadata_pb.js +0 -0
- package/_proto/hapi/chart/template_pb.js +0 -0
- package/_proto/hapi/release/hook_pb.js +0 -0
- package/_proto/hapi/release/info_pb.js +0 -0
- package/_proto/hapi/release/release_pb.js +0 -0
- package/_proto/hapi/release/status_pb.js +0 -0
- package/_proto/hapi/release/test_run_pb.js +0 -0
- package/_proto/hapi/release/test_suite_pb.js +0 -0
- package/_proto/hapi/rudder/rudder_pb.js +0 -0
- package/_proto/hapi/services/tiller_pb.js +0 -0
- package/_proto/hapi/version/version_pb.js +0 -0
- package/config/environment/kubernetes.js +0 -0
- package/config/index.js +0 -0
- package/example.js +0 -0
- package/index.js +0 -0
- package/infra/eventbus.js +0 -0
- package/infra/express.js +0 -0
- package/infra/index.js +0 -0
- package/infra/kube.manager.event.handler.js +0 -0
- package/infra/logging.js +0 -0
- package/infra/middleware.js +0 -0
- package/infra/mongo.js +0 -0
- package/infra/process-events.js +0 -0
- package/lib/helm/release/base/pool.js +0 -0
- package/lib/helm/release/base/revision.js +0 -0
- package/lib/helm/release/helm2/pool.js +0 -0
- package/lib/helm/release/helm2/release.controller.js +0 -0
- package/lib/helm/release/helm2/release.js +0 -0
- package/lib/helm/release/helm2/revision.js +0 -0
- package/lib/helm/release/helm3/pool.js +0 -0
- package/lib/helm/release/helm3/release.controller.js +0 -0
- package/lib/helm/release/helm3/release.js +0 -0
- package/lib/helm/release/helm3/revision.js +0 -0
- package/lib/helm/release/helm3/tests/revision.unit.spec.js +0 -0
- package/lib/helm/release/tests/release.controller.unit.spec.js +0 -0
- package/lib/helm/release/tests/release.unit.spec.js +0 -0
- package/lib/helm/release/tests/revision.unit.spec.js +0 -0
- package/lib/index.js +0 -0
- package/lib/internal-components/SquashedPod/SquashedPod.js +0 -0
- package/lib/internal-components/SquashedPod/SquashedPodPool.js +0 -0
- package/lib/internal-components/SquashedPod/index.js +0 -0
- package/lib/internal-components/SquashedPod/tests/SquashedPod.unit.spec.js +0 -0
- package/lib/internal-components/SquashedPod/tests/SquashedPodPool.unit.spec.js +0 -0
- package/lib/internal-components/project/Project.js +0 -0
- package/lib/internal-components/project/controller.js +0 -0
- package/lib/internal-components/project/project.internal.evenets.js +0 -0
- package/lib/internal-components/project/project.labels.js +0 -0
- package/lib/kube-client-wrapper/KubeWrapper.js +0 -0
- package/lib/kube-client-wrapper/tests/KubeWrapper.unit.spec.js +0 -0
- package/lib/kube-endpoints/index.js +0 -0
- package/lib/kube-endpoints/v15.js +0 -0
- package/lib/kube-endpoints/v16.js +0 -0
- package/lib/kube-native/builder.base.js +0 -0
- package/lib/kube-native/configMap/configMap.builder.js +0 -0
- package/lib/kube-native/configMap/configMap.events.js +0 -0
- package/lib/kube-native/configMap/configMap.js +0 -0
- package/lib/kube-native/deployment/deploy.builder.js +0 -0
- package/lib/kube-native/deployment/deploy.controller.js +0 -0
- package/lib/kube-native/deployment/deploy.events.js +0 -0
- package/lib/kube-native/deployment/deploy.js +0 -0
- package/lib/kube-native/deployment/deploy.status.analyzer.js +0 -0
- package/lib/kube-native/deployment/tests/deploy.builder.unit.spec.js +0 -0
- package/lib/kube-native/deployment/tests/deploy.unit.spec.js +0 -0
- package/lib/kube-native/entity.base.js +0 -0
- package/lib/kube-native/namespace/namespace.builder.js +0 -0
- package/lib/kube-native/namespace/namespace.events.js +0 -0
- package/lib/kube-native/namespace/namespace.js +0 -0
- package/lib/kube-native/node/node.js +0 -0
- package/lib/kube-native/pod/pod.controller.js +0 -0
- package/lib/kube-native/pod/pod.js +0 -0
- package/lib/kube-native/pod/pod.status.analyzer.js +0 -0
- package/lib/kube-native/pod/tests/pod.unit.spec.js +0 -0
- package/lib/kube-native/replicaSet/rs.js +0 -0
- package/lib/kube-native/replicaSet/rs.status.analyzer.js +0 -0
- package/lib/kube-native/resource.base.controller.js +0 -0
- package/lib/kube-native/secret/image.pull.secret.builder.js +0 -0
- package/lib/kube-native/secret/secret.builder.js +0 -0
- package/lib/kube-native/secret/secret.controller.js +0 -0
- package/lib/kube-native/secret/secret.events.js +0 -0
- package/lib/kube-native/secret/secret.js +0 -0
- package/lib/kube-native/secret/secret.labels.js +0 -0
- package/lib/kube-native/service/svc.builder.js +0 -0
- package/lib/kube-native/service/svc.controller.js +0 -0
- package/lib/kube-native/service/svc.events.js +0 -0
- package/lib/kube-native/service/svc.js +0 -0
- package/lib/kube-native/service/svc.status.analyzer.js +0 -0
- package/lib/kube-native/service/tests/svc.builder.unit.spec.js +0 -0
- package/lib/kube-native/service/tests/svc.controller.unit.spec.js +0 -0
- package/lib/kube-native/supported.recourses.js +0 -0
- package/lib/kube-native/tests/base.entity.unit.spec.js +0 -0
- package/lib/kube.controllers.js +0 -0
- package/lib/kube.manager.js +0 -0
- package/lib/labels.js +0 -0
- package/lib/status.analyzer.base.js +0 -0
- package/newrelic.js +0 -0
- package/package.json +9 -5
- package/server/api/crud.base.controller.js +0 -0
- package/server/api/index.js +0 -0
- package/server/api/internal/projects/controller.js +0 -0
- package/server/api/internal/projects/index.js +0 -0
- package/server/api/internal/test/index.js +0 -0
- package/server/api/kube-native/releases/controller.js +0 -0
- package/server/api/kube-native/releases/index.js +0 -0
- package/server/api/kube-native/secrets/controller.js +0 -0
- package/server/api/kube-native/secrets/index.js +0 -0
- package/server/api/kube-native/services/controller.js +0 -0
- package/server/api/native.endpoints.js +0 -0
- package/server/helpers/ResponseHandler.js +0 -0
- package/server/helpers/filters/Match.js +0 -0
- package/server/helpers/filters/index.js +0 -0
- package/service.yaml +1 -1
- package/test.deploy.step.js +0 -0
- package/yarn-1.lock +2888 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -107,7 +107,6 @@ spec:
|
|
|
107
107
|
name: "{{ .Release.Name }}-{{ .Values.global.codefresh }}"
|
|
108
108
|
key: rabbitmq-username
|
|
109
109
|
- name: EVENTBUS_URI
|
|
110
|
-
#value: 'amqp://{{ .Values.global.rabbitmqUsername }}:{{ .Values.global.rabbitmqPassword }}@{{ default (printf "%s-%s" .Release.Name .Values.global.rabbitService) .Values.global.rabbitmqHostname }}'
|
|
111
110
|
value: amqp://$(RABBIT_USER):$(RABBIT_PASSWORD)@{{ default (printf "%s-%s" .Release.Name .Values.global.rabbitService) .Values.global.rabbitmqHostname }}
|
|
112
111
|
- name: POSTGRES_HOST
|
|
113
112
|
value: {{ default (printf "%s-%s" .Release.Name .Values.global.postgresService) .Values.global.postgresHostname | quote }}
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{- if .Values.HorizontalPodAutoscaler }}
|
|
2
|
-
apiVersion: autoscaling/
|
|
2
|
+
apiVersion: autoscaling/v2beta2
|
|
3
3
|
kind: HorizontalPodAutoscaler
|
|
4
4
|
metadata:
|
|
5
5
|
name: {{ template "kube-integration.fullname" . }}
|
|
@@ -14,9 +14,11 @@ spec:
|
|
|
14
14
|
{{- if .Values.HorizontalPodAutoscaler.metrics }}
|
|
15
15
|
{{ toYaml .Values.HorizontalPodAutoscaler.metrics | indent 4 }}
|
|
16
16
|
{{- else }}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
- type: Resource
|
|
18
|
+
resource:
|
|
19
|
+
name: cpu
|
|
20
|
+
target:
|
|
21
|
+
type: Utilization
|
|
22
|
+
averageUtilization: 70
|
|
21
23
|
{{- end }}
|
|
22
24
|
{{- end }}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/.dockerignore
CHANGED
|
File without changes
|
package/.eslintignore
CHANGED
|
File without changes
|
package/.eslintrc.json
CHANGED
|
File without changes
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v12.22.
|
|
1
|
+
v12.22.11
|
package/CODEOWNERS
CHANGED
|
File without changes
|
package/Dockerfile
CHANGED
|
@@ -2,12 +2,14 @@ FROM node:12.22-alpine3.15
|
|
|
2
2
|
|
|
3
3
|
WORKDIR /kube-integration
|
|
4
4
|
|
|
5
|
+
RUN apk --no-cache update && apk add --no-cache bash openssh-client curl
|
|
5
6
|
|
|
6
7
|
COPY package.json yarn.lock ./
|
|
7
8
|
|
|
8
9
|
# install required binaries
|
|
9
|
-
RUN apk
|
|
10
|
-
rm -rf node_modules &&
|
|
10
|
+
RUN apk add --no-cache --virtual deps make python3 g++ krb5-dev git && \
|
|
11
|
+
rm -rf node_modules && \
|
|
12
|
+
yarn install --production --frozen-lockfile && \
|
|
11
13
|
yarn cache clean && \
|
|
12
14
|
apk del deps && apk upgrade && \
|
|
13
15
|
rm -rf /tmp/*
|
|
@@ -15,9 +17,12 @@ RUN apk update && apk add --no-cache --virtual deps make g++ krb5-dev bash git o
|
|
|
15
17
|
# copy app files
|
|
16
18
|
COPY . .
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
#add codefresh user and change work directories permissions
|
|
21
|
+
RUN adduser -D -h /home/cfu -s /bin/bash cfu && \
|
|
22
|
+
mkdir /logs && \
|
|
23
|
+
chgrp -R $(id -g cfu) /kube-integration /logs && \
|
|
20
24
|
chmod -R g+rwX /kube-integration /logs
|
|
25
|
+
USER cfu
|
|
21
26
|
|
|
22
27
|
#application server
|
|
23
28
|
EXPOSE 9000
|
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/config/index.js
CHANGED
|
File without changes
|
package/example.js
CHANGED
|
File without changes
|
package/index.js
CHANGED
|
File without changes
|
package/infra/eventbus.js
CHANGED
|
File without changes
|
package/infra/express.js
CHANGED
|
File without changes
|
package/infra/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/infra/logging.js
CHANGED
|
File without changes
|
package/infra/middleware.js
CHANGED
|
File without changes
|
package/infra/mongo.js
CHANGED
|
File without changes
|
package/infra/process-events.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/kube.controllers.js
CHANGED
|
File without changes
|
package/lib/kube.manager.js
CHANGED
|
File without changes
|
package/lib/labels.js
CHANGED
|
File without changes
|
|
File without changes
|
package/newrelic.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.24.
|
|
2
|
+
"version": "1.24.5",
|
|
3
3
|
"name": "@codefresh-io/kube-integration",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "git+https://github.com/codefresh-io/kube-integration.git"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": "12.22.
|
|
22
|
+
"node": "12.22.12"
|
|
23
23
|
},
|
|
24
24
|
"author": "Oleg Sucharevich <olegs@codefresh.io>",
|
|
25
25
|
"license": "ISC",
|
|
@@ -33,11 +33,12 @@
|
|
|
33
33
|
"lodash": "~4.17.21",
|
|
34
34
|
"normalize-url": "4.5.1",
|
|
35
35
|
"shelljs": "0.8.5",
|
|
36
|
-
"node-forge": "1.3.0"
|
|
36
|
+
"node-forge": "1.3.0",
|
|
37
|
+
"openid-client": "^4.9.0"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
40
|
"@codefresh-io/docker-reference": "^0.0.5",
|
|
40
|
-
"@codefresh-io/eventbus": "1.4.
|
|
41
|
+
"@codefresh-io/eventbus": "1.4.2",
|
|
41
42
|
"@codefresh-io/http-infra": "^1.8.11",
|
|
42
43
|
"bluebird": "^3.5.0",
|
|
43
44
|
"body-parser": "^1.17.2",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"cookie-parser": "^1.4.3",
|
|
49
50
|
"eventemitter2": "^4.1.2",
|
|
50
51
|
"express": "^4.15.3",
|
|
51
|
-
"express-validator": "^
|
|
52
|
+
"express-validator": "^6.14.2",
|
|
52
53
|
"google-protobuf": "^3.5.0",
|
|
53
54
|
"js-yaml": "^3.13.1",
|
|
54
55
|
"kube-config-builder": "^1.1.3",
|
|
@@ -72,3 +73,6 @@
|
|
|
72
73
|
"sinon-chai": "^2.10.0"
|
|
73
74
|
}
|
|
74
75
|
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
File without changes
|
package/server/api/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/service.yaml
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version: 1.25.
|
|
1
|
+
version: 1.25.16
|
package/test.deploy.step.js
CHANGED
|
File without changes
|