@axway/axway-central-cli 2.12.3 → 2.12.4
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.
|
@@ -321,6 +321,8 @@ const completeInstall = async installConfig => {
|
|
|
321
321
|
v7AgentValues.centralConfig = installConfig.centralConfig;
|
|
322
322
|
v7AgentValues.traceabilityConfig = installConfig.traceabilityConfig;
|
|
323
323
|
v7AgentValues.isGatewayOnly = installConfig.switches.isGatewayOnly;
|
|
324
|
+
v7AgentValues.daVersion = installConfig.daVersion;
|
|
325
|
+
v7AgentValues.taVersion = installConfig.taVersion;
|
|
324
326
|
|
|
325
327
|
if (installConfig.switches.isHelmInstall) {
|
|
326
328
|
if (v7AgentValues.namespace.isNew) {
|
|
@@ -50,6 +50,10 @@ class V7AgentValues {
|
|
|
50
50
|
|
|
51
51
|
_defineProperty(this, "traceabilityConfig", void 0);
|
|
52
52
|
|
|
53
|
+
_defineProperty(this, "daVersion", void 0);
|
|
54
|
+
|
|
55
|
+
_defineProperty(this, "taVersion", void 0);
|
|
56
|
+
|
|
53
57
|
this.amplifyAgentCreds = _.amplifyAgentsCredsSecret;
|
|
54
58
|
this.amplifyAgentKeys = _.amplifyAgentsKeysSecret;
|
|
55
59
|
this.apiGatewayAuthPass = '';
|
|
@@ -70,6 +74,8 @@ class V7AgentValues {
|
|
|
70
74
|
};
|
|
71
75
|
this.centralConfig = new _types.CentralAgentConfig();
|
|
72
76
|
this.traceabilityConfig = new _types.TraceabilityConfig();
|
|
77
|
+
this.daVersion = '';
|
|
78
|
+
this.taVersion = '';
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
}
|
|
@@ -167,7 +173,7 @@ image:
|
|
|
167
173
|
repository: axway.jfrog.io/ampc-public-docker-release/agent/v7-traceability-agent
|
|
168
174
|
pullPolicy: Always
|
|
169
175
|
# Overrides the image tag whose default is the chart appVersion.
|
|
170
|
-
tag: "
|
|
176
|
+
tag: "{{taVersion}}"
|
|
171
177
|
|
|
172
178
|
imagePullSecrets: []
|
|
173
179
|
nameOverride: ""
|
|
@@ -180,39 +186,66 @@ statusPort: 8990
|
|
|
180
186
|
# https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-variables/index.html#common-variables-to-both-agents
|
|
181
187
|
# https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-variables/index.html#specific-variables-for-traceability-agent
|
|
182
188
|
env:
|
|
183
|
-
|
|
184
|
-
APIGATEWAY_HEALTHCHECKPROTOCOL: "https"
|
|
185
|
-
APIGATEWAY_HEALTHCHECKURI: login
|
|
186
|
-
APIGATEWAY_HOST: {{apiGatewayHost}}
|
|
187
|
-
APIGATEWAY_PORT: {{apiGatewayPort}}
|
|
188
|
-
APIMANAGER_HOST: {{apiManagerHost}}
|
|
189
|
-
APIMANAGER_PORT: {{apiManagerPort}}
|
|
189
|
+
LOG_LEVEL: info
|
|
190
190
|
CENTRAL_AGENTNAME: {{centralConfig.taAgentName}}
|
|
191
|
-
|
|
191
|
+
CENTRAL_URL: {{centralConfig.url}}
|
|
192
192
|
CENTRAL_AUTH_URL: {{centralConfig.authUrl}}
|
|
193
|
+
CENTRAL_SINGLEURL: {{centralConfig.singleEntryPointUrl}}
|
|
193
194
|
CENTRAL_DEPLOYMENT: {{centralConfig.deployment}}
|
|
194
|
-
|
|
195
|
+
CENTRAL_AUTH_CLIENTID: {{centralConfig.dosaAccount.clientId}}
|
|
195
196
|
CENTRAL_ORGANIZATIONID: "{{centralConfig.orgId}}"
|
|
196
|
-
{{
|
|
197
|
-
CENTRAL_TEAM: {{centralConfig.ampcTeamName}}
|
|
198
|
-
{{
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
CENTRAL_ENVIRONMENT: {{centralConfig.environment}}
|
|
198
|
+
CENTRAL_TEAM: "{{centralConfig.ampcTeamName}}"
|
|
199
|
+
{{#if isOpenTraffic}}
|
|
200
|
+
# API Gateway open traffic logs
|
|
201
|
+
EVENT_LOG_INPUT: false
|
|
202
|
+
OPENTRAFFIC_LOG_INPUT: true
|
|
203
|
+
OPENTRAFFIC_LOG_PATHS: /events/*.log
|
|
204
|
+
{{else}}
|
|
205
|
+
# API Gateway event logs
|
|
206
|
+
EVENT_LOG_PATHS: /events/*.log
|
|
207
|
+
{{/if}}
|
|
204
208
|
TRACEABILITY_HOST: {{traceabilityConfig.host}}
|
|
205
209
|
TRACEABILITY_PROTOCOL: {{traceabilityConfig.protocol}}
|
|
206
210
|
TRACEABILITY_SAMPLING_PERCENTAGE: {{traceabilityConfig.samplingPercentage}}
|
|
207
211
|
TRACEABILITY_SAMPLING_REPORTALLERRORS: {{traceabilityConfig.samplingReportAllErrors}}
|
|
212
|
+
|
|
213
|
+
{{#if isGatewayOnly}}
|
|
214
|
+
APIGATEWAY_ONLY: {{isGatewayOnly}}
|
|
215
|
+
{{else}}
|
|
216
|
+
APIMANAGER_HOST: {{apiManagerHost}}
|
|
217
|
+
APIMANAGER_PORT: {{apiManagerPort}}
|
|
218
|
+
# flip to true if API manager is using a self signed certificate
|
|
219
|
+
APIMANAGER_SSL_INSECURESKIPVERIFY: false
|
|
220
|
+
{{/if}}
|
|
221
|
+
{{#if isOpenTraffic}}
|
|
222
|
+
{{else}}
|
|
223
|
+
APIGATEWAY_HOST: {{apiGatewayHost}}
|
|
224
|
+
APIGATEWAY_PORT: {{apiGatewayPort}}
|
|
225
|
+
# flip to true if API manager is using a self signed certificate
|
|
226
|
+
APIGATEWAY_SSL_INSECURESKIPVERIFY: false
|
|
227
|
+
APIGATEWAY_HEALTHCHECKPORT: 8090
|
|
228
|
+
APIGATEWAY_HEALTHCHECKPROTOCOL: "https"
|
|
229
|
+
APIGATEWAY_HEALTHCHECKURI: login
|
|
230
|
+
{{/if}}
|
|
208
231
|
|
|
209
232
|
# The below secret are a pre-requisite. Please refer to the readme file for more info on it.
|
|
210
233
|
secrets:
|
|
211
234
|
credentials: {{amplifyAgentCreds}}
|
|
212
235
|
keys: {{amplifyAgentKeys}}
|
|
213
236
|
|
|
237
|
+
podAnnotations:
|
|
238
|
+
|
|
239
|
+
podSecurityContext:
|
|
240
|
+
supplementalGroups: [ 2500 ]
|
|
241
|
+
fsGroupChangePolicy: "OnRootMismatch"
|
|
242
|
+
|
|
214
243
|
securityContext:
|
|
215
244
|
|
|
245
|
+
tolerations:
|
|
246
|
+
|
|
247
|
+
affinity:
|
|
248
|
+
|
|
216
249
|
nodeSelector: {}
|
|
217
250
|
|
|
218
251
|
# Add additional labels to the agent deployment which may be required based on your configuration
|
|
@@ -243,6 +276,7 @@ persistentVolumeClaimConfig:
|
|
|
243
276
|
storageClass: gp2-csi
|
|
244
277
|
name: data-claim
|
|
245
278
|
events:
|
|
279
|
+
# update this value to match the name of the volume claim that is used for the event logs
|
|
246
280
|
name: events-claim
|
|
247
281
|
`;
|
|
248
282
|
};
|
|
@@ -299,7 +333,7 @@ image:
|
|
|
299
333
|
repository: axway.jfrog.io/ampc-public-docker-release/agent/v7-discovery-agent
|
|
300
334
|
pullPolicy: Always
|
|
301
335
|
# Overrides the image tag whose default is the chart appVersion.
|
|
302
|
-
tag: "
|
|
336
|
+
tag: "{{daVersion}}"
|
|
303
337
|
|
|
304
338
|
imagePullSecrets: []
|
|
305
339
|
nameOverride: ""
|
|
@@ -312,27 +346,37 @@ statusPort: 8989
|
|
|
312
346
|
# https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-variables/index.html#common-variables-to-both-agents
|
|
313
347
|
# https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-variables/index.html#specific-variables-for-discovery-agent
|
|
314
348
|
env:
|
|
315
|
-
|
|
316
|
-
APIMANAGER_PORT: {{apiManagerPort}}
|
|
349
|
+
LOG_LEVEL: info
|
|
317
350
|
CENTRAL_AGENTNAME: {{centralConfig.daAgentName}}
|
|
318
|
-
|
|
351
|
+
CENTRAL_URL: {{centralConfig.url}}
|
|
319
352
|
CENTRAL_AUTH_URL: {{centralConfig.authUrl}}
|
|
320
|
-
|
|
353
|
+
CENTRAL_SINGLEURL: {{centralConfig.singleEntryPointUrl}}
|
|
354
|
+
CENTRAL_AUTH_CLIENTID: {{centralConfig.dosaAccount.clientId}}
|
|
321
355
|
CENTRAL_ORGANIZATIONID: "{{centralConfig.orgId}}"
|
|
322
|
-
{{
|
|
323
|
-
CENTRAL_TEAM: {{centralConfig.ampcTeamName}}
|
|
324
|
-
{{
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
356
|
+
CENTRAL_ENVIRONMENT: {{centralConfig.environment}}
|
|
357
|
+
CENTRAL_TEAM: "{{centralConfig.ampcTeamName}}"
|
|
358
|
+
APIMANAGER_HOST: {{apiManagerHost}}
|
|
359
|
+
APIMANAGER_PORT: {{apiManagerPort}}
|
|
360
|
+
# flip to true if API manager is using a self signed certificate
|
|
361
|
+
APIMANAGER_SSL_INSECURESKIPVERIFY: false
|
|
328
362
|
|
|
329
363
|
# The below secret are a pre-requisite. Please refer to the readme file for more info on it.
|
|
330
364
|
secrets:
|
|
331
365
|
credentials: {{amplifyAgentCreds}}
|
|
332
366
|
keys: {{amplifyAgentKeys}}
|
|
333
367
|
|
|
368
|
+
podAnnotations:
|
|
369
|
+
|
|
370
|
+
podSecurityContext:
|
|
371
|
+
supplementalGroups: [ 2500 ]
|
|
372
|
+
fsGroupChangePolicy: "OnRootMismatch"
|
|
373
|
+
|
|
334
374
|
securityContext:
|
|
335
375
|
|
|
376
|
+
tolerations:
|
|
377
|
+
|
|
378
|
+
affinity:
|
|
379
|
+
|
|
336
380
|
nodeSelector: {}
|
|
337
381
|
|
|
338
382
|
# Add additional labels to the agent deployment which may be required based on your configuration
|