@codefresh-io/kube-integration 1.26.3 → 1.26.4-test16

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.
@@ -15,4 +15,4 @@ maintainers:
15
15
  dependencies:
16
16
  - name: cf-common
17
17
  repository: https://chartmuseum.codefresh.io/cf-common
18
- version: "0.11.1"
18
+ version: "0.12.0"
@@ -1,4 +1,7 @@
1
1
  ## See full values structure at https://github.com/codefresh-io/helm-charts/blob/master/charts/cf-common/values.yaml
2
+ #-----------------------------------------------------------------------------------------------------------------------
3
+ # GLOBAL VALUES
4
+ #-----------------------------------------------------------------------------------------------------------------------
2
5
  global:
3
6
  imageRegistry: ""
4
7
 
@@ -11,19 +14,39 @@ global:
11
14
  newrelicLicenseKey: ""
12
15
  postgresDatabase: ""
13
16
  postgresHostname: ""
17
+ postgresHostnameSecretKeyRef: {}
14
18
  postgresPassword: ""
19
+ postgresPasswordSecretKeyRef: {}
15
20
  postgresPort: ""
16
21
  postgresUser: ""
22
+ postgresUserSecretKeyRef: {}
17
23
  rabbitmqHostname: ""
24
+ rabbitmqHostnameSecretKeyRef: {}
18
25
  rabbitmqPassword: ""
26
+ rabbitmqPasswordSecretKeyRef: {}
19
27
  rabbitmqProtocol: ""
20
28
  rabbitmqUsername: ""
29
+ rabbitmqUsernameSecretKeyRef: {}
21
30
 
22
31
  #-----------------------------------------------------------------------------------------------------------------------
23
- # LEGACY VALUES
32
+ # LOCAL VALUES
24
33
  #-----------------------------------------------------------------------------------------------------------------------
25
34
 
26
- # empty
35
+ postgresDatabase: ""
36
+ postgresHostname: ""
37
+ postgresHostnameSecretKeyRef: {}
38
+ postgresPassword: ""
39
+ postgresPasswordSecretKeyRef: {}
40
+ postgresPort: ""
41
+ postgresUser: ""
42
+ postgresUserSecretKeyRef: {}
43
+ rabbitmqHostname: ""
44
+ rabbitmqHostnameSecretKeyRef: {}
45
+ rabbitmqPassword: ""
46
+ rabbitmqPasswordSecretKeyRef: {}
47
+ rabbitmqProtocol: ""
48
+ rabbitmqUsername: ""
49
+ rabbitmqUsernameSecretKeyRef: {}
27
50
 
28
51
  #-----------------------------------------------------------------------------------------------------------------------
29
52
  # NEW VALUES
@@ -85,6 +108,47 @@ container:
85
108
  allowPrivilegeEscalation: false
86
109
 
87
110
  env:
111
+ # updated POSTGRES_* env vars
112
+ POSTGRES_HOST:
113
+ valueFrom:
114
+ secretKeyRef:
115
+ name: '{{ include (printf "cf-common-%s.classic.postgres-hostname-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
116
+ key: '{{ include (printf "cf-common-%s.classic.postgres-hostname-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
117
+ optional: true
118
+ POSTGRES_PASSWORD:
119
+ valueFrom:
120
+ secretKeyRef:
121
+ name: '{{ include (printf "cf-common-%s.classic.postgres-password-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
122
+ key: '{{ include (printf "cf-common-%s.classic.postgres-password-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
123
+ optional: true
124
+ POSTGRES_USER:
125
+ valueFrom:
126
+ secretKeyRef:
127
+ name: '{{ include (printf "cf-common-%s.classic.postgres-user-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
128
+ key: '{{ include (printf "cf-common-%s.classic.postgres-user-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
129
+ optional: true
130
+
131
+ # updated RABBITMQ_* env vars
132
+ RABBITMQ_HOSTNAME:
133
+ valueFrom:
134
+ secretKeyRef:
135
+ name: '{{ include (printf "cf-common-%s.classic.rabbitmq-hostname-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
136
+ key: '{{ include (printf "cf-common-%s.classic.rabbitmq-hostname-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
137
+ optional: true
138
+ RABBITMQ_PASSWORD:
139
+ valueFrom:
140
+ secretKeyRef:
141
+ name: '{{ include (printf "cf-common-%s.classic.rabbitmq-password-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
142
+ key: '{{ include (printf "cf-common-%s.classic.rabbitmq-password-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
143
+ optional: true
144
+ RABBITMQ_USERNAME:
145
+ valueFrom:
146
+ secretKeyRef:
147
+ name: '{{ include (printf "cf-common-%s.classic.rabbitmq-username-env-var-secret-name" (index .Subcharts "cf-common").Chart.Version) . }}'
148
+ key: '{{ include (printf "cf-common-%s.classic.rabbitmq-username-env-var-secret-key" (index .Subcharts "cf-common").Chart.Version) . }}'
149
+ optional: true
150
+ EVENTBUS_URI: $(RABBITMQ_PROTOCOL)://$(RABBITMQ_USERNAME):$(RABBITMQ_PASSWORD)@$(RABBITMQ_HOSTNAME)
151
+
88
152
  AGENT: '{{ .Values.global.agent }}'
