@codefresh-io/kube-integration 1.24.4 → 1.24.7

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.
Files changed (132) hide show
  1. package/.deploy/kube-integration/Chart.yaml +0 -0
  2. package/.deploy/kube-integration/README.md +0 -0
  3. package/.deploy/kube-integration/templates/_helpers.tpl +0 -0
  4. package/.deploy/kube-integration/templates/_kube-integration-deployment.tpl +0 -1
  5. package/.deploy/kube-integration/templates/deployment.yaml +0 -0
  6. package/.deploy/kube-integration/templates/hpa.yaml +0 -0
  7. package/.deploy/kube-integration/templates/kube-integration-istio-destinationrule.yaml +0 -0
  8. package/.deploy/kube-integration/templates/kube-integration-istio-local-virtuslservice.yaml +0 -0
  9. package/.deploy/kube-integration/templates/secrets.yaml +0 -0
  10. package/.deploy/kube-integration/templates/service.yaml +0 -0
  11. package/.deploy/kube-integration/values.yaml +0 -0
  12. package/.dockerignore +0 -0
  13. package/.eslintignore +0 -0
  14. package/.eslintrc.json +0 -0
  15. package/.nvmrc +0 -0
  16. package/CODEOWNERS +0 -0
  17. package/Dockerfile +10 -5
  18. package/README.md +0 -0
  19. package/_proto/hapi/chart/chart_pb.js +0 -0
  20. package/_proto/hapi/chart/config_pb.js +0 -0
  21. package/_proto/hapi/chart/metadata_pb.js +0 -0
  22. package/_proto/hapi/chart/template_pb.js +0 -0
  23. package/_proto/hapi/release/hook_pb.js +0 -0
  24. package/_proto/hapi/release/info_pb.js +0 -0
  25. package/_proto/hapi/release/release_pb.js +0 -0
  26. package/_proto/hapi/release/status_pb.js +0 -0
  27. package/_proto/hapi/release/test_run_pb.js +0 -0
  28. package/_proto/hapi/release/test_suite_pb.js +0 -0
  29. package/_proto/hapi/rudder/rudder_pb.js +0 -0
  30. package/_proto/hapi/services/tiller_pb.js +0 -0
  31. package/_proto/hapi/version/version_pb.js +0 -0
  32. package/config/environment/kubernetes.js +0 -0
  33. package/config/index.js +0 -0
  34. package/example.js +0 -0
  35. package/index.js +0 -0
  36. package/infra/eventbus.js +0 -0
  37. package/infra/express.js +0 -2
  38. package/infra/index.js +0 -0
  39. package/infra/kube.manager.event.handler.js +0 -0
  40. package/infra/logging.js +0 -0
  41. package/infra/middleware.js +0 -0
  42. package/infra/mongo.js +0 -0
  43. package/infra/process-events.js +0 -0
  44. package/lib/helm/release/base/pool.js +0 -0
  45. package/lib/helm/release/base/revision.js +0 -0
  46. package/lib/helm/release/helm2/pool.js +0 -0
  47. package/lib/helm/release/helm2/release.controller.js +0 -0
  48. package/lib/helm/release/helm2/release.js +0 -0
  49. package/lib/helm/release/helm2/revision.js +0 -0
  50. package/lib/helm/release/helm3/pool.js +0 -0
  51. package/lib/helm/release/helm3/release.controller.js +0 -0
  52. package/lib/helm/release/helm3/release.js +0 -0
  53. package/lib/helm/release/helm3/revision.js +0 -0
  54. package/lib/helm/release/helm3/tests/revision.unit.spec.js +0 -0
  55. package/lib/helm/release/tests/release.controller.unit.spec.js +0 -0
  56. package/lib/helm/release/tests/release.unit.spec.js +0 -0
  57. package/lib/helm/release/tests/revision.unit.spec.js +0 -0
  58. package/lib/index.js +0 -0
  59. package/lib/internal-components/SquashedPod/SquashedPod.js +0 -0
  60. package/lib/internal-components/SquashedPod/SquashedPodPool.js +0 -0
  61. package/lib/internal-components/SquashedPod/index.js +0 -0
  62. package/lib/internal-components/SquashedPod/tests/SquashedPod.unit.spec.js +0 -0
  63. package/lib/internal-components/SquashedPod/tests/SquashedPodPool.unit.spec.js +0 -0
  64. package/lib/internal-components/project/Project.js +0 -0
  65. package/lib/internal-components/project/controller.js +0 -0
  66. package/lib/internal-components/project/project.internal.evenets.js +0 -0
  67. package/lib/internal-components/project/project.labels.js +0 -0
  68. package/lib/kube-client-wrapper/KubeWrapper.js +0 -0
  69. package/lib/kube-client-wrapper/tests/KubeWrapper.unit.spec.js +0 -0
  70. package/lib/kube-endpoints/index.js +0 -0
  71. package/lib/kube-endpoints/v15.js +0 -0
  72. package/lib/kube-endpoints/v16.js +0 -0
  73. package/lib/kube-native/builder.base.js +0 -0
  74. package/lib/kube-native/configMap/configMap.builder.js +0 -0
  75. package/lib/kube-native/configMap/configMap.events.js +0 -0
  76. package/lib/kube-native/configMap/configMap.js +0 -0
  77. package/lib/kube-native/deployment/deploy.builder.js +0 -0
  78. package/lib/kube-native/deployment/deploy.controller.js +0 -0
  79. package/lib/kube-native/deployment/deploy.events.js +0 -0
  80. package/lib/kube-native/deployment/deploy.js +0 -0
  81. package/lib/kube-native/deployment/deploy.status.analyzer.js +0 -0
  82. package/lib/kube-native/deployment/tests/deploy.builder.unit.spec.js +0 -0
  83. package/lib/kube-native/deployment/tests/deploy.unit.spec.js +0 -0
  84. package/lib/kube-native/entity.base.js +0 -0
  85. package/lib/kube-native/namespace/namespace.builder.js +0 -0
  86. package/lib/kube-native/namespace/namespace.events.js +0 -0
  87. package/lib/kube-native/namespace/namespace.js +0 -0
  88. package/lib/kube-native/node/node.js +0 -0
  89. package/lib/kube-native/pod/pod.controller.js +0 -0
  90. package/lib/kube-native/pod/pod.js +0 -0
  91. package/lib/kube-native/pod/pod.status.analyzer.js +0 -0
  92. package/lib/kube-native/pod/tests/pod.unit.spec.js +0 -0
  93. package/lib/kube-native/replicaSet/rs.js +0 -0
  94. package/lib/kube-native/replicaSet/rs.status.analyzer.js +0 -0
  95. package/lib/kube-native/resource.base.controller.js +0 -0
  96. package/lib/kube-native/secret/image.pull.secret.builder.js +0 -0
  97. package/lib/kube-native/secret/secret.builder.js +0 -0
  98. package/lib/kube-native/secret/secret.controller.js +0 -0
  99. package/lib/kube-native/secret/secret.events.js +0 -0
  100. package/lib/kube-native/secret/secret.js +0 -0
  101. package/lib/kube-native/secret/secret.labels.js +0 -0
  102. package/lib/kube-native/service/svc.builder.js +0 -0
  103. package/lib/kube-native/service/svc.controller.js +0 -0
  104. package/lib/kube-native/service/svc.events.js +0 -0
  105. package/lib/kube-native/service/svc.js +0 -0
  106. package/lib/kube-native/service/svc.status.analyzer.js +0 -0
  107. package/lib/kube-native/service/tests/svc.builder.unit.spec.js +0 -0
  108. package/lib/kube-native/service/tests/svc.controller.unit.spec.js +0 -0
  109. package/lib/kube-native/supported.recourses.js +0 -0
  110. package/lib/kube-native/tests/base.entity.unit.spec.js +0 -0
  111. package/lib/kube.controllers.js +0 -0
  112. package/lib/kube.manager.js +0 -0
  113. package/lib/labels.js +0 -0
  114. package/lib/status.analyzer.base.js +0 -0
  115. package/newrelic.js +0 -0
  116. package/package.json +6 -6
  117. package/server/api/crud.base.controller.js +0 -0
  118. package/server/api/index.js +0 -0
  119. package/server/api/internal/projects/controller.js +0 -0
  120. package/server/api/internal/projects/index.js +0 -0
  121. package/server/api/internal/test/index.js +0 -0
  122. package/server/api/kube-native/releases/controller.js +0 -0
  123. package/server/api/kube-native/releases/index.js +0 -0
  124. package/server/api/kube-native/secrets/controller.js +0 -0
  125. package/server/api/kube-native/secrets/index.js +0 -0
  126. package/server/api/kube-native/services/controller.js +0 -0
  127. package/server/api/native.endpoints.js +0 -0
  128. package/server/helpers/ResponseHandler.js +0 -0
  129. package/server/helpers/filters/Match.js +0 -0
  130. package/server/helpers/filters/index.js +0 -0
  131. package/service.yaml +1 -1
  132. package/test.deploy.step.js +0 -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
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
File without changes
package/CODEOWNERS CHANGED
File without changes
package/Dockerfile CHANGED
@@ -1,13 +1,15 @@
1
- FROM node:12.22-alpine3.15
1
+ FROM node:12.22.12-alpine
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 update && apk add --no-cache --virtual deps make g++ krb5-dev bash git openssh-client && \
10
- rm -rf node_modules && yarn install --production --frozen-lockfile && \
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
- RUN mkdir /logs && \
19
- chgrp -R 0 /kube-integration /logs && \
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
@@ -11,7 +11,6 @@ const morgan = require('morgan');
11
11
  const logger = require('cf-logs').Logger("codefresh:infra:express");
12
12
  const api = require('../server/api');
13
13
  const _ = require('lodash');
14
- const expressValidator = require('express-validator');
15
14
  const middlewares = require('./middleware');
16
15
  const httpInfra = require('@codefresh-io/http-infra');
17
16
  const CFError = require('cf-errors');
@@ -66,7 +65,6 @@ class Express {
66
65
  app.use(compression());
67
66
  app.use(bodyParser.urlencoded({ extended: true }));
68
67
  app.use(bodyParser.json());
69
- app.use(expressValidator([]));
70
68
  app.use(methodOverride());
71
69
 
72
70
  if (this.config.httpLogger) {
package/infra/index.js CHANGED
File without changes
File without changes
package/infra/logging.js CHANGED
File without changes
File without changes
package/infra/mongo.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
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
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.4",
2
+ "version": "1.24.7",
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.11"
22
+ "node": "12.22.12"
23
23
  },
24
24
  "author": "Oleg Sucharevich <olegs@codefresh.io>",
25
25
  "license": "ISC",
@@ -33,22 +33,22 @@
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.1",
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",
44
45
  "cf-errors": "^0.1.16",
45
46
  "cf-logs": "^1.1.24",
46
- "cf-monitor": "git+https://github.com/codefresh-io/cf-monitor.git#072ce2b419bb615a9567d253139431ca3c3adf17",
47
+ "cf-monitor": "git+https://github.com/codefresh-io/cf-monitor.git#00af78d3d7c7bffc41f27f75279a66a30f0ab987",
47
48
  "compression": "^1.6.2",
48
49
  "cookie-parser": "^1.4.3",
49
50
  "eventemitter2": "^4.1.2",
50
51
  "express": "^4.15.3",
51
- "express-validator": "^3.2.0",
52
52
  "google-protobuf": "^3.5.0",
53
53
  "js-yaml": "^3.13.1",
54
54
  "kube-config-builder": "^1.1.3",
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/service.yaml CHANGED
@@ -1 +1 @@
1
- version: 1.25.12
1
+ version: 1.25.18
File without changes