Releases: mesoform/pulumi-swarm-deployment
Releases · mesoform/pulumi-swarm-deployment
Swarm instances memory update
Fix
Updates swarm.py to add command to increase max virtual memory area on swarm instances to avoid elastic memory issues.
Secret management improvement
New Features
- Adds
generate_ssh_key
configuration value to make generation of the deployer ssh key optional - Add
docker_token_secret_user_managed
configuration to allow docker join token secret to be user managed and uses the location specified in theregion
attribute.
Changes
- Includes the current IP in the firewall rule allow list by default ( to prevent all source IPs from being allowed)
- Update
SwarmDeploymentGCPArgs
class so that attributes with default values are optional, onlyname
anddocker_token_secret_name
are required
Fixes
- Update
swarm_setup
script which is used in the compute instance startup script so that it checks if a secret exists. If it does exist it runsgcloud secrets versions add
, and if it doesn't exist it will rungcloud secrets create
. Beforehand it only added a version, so if the secret didn't exist all the nodes wouldn't join the cluster
Fix default service account retrieval
Fixes issue where the default compute service account is retrieved even if compute_sa
is set, which caused issues when the deploying account does not have permissions to view service accounts. The compute default service account email is now only retrieved if compute_sa
is not set
Initial Release
Initial release of Pulumi module which can create Google compute instances and the required network infrastructure and initialises a swarm cluster.