Keptn 0.14.1
Keptn 0.14.1 contains improvements in the inner models used by the Keptn core services. This improves the resiliency of Keptn and pushes forward upgrading your Keptn installation without any downtime.
Besides, it is now possible to trigger any sequence using the CLI and the Bridge.
Furthermore, the environment screen contains new features: the button for triggering a sequence is on the top of the page and the history of the previous evaluations for the selected service is shown.
The webhook UI allows configuring if Keptn has to wait for the acknowledgment of the webhook receiver.
Finally, Keptn 0.14.x upgrades the NATS dependency and with that, the cluster name changed.
For existing integration that are not yet updated to use a 0.14.x distributor, please update the PUBSUB_URL
environment variable and set it to nats://keptn-nats
.
Key announcements:
🎉 Improved internal models : This release is another major step towards zero downtime updates of Keptn core services.
⭐ Trigger sequences from the Bridge/CLI: It is possible to trigger any sequences directly from the CLI and the Environment screen.
📫 Webhook UI supports the configuration to wait for the webhook receiver to send their started event.
🎁 Evaluation history : In the Environment screen, the history of the quality gate results for a service is displayed.
0.14.1 (2022-04-01)
⚠ BREAKING CHANGES
cli: The CLI does not require anymore passing git_user as a parameter to create or upgrade a project. In case you are experiencing issues with the command, we suggest trying it without specifying the user.
configuration-service: adding invalid token results in a 404 HTTP status code (424 previously)
nats : the NATS cluster name changed from keptn-nats-cluster
to keptn-nats
. Please check the upgrade documentation .
Features
Add prometheus-service scope to secret-service (#6938 ) (b2993f2 )
Add SSH publicKey auth support (#6855 ) (b1b3d11 )
api: Added automaticProvisioning helm value to api-service (#7269 ) (0bda1c7 )
bridge: Allow to configure sendStarted flag for webhook config (#7183 ) (7117204 )
bridge: Make secret selection dynamic (#6940 ) (be8394d )
bridge: Show history of quality gates in environment details (#7009 ) (d1b96ef )
bridge: Trigger a sequence from Bridge (#4507 ) (84322f3 )
bridge: Use new evaluation finished payload and UI adoptions in SLI breakdown (#6813 ) (711b845 )
cli: Added keptn trigger sequence
cmd (#7070 ) (80f2f7d )
cli: trigger authorization code flow when refresh token is expired (#7014 ) (d596efb )
distributor: Added preamble to distributor logs (#7296 ) (1413ad6 )
Improve denied URLs of webhook-service (#7147 ) (d5c1d3c )
resource-service: Delete project via cloud events (#7024 ) (86b0cb9 )
shipyard-controller: Added leader election (#6967 ) (c5264bd )
shipyard-controller: Introduce new data model (#6977 ) (f46905a )
shipyard-controller: Subscribe to events using Jetstream (#6834 ) (753547b )
Support –git-commit-id flag in CLI trigger evaluation (#6956 ) (f98155c )
Support auth via proxy (#6984 ) (63fca54 )
Bug Fixes
add default helm value for project name max size (#7289 ) (1b016a1 )
Backup git-credentials when using resource-service in integration tests (#7111 ) (cafab72 )
bridge: Add latestEvaluationTrace to every stage (8048020 )
bridge: Break words in project tile, to keep fix width (#7214 ) (3227f8a )
bridge: Fix duplicated sequence and incorrect show older sequences (#7054 ) (95c5bdc )
bridge: Fix incorrect content security policy (e575943 )
bridge: Fix no-services message and link (#7035 ) (c9e58a7 )
bridge: Fix quick filter overflow (#7077 ) (2dff06a )
bridge: Fix wrong time in sequence timeline (#7036 ) (76811ec )
bridge: load projects, also if version.json could not be loaded (#7241 ) (50acc3a )
bridge: Prevent spaces in URL (#7023 ) (0d01639 )
bridge: Remove line breaks and unnecessary escaping in strings in webhook.yaml (#7025 ) (23ac339 )
bridge: Rounding evaluation score correctly (#6976 ) (5b89a91 )
bridge: Truncate evaluation score (#6993 ) (df8e03a )
bridge: Validate start end date duration (0596eae )
bridge: Do not send a start date for evaluation if none is given by the user (12d83c3 )
bridge: Show remediation sequence in default color while running (#7300 ) (#7319 ) (4d0887d )
cli: Provide values needed for upgrading the nats dependency (#7316 ) (d3d9faf )
cli: Added missing env variables to tests (#6867 ) (33feef1 )
cli: Fixed parsing of image option in trigger delivery (#7302 ) (171a979 )
cli: Removed user check from create/update project and added simple tests (#7193 ) (2b490d5 )
configuration-service: Return 404 when token is invalid (#7121 ) (6805da2 )
correct passing of projectNameMaxSize helm value with quotes (#7288 ) (517e2a2 )
distributor: Added longer sleep for Nats down test in forwarder (#7205 ) (3fff36d )
distributor: Fixed reconnection issue of (re)used ce clients (#7109 ) (9b69d64 )
distributor: Include event filter for project, stage, service (#6968 ) (#6972 ) (6ab050d )
distributor: Increase timout of http client to 30s (#6948 ) (#6954 ) (3ccbd77 )
distributor: shut down distributor when not able to send heartbeat to control plane (#7263 ) (7c50feb )
ensure indicators are set in computeObjectives (#6922 ) (b1cc56d )
Forbid project names longer than a certain size (#7277 ) (237c4cf )
hardening of oauth in distributor and cli (#6917 ) (b73a379 )
helm-service: Handling of helm-charts loading problems (#7108 ) (3a60e50 )
installer: Make securityContext configurable (#6932 ) (#6949 ) (b711b0a )
lighthouse-service: Fail sequence when evaluation is aborted/errored (#7211 ) (1faca09 )
Normalize error messages (#7080 ) (0730f1d )
resource-service: fix nats subscription and added retry logic (#7215 ) (180d833 )
resource-service: Make sure to delete “/” prefix in resourcePath when resolving git commit id (#6919 ) (2ae4c52 )
shipyard-controller: Abort multi-stage sequences (#7175 ) (d06aefb )
shipyard-controller: Consider parallel stages when trying to set overall sequence state to finished (#7250 ) (9550f59 )
shipyard-controller: Do not exit pull subscription loop when invalid event has been received (#7255 ) (75c5971 )
shipyard-controller: Do not reset subscriptions when updating distributor/integration version (#7046 ) (#7059 ) (5865cf1 ), closes #6598 #6613 #6618 #6619 #6634 #6559 #6642 #6643 #6659 #6670 #6632 #6718 #6816 #6819 #6820 #6875 #6763 #6857 #6804 #6931 #6944 #6966 #6971
webhook-service: Disallow @
file uploads inside data block (#7158 ) (aa0f71e )
webhook-service: enhance denylist of disallowed urls (#7191 ) (048dbe4 )
webhook-service: Fix retrieval of webhook config (#7144 ) (08ae798 )
Docs
bridge: Add documentation for environment variables (0bb45a9 )
Reference the code of conduct in the .github repository (#7110 ) (3dbd75c )
Stop-gap info about filtering by stage, project,service (#7155 ) (ee03d92 )
Use K3d 5.3.0 in README for developing (#6926 ) (f02cad5 )
Other
Resource Stats
Name
Container Name
CPU Request
CPU Limit
RAM Request
RAM Limit
Image
keptn-mongo
mongodb
null
null
null
null
docker.io/bitnami/mongodb:4.4.9-debian-10-r0
api-gateway-nginx
api-gateway-nginx
50m
100m
64Mi
128Mi
docker.io/nginxinc/nginx-unprivileged:1.21.6-alpine
api-service
api-service
50m
100m
32Mi
64Mi
docker.io/keptn/api:0.14.1
api-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
approval-service
approval-service
25m
100m
32Mi
128Mi
docker.io/keptn/approval-service:0.14.1
approval-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
configuration-service
configuration-service
25m
100m
32Mi
64Mi
docker.io/keptn/configuration-service:0.14.1
remediation-service
remediation-service
50m
200m
64Mi
1Gi
docker.io/keptn/remediation-service:0.14.1
remediation-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
bridge
bridge
25m
200m
64Mi
256Mi
docker.io/keptn/bridge2:0.14.1
mongodb-datastore
mongodb-datastore
50m
300m
32Mi
512Mi
docker.io/keptn/mongodb-datastore:0.14.1
mongodb-datastore
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
lighthouse-service
lighthouse-service
50m
200m
128Mi
1Gi
docker.io/keptn/lighthouse-service:0.14.1
lighthouse-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
secret-service
secret-service
25m
200m
32Mi
64Mi
docker.io/keptn/secret-service:0.14.1
shipyard-controller
shipyard-controller
50m
100m
32Mi
128Mi
docker.io/keptn/shipyard-controller:0.14.1
statistics-service
statistics-service
25m
100m
32Mi
64Mi
docker.io/keptn/statistics-service:0.14.1
statistics-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
webhook-service
webhook-service
25m
100m
32Mi
64Mi
docker.io/keptn/webhook-service:0.14.1
webhook-service
distributor
25m
100m
16Mi
32Mi
docker.io/keptn/distributor:0.14.1
keptn-nats
nats
null
null
null
null
nats:2.7.3-alpine
keptn-nats
metrics
null
null
null
null
natsio/prometheus-nats-exporter:0.9.1