New Feature Release
v2.2.0 is a feature release of the Pulumi Kubernetes Operator, a cloud-native way to manage and deploy cloud infrastructure using Pulumi from within your Kubernetes environment (see the 2.x announcement post).
Key Enhancements
Security Fix: Avoid Logging of Config Secrets (#990)
Avoid logging of the config secrets into the pod log during deployment operations.
Extensibility: Dynamic Environment Variables (#976)
Makes it possible to set environment variables affecting the Pulumi CLI using an init container. Unlike variables set thru the Stack spec, these variables are set by writing to an environment file named $PULUMI_ENV
. For example:
initContainers:
- name: extra
image: busybox
command:
- sh
- -c
- |
echo 'PULUMI_CONFIG_PASSPHRASE=test' >> $PULUMI_ENV
GitOps: Reset Cooldown On New Commit (#951)
Run an update if a new commit is detected even if previous update(s) had failed and the system is in a backoff state.
GitOps: New Backoff Parameters (#827)
When a stack update fails, the system retries the update using exponential backoff. The initial
retry rate was increased, and a new Stack parameter spec.retryMaxBackoffDurationSeconds
was added to
set the maximum backoff duration (default: one update per day).
Note: at any time, use the following command to manually kick off an update:
$ kubectl annotate stack random-yaml "pulumi.com/reconciliation-request=$(date)" --overwrite
stack.pulumi.com/random-yaml annotated
What's Changed
- Update pulumi/actions action to v6.4.0 by @pulumi-renovate[bot] in #969
- Update first-party Pulumi dependencies to v3.186.0 by @pulumi-renovate[bot] in #973
- Update dependency @pulumi/pulumiservice to v0.31.0 by @pulumi-renovate[bot] in #980
- Update dependency @pulumi/pulumi to v3.188.0 by @pulumi-renovate[bot] in #981
- Update pulumi/pulumi Docker tag to v3.188.0 by @pulumi-renovate[bot] in #983
- Update pulumi/pulumi:3.188.0-nonroot Docker digest to 602d6be by @pulumi-renovate[bot] in #987
- feat: Allow configuring packages in Program CR by @dirien in #956
- Improve handling of failed updates - delete and new commits by @nicu-da in #966
- implement dynamic environment variables by @EronWright in #976
- Add max backoff stack property to calculate the cooldown period by @nicu-da in #949
- Automated pulumi/pulumi upgrade by @pulumi-bot in #982
- Avoid logging of autoapi structs by @EronWright in #990
- Prepare for PKO v2.2.0 by @EronWright in #989
New Contributors
Full Changelog: v2.1.0...v2.2.0