Skip to content

v0.70.0

Compare
Choose a tag to compare
@cognifloyd cognifloyd released this 11 Sep 19:08
· 528 commits to master since this release
3a0152c

Breaking Changes

  • Move secrets.st2.* values into st2.* (#203)

Community Contributions (THANKS!)

  • Updated redis constant sentinel ID which will allow other sentinel peers to update to the new given IP in case of pod failure or worker node reboots. (#191) (by @manisha-tanwar)
  • Fix a bug when datastore cryto keys are not able to read by the rules engine. datastore_crypto_key volume is now mounted on the st2rulesengine pods (#223) (by @moti1992)

Significant Fixes

  • Fix permissions for /home/stanley/.ssh/stanley_rsa using the postStart lifecycle hook (#219)
  • st2chatops change: If st2chatops.env.ST2_API_KEY is defined, do not set ST2_AUTH_USERNAME or ST2_AUTH_PASSWORD env vars any more. (#197)

Major Features

  • Shared packs volumes st2.packs.volumes. Allow using cluster-specific persistent volumes to store packs, virtualenvs, and (optionally) configs. This enables using st2 pack install. It even works with st2packs images in st2.packs.images. (#199)
  • Add image.tag overrides for all deployments. (#200)
  • Auto-generate password and ssh_key secrets. (#203)
  • Allow adding dnsPolicy and/or dnsConfig to all pods. (#201)
  • Make system_user configurable when using custom st2actionrunner images that do not provide stanley (#220)
  • Allow providing scripts in values for use in lifecycle postStart hooks of all deployments. (#206)
  • Add preRegisterContentCommand in an initContainer for register-content job to run last-minute content customizations (#213)

Everything Else

  • Removed reference to st2-license pullSecrets, which was missed when removing enterprise flags (#192)
  • Add optional imagePullSecrets to ServiceAccount using serviceAccount.pullSecret from values.yaml. If pods do not have imagePullSecrets (eg without image.pullSecret in values.yaml), k8s populates them from the ServiceAccount. (#196 & #239)
  • Reformat some yaml strings so that single quotes wrap strings that include double quotes (#194)
  • If your k8s cluster admin requires custom annotations (eg: to indicate mongo or rabbitmq usage), you can now add those to each set of pods. (#195)
  • Add optional hubot-scripts volume to st2chatops pod. To add this, define st2chatops.hubotScriptsVolume. (#207)
  • Add advanced pod placment (nodeSelector, affinity, tolerations) to specs for batch Jobs pods. (#193)
  • Move st2-config-vol volume definition and list of st2-config-vol volumeMounts to helpers to reduce duplication (#198)
  • Minimize required sensor config by using default values from st2sensorcontainer for each sensor in st2.packs.sensors (#221)
  • Do not template rabbitmq secrets file unless rabbitmq subchart is enabled. (#242)
  • Automatically stringify st2chatop.env values if needed. (#241)