Product Update - v22.28

Details of the product update v22.28 from 14th of July 2022.

Improvements and Updates

Code base optimisation

As part of ongoing codebase optimisation several redundant parameters have been removed from our API - these changes are reflected in our API docs.

PLease visit our API documentation for more information.

HELM3

We constantly improve different aspects of HELM3 deployments in collaboration with our partners. This section lists updates and improvements included in this release.

Add Ability to Set Per-Service Custom Ingress Annotations

To increase the flexibility of in ingress configurations for different hosts we made a breaking change. We have changed the structure of the model properties tenant.ingressConfig.annotations and helm.Values.global.services.handmaiden.annotations. Please be aware that upgrading to elastic.io Tenants to this latest version requires the small changes described below:

  • tenant.ingress_config.annotations format changed. This parameter must be reset via API call before updating to the latest version. Please use this API call:
  {
     "data": {
         "type": "tenant",
         "attributes": {
             "ingress_config": {}
             }
  }
}
  • global.services.handmaiden.annotations HELM variable format changed, please set it to the new format during upgrade

Here you can see the corresponding code for PATCH v2/tenants endpoint:

Click to expand for more details
 {
     "data": {
         "type": "tenant",
         "attributes": {
             "ingress_config": {
                 "annotations": {
                     "app": {
                         "nginx/123": "123",
                         "nginx/456": "456"
                     },
                     "api": {
                         "nginx/123": "123",
                         "nginx/456": "456"
                     },
                     "webhooks": {
                         "nginx/mtls": "true",
                         "nginx/456": "456"
                     },
                     "apidocs": {
                         "nginx/mtls": "true",
                         "nginx/456": "456"
                     }
                 }
             }
         }
     }
 }

Please visit our API documentation for more information.

Add “–push-retry” option to kaniko.

To improve push behaviour we added --push-retry and made this configurable only via gitreceiver (deafult: 3). Please setup using .Values.global.gitReceiver.dockerImageBuildJobPushRetry.

Information in this section is intended for our customers who use the OEM version of the elastic.io platform.

Support new component builder for java components

We are introducing a new сomponent-build-helper version 0.1.0. It also means that the old appbuilder is totally deprecated and is no longer supported. We have added custom dockerfile support for Java components.

Please Note: For now our new component builder supports Java 8 based components only.

Check for vulnerabilities after build using grype

Component vulnerabilities check in the build docker image is done by сomponent-build-helper during component build process. Components-build-helper has build_component_docker command which checks docker image vulnerabilities using grype tool.

For more information please visit our article on Components build configuration requirements.

Fixed bugs

  • The status page will now be displayed during maintenance on React pages. The property “location” (“head” or “body”, default: “head”) has been added to tenant.attributes.customScripts.

PLease visit our API documentation for more information.

Components

Stripe Component 1.0.0

  • ADDED Make Raw Request Action

Shopify admin component 1.6.3

  • UPDATED Lookup Objects action, now the method search is used instead of list for the customer object type

XERO component 1.1.0

  • ADDED Lookup Objects (plural) Action
  • ADDED Lookup Object (at most one) Action
  • ADDED Void approved invoices or bills Action
  • ADDED Get Updated Objects Polling Trigger