This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
Releases: bitgrip/cattlectl
Releases · bitgrip/cattlectl
2.0.0
Added
- Add Ansible binary modules
- cattlectl_apply
- cattlectl_list
- cattlectl_delete
- (#48) Add support for multiple YAML objects in a single file
- Each not empty object must have fields
api_version
kind
- Objects are handled one by one
- First error stops execution
- Empty objects are ignored
- Each not empty object must have fields
- (#56) Add support for defining entrypoints in workloads
Changed
-
Add support for sprig template functions
- THIS IS A BREAKING CHANGE FOR THE
indent
FUNCTION - indent no longer accepts
[]byte
input. Onlystring
input is accepted. - indent no longer trimes input.
- indent no longer inserts two spaces per indent but one space.
- Required migration steps
- you need to double the indent size
indent 4 "hallo world"
needs to beindent 8 "hallo world"
- if you read file content and use indent you need to use
readAsString
{{read "input-file.txt" | indent 4 }}
needs to be{{readAsString "input-file.txt" | indent 8 }}
- if you need to remove surrounding whitespaces you need to do it explicit using
trim
indent 4 " hallo world "
needs to betrim " hallo world " | indent 8
- you need to double the indent size
- THIS IS A BREAKING CHANGE FOR THE
-
Updates github.com/rancher/norman and github.com/rancher/types to match with github.com/rancher/rancher v2.3.6
- Model Changes to the descriptor files:
- Workload dose no longer support
- priority
- priorityClassName
- schedulerName
- use scheduler object instead
- Workload dose now support
- enableServiceLinks
- overhead
- preemptionPolicy
- Workload dose no longer support
- Model Changes to the descriptor files:
-
Fix help text of delete flags (#54)
Removed
Fixed
2.0.0-pre3
v2.0.0-pre3 Add sprig template funcions collection (#45) (#52)
2.0.0-pre2
added entrypoint in workload model and updated tests (#57) * added entrypoint in workload model and updated tests * Update changelog Co-authored-by: Wulf-Thilo Schreiter <[email protected]>
2.0.0-pre1
Feature ansible modules (#55) Add ansible modules to control rancher * Add dryRun flag for all write operation * Add ansible module cattlectl_apply * Add ansible module cattlectl_list * Add ansible module cattlectl_delete * Document ansible modules * Update changelog
1.3.0
Added
- Enable flag to merge answers with exising apps (#42) (#43)
- [FEATURE] global, cluster and project catalogs as code (#39 #44)
- Add Descriptor for Rancher with Catalog client
- Add Descriptor for Cluster with Catalog client
- Add Descriptor for Project with Catalog client
- Add catalog samples
- Add command
list TYPE
to list project resources.- namespaces
- certificates
- config-maps
- docker-credentials
- secrets
- apps
- jobs
- cron-jobs
- deployments
- daemon-sets
- stateful-sets
- Add command
delete TYPE NAME
to delete project resources.- namespace
- certificate - NOT YET IMPLEMENTED
- config-map - NOT YET IMPLEMENTED
- docker-credential - NOT YET IMPLEMENTED
- secret - NOT YET IMPLEMENTED
- app
- job
- cron-job - NOT YET IMPLEMENTED
- deployment - NOT YET IMPLEMENTED
- daemon-set - NOT YET IMPLEMENTED
- stateful-set - NOT YET IMPLEMENTED
Changed
Removed
Fixed
1.3.0-rc3
Fix travis-ci links for readme
1.3.0-rc2
[FEATURE] global, cluster and project catalogs as code (#39 #44) * Add Descriptor for Rancher with Catalog client * Add Descriptor for Cluster with Catalog client * Add Descriptor for Project with Catalog client * Add catalog samples
1.3.0-rc1
v1.3.0-rc1 Enable flag to merge answers with exising apps (#42) (#43)
1.2.0
See CHANGELOG.md
1.1.1
See CHANGELOG.md