This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
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)