Releases: duplocloud/duploctl
v0.2.38
Added
- 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
- fixed the duplicating user section in the update kubeconfig command.
- fixed the wait on bulk update image.
What's Changed
Pull Requests
- Kubeconfig Updater by @kferrone in #109
- Fancy actions install by @kferrone in #111
- More Component Versions by @kferrone in #112
- DUPLO-25704: Wait on bulk update image by @shantanuduplo in #110
Full Changelog: v0.2.37...v0.2.38
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.38
PIP Sdist:
The dowload below named duplocloud_client-0.2.38.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.38/duplocloud_client-0.2.38.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.38
docker pull duplocloud/duploctl:v0.2.38
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.38/duploctl-0.2.38-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
v0.2.37
Fixed
- 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
What's Changed
Pull Requests
- Duplo 25413 by @duplocloud-matt in #106
- update image issues by @kferrone in #108
Full Changelog: v0.2.36...v0.2.37
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.37
PIP Sdist:
The dowload below named duplocloud_client-0.2.37.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.37/duplocloud_client-0.2.37.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.37
docker pull duplocloud/duploctl:v0.2.37
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.37/duploctl-0.2.37-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
v0.2.36
Fixed
- 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.
What's Changed
Pull Requests
- DUPLO-25186: Add logic to set IsAnyHostAllowed by @ddiaz-duplo in #105
New Contributors
- @ddiaz-duplo made their first contribution in #105
Full Changelog: v0.2.35...v0.2.36
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.36
PIP Sdist:
The dowload below named duplocloud_client-0.2.36.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.36/duplocloud_client-0.2.36.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.36
docker pull duplocloud/duploctl:v0.2.36
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.36/duploctl-0.2.36-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
v0.2.35
Added
- 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
- 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
What's Changed
Pull Requests
- Svc label function new by @akshay-duplo in #98
- Release-notes by @kferrone in #99
- configmaps and secrets from files and literals by @kferrone in #100
- copy up other docker config by @kferrone in #101
- Fixed the bug ECS reverting the environment variable, command, secrets by @saurav-duplo in #104
- lower case tenant checks by @kferrone in #102
Full Changelog: v0.2.33...v0.2.35
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.35
PIP Sdist:
The dowload below named duplocloud_client-0.2.35.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.35/duplocloud_client-0.2.35.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.35
docker pull duplocloud/duploctl:v0.2.35
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.35/duploctl-0.2.35-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
v0.2.33
Added
- 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.
Updates
- 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
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.33
PIP Sdist:
The dowload below named duplocloud_client-0.2.33.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.33/duplocloud_client-0.2.33.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.33
docker pull duplocloud/duploctl:v0.2.33
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.33/duploctl-0.2.33-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/10360465674
v0.2.32
Added
- remove_user_from_tenant command
- Added support for tenant start/stop
Updates
- changed handling of tenant arg in user resource
- add reference yaml for users
- changed client error handling to display docstrings on bad input
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.32
PIP Sdist:
The dowload below named duplocloud_client-0.2.32.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.32/duplocloud_client-0.2.32.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.32
docker pull duplocloud/duploctl:v0.2.32
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.32/duploctl-0.2.32-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/10256055396
v0.2.31
Added
- cloudfront resource with crud operations
- a new plan resource to view
- print token command when you just want the token
Updates
- 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
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.31
PIP Sdist:
The dowload below named duplocloud_client-0.2.31.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.31/duplocloud_client-0.2.31.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.31
docker pull duplocloud/duploctl:v0.2.31
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.31/duploctl-0.2.31-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/10151942621
v0.2.30
Added
- 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
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.30
PIP Sdist:
The dowload below named duplocloud_client-0.2.30.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.30/duplocloud_client-0.2.30.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.30
docker pull duplocloud/duploctl:v0.2.30
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.30/duploctl-0.2.30-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/9899589684
v0.2.29
Added
- publish docs on main branch push
Fixed
- Better error handling for the version command. It failed when the server didn't have the version endpoint.
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.29
PIP Sdist:
The dowload below named duplocloud_client-0.2.29.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.29/duplocloud_client-0.2.29.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.29
docker pull duplocloud/duploctl:v0.2.29
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.29/duploctl-0.2.29-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/9420705921
v0.2.28
[](https://github.com/duplocloud/duploctl/actions/runs/9368960635)
Added
- 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
Fixed
- Kubernetes commands with JIT were not getting the CA when using GCP.
Installation
PIP PyPi:
duplocloud-client
pip install duplocloud-client==0.2.28
PIP Sdist:
The dowload below named duplocloud_client-0.2.28.tar.gz
is the sdist of the package.
pip install https://github.com/duplocloud/duploctl/releases/download/v0.2.28/duplocloud_client-0.2.28.tar.gz
PIP From Source:
Install directly from the version tag on GitHub.
pip install git+https://github.com/duplocloud/[email protected]
Dockerhub:
duplocloud/duploctl:v0.2.28
docker pull duplocloud/duploctl:v0.2.28
Install CLI to Path Linux:
curl -s -L https://github.com/duplocloud/duploctl/releases/download/v0.2.28/duploctl-0.2.28-linux-amd64.tar.gz | tar xvz - -C /usr/local/bin
Homebrew single binary:
brew install duplocloud/tap/duploctl
Homebrew with PIP:
brew install duplocloud/tap/duploctl --with-pip
Build: https://github.com/duplocloud/duploctl/actions/runs/9368960635