89
153
  EVENTBUS_IGNORE_CREATE_SCHEMA: true
90
154
  FORMAT_LOGS_TO_ELK: true
@@ -129,13 +193,20 @@ secrets:
129
193
  secret:
130
194
  enabled: true
131
195
  stringData:
132
- EVENTBUS_URI: '{{ include (printf "cf-common-%s.classic.calculateRabbitMqUri" (index .Subcharts "cf-common").Chart.Version) . }}'
196
+ # updated POSTGRES_* secrets
197
+ POSTGRES_HOST: '{{ coalesce .Values.postgresHostname .Values.global.postgresHostname (printf "%s-%s" .Release.Name .Values.global.postgresService) }}'
198
+ POSTGRES_PASSWORD: "{{ coalesce .Values.postgresPassword .Values.global.postgresPassword }}"
199
+ POSTGRES_USER: "{{ coalesce .Values.postgresUser .Values.global.postgresUser }}"
200
+ POSTGRES_DATABASE: '{{ coalesce .Values.postgresDatabase .Values.global.postgresDatabase }}'
201
+ POSTGRES_PORT: '{{ coalesce .Values.postgresPort .Values.global.postgresPort }}'
202
+
203
+ # updated RABBITMQ_* secrets
204
+ RABBITMQ_HOSTNAME: '{{ coalesce .Values.rabbitmqHostname .Values.global.rabbitmqHostname (printf "%s-%s" .Release.Name (coalesce .Values.global.rabbitService .Values.global.rabbitmqService) ) }}'
205
+ RABBITMQ_PASSWORD: "{{ coalesce .Values.rabbitmqPassword .Values.global.rabbitmqPassword }}"
206
+ RABBITMQ_USERNAME: "{{ coalesce .Values.rabbitmqUsername .Values.global.rabbitmqUsername }}"
207
+ RABBITMQ_PROTOCOL: '{{ coalesce .Values.rabbitmqProtocol .Values.global.rabbitmqProtocol "amqp" }}'
208
+
133
209
  NEWRELIC_LICENSE_KEY: '{{ .Values.global.newrelicLicenseKey }}'
134
- POSTGRES_DATABASE: '{{ .Values.global.postgresDatabase }}'
135
- POSTGRES_HOST: '{{ default (printf "%s-%s" .Release.Name .Values.global.postgresService) .Values.global.postgresHostname }}'
136
- POSTGRES_PASSWORD: '{{ .Values.global.postgresPassword }}'
137
- POSTGRES_PORT: '{{ .Values.global.postgresPort }}'
138
- POSTGRES_USER: '{{ .Values.global.postgresUser }}'
139
210
 
140
211
  service:
141
212
  main:
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM --platform=$BUILDPLATFORM node:14.21.3-alpine
1
+ FROM --platform=$BUILDPLATFORM node:16.20.2-alpine
2
2
 
3
3
  ARG TARGETPLATFORM
4
4
  ARG TARGETARCH
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.26.3",
2
+ "version": "1.26.4-test16",
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": "^14.21.1"
22
+ "node": "^16.20.2"
23
23
  },
24
24
  "author": "Oleg Sucharevich <olegs@codefresh.io>",
25
25
  "license": "ISC",
@@ -38,7 +38,10 @@
38
38
  "kubernetes-client/qs": "6.9.7",
39
39
  "nodegistry/request/qs": "6.5.3",
40
40
  "semver": "7.5.2",
41
- "protobufjs": "7.2.4"
41
+ "protobufjs": "7.2.4",
42
+ "http-cache-semantics": "4.1.1",
43
+ "jose": "3.20.4",
44
+ "tough-cookie": "4.1.3"
42
45
  },
43
46
  "dependencies": {
44
47
  "@codefresh-io/docker-reference": "^0.0.5",
@@ -63,7 +66,6 @@
63
66
  "nock": "^12.0.3",
64
67
  "nodegistry": "^1.2.5",
65
68
  "object-hash": "^1.2.0",
66
- "request": "^2.88.2",
67
69
  "request-promise": "^4.2.6",
68
70
  "uuid": "^3.1.0"
69
71
  },
package/service.yaml CHANGED
@@ -1 +1 @@
1
- version: 1.30.2
1
+ version: 1.30.4