Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

2.0.0

Latest
Compare
Choose a tag to compare
@wtschreiter wtschreiter released this 08 Jul 08:52

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
  • (#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. Only string 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 be indent 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 be trim " hallo world " | indent 8
  • 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
  • Fix help text of delete flags (#54)

Removed

Fixed