All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed potential cyclic dependencies in
docker-compose.yaml
by explicitly defining inherited sections
- Issue with wait breaking when a pod didn't have the
Name
key - Jobs were not failing gracefully when waiting for completion but faults were present for pods on the job
- much better local installer for gha actions
- Update Kubeconfig now has a name argument to name the user/context anything you want.
- Update Kubeconfig will always name the server after the Plan. This will share the same server for all tenants in the same plan. Also prevents unnecessary duplicates of the same server.
- Update kubeconfig will update the sections instead of skipping if they already exist. For example you can switch to interactive mode.
- Added more duplo component versions to the version command.
- fixed the duplicating user section in the update kubeconfig command.
- fixed the wait on bulk update image.
- Fixed handling of case in name/value keys in environment variables as backend permits both.
- Fixes issue in service update argument where strategy required three dashes.
- Gracefully handles situations where user attempts to merge with a service that has no existing env vars.
- Fixed issue where the wait flag would cause an error when updating an image and the images were the same.
- Fixed issue when updating an image and the image was the same, it would not report the last deployed by when and who
- Fixed CronJob Update by adding missing logic to set
isAnyHostAllowed
. This is due to a the object returned from theGET
request being slightly different to the object expected in thePUT/POST
request.
- Include generated Github release notes in the release description
- Install instructions in the docs
- Cleaned up pipeline and added test reporting into the PRs
- Configmaps and secrets can be created with data values
--from-file
and--from-literal
. The result can be displayed with--dry-run
. Both are a key=value pair but files can simply default the key to the filename.
- Fixed update_pod_label subcommand functionality for service.
- fixed many little issues with the docs like misspelled args, unneeded extra ones, and even missing types
- discovered why Args were not renaming based on the function arg.
- Case insensitive tenant name comparison.
- Fixed issue where a services otherDockerConfig was cleared on updates.
- Fixed issue where ecs update image was removing secrets,commands and env variables
- Added an apply method on base classes. Now most resources can simply
apply
files. - added tenant DNS config command to retrieve configuration
- added functionality to search for users by tenant
- moved command to add/remove users from tenant from user to tenant
- Added new function in service for updating pod label config.
- performance improvements to load cli args only when needed
- The
command
method on allDuploResources
returns a factory function with a parser already scoped into the functions argument annotations. - Custom display in the docs for CLI Arguments
- Added docs for internals of the CLI for anyone wanting to contribute or extend.
- Comply with Github best practices, ie added Security, Code of conduct, License, issue/pr templates, etc. Community Standards
- remove_user_from_tenant command
- Added support for tenant start/stop
- changed handling of tenant arg in user resource
- add reference yaml for users
- changed client error handling to display docstrings on bad input
- cloudfront resource with crud operations
- a new plan resource to view
- print token command when you just want the token
- updated all of the resources to show up in the docs
- arm64 linux binary is now available in the homebrew formula
- auto generate markdown templates for resources when building the docs
- updated docs for services.update_env to include usage
- New aws plugin which can
- generate boto3 clients using JIT
update_website
command to push new code to an S3 bucket and invalidate the cloudfront cache
- Tenant resource has a new
region
command to get just the current region for the tenant. - generating an aws profile without a name will default to "duplo"
- publish linux/arm64 standalone binary
- publish docs on main branch push
- Better error handling for the version command. It failed when the server didn't have the version endpoint.
- Support for Storage Class
- Support for PVC
- Added support for create and delete user
- start, stop, restart for hosts with
--wait
- Allow code to programmatically return the config from
update_kubeconfig
when save is false. - more docs for the wiki
- A new check to make sure CHANGELOG.md is updated before merging a PR.
- version command now shows server version
- Kubernetes commands with JIT were not getting the CA when using GCP.
- homebrew deployment uses pip freeze for it's dependencies so all subpackages exist as well
- Support for
DUPLO_TENANT_ID
or--tenant-id
as a global argument alternative to using the tenant name WARN
is default log level and--wait
will show more logs when set toDEBUG
- Support for AWS S3
- Github Pages Site for documentation using mkdocs
--wait
flag for azures updates
- all actions use the duploctl[bot] app for commits
- jit timout is now 1 hr vs 6
- pipeline commits using duploctl[bot] app instead of default token
- full changelog bump and push working now with the duploctl[bot]
- A version bump script which includes changelog notes in GHA releases
- shared setup action in piplines
- azure services had an issue with the
--wait
- homebrew installation needs the
jsonpointer
library explicit in pyproject - broken pipeline for docker from updated action
- simplifed the cleanup script for integration tests
- Actual JIT expiration dates sent to kubectl and aws cli
- CRUD for services and rds
- jsonpatch args for updating services
--wait
enabled on all updates to a service includingupdate_image
- better logging for wait operations
- introduced v2 and v3 base resource classes
- pod resource with get, list, and show logs
- ingress resource with all crud operations
- create and watch jobs with logs returned
- rds resource with all crud operations and individual actions present in the ui
- fully working integration tests with proper waiting
- creating a host without an image will pick a sane default
- display available host AMIs for a tenant
--admin
flag for jit commands- tenant level jit commands
- jit commands are no longer admin by default, tenant level is now default