Skip to content

Add new config command.#48

Merged
telackey merged 6 commits intomainfrom
telackey/config
Jun 4, 2025
Merged

Add new config command.#48
telackey merged 6 commits intomainfrom
telackey/config

Conversation

@telackey
Copy link
Copy Markdown
Contributor

@telackey telackey commented Jun 4, 2025

Refactor, moving config init to simply init and add a new set of commands for handling the config file for the stack command itself.

stack config show # Print the config
stack config get <key> # Show the value of a particular setting
stack config set <key> <value> # Set the value of a setting

Supported settings so far are:

# Set the default deployment target (eg, compose, k8s, etc)
deploy-to: k8s

# The kube config file to use for k8s deployment
kube-config: /path/to/file

# Whether to use ssh for git
git-ssh: true

# Set the default image registry to use
image-registry: registry.digitalocean.com/bozemanpass

# The distribution url to use for updates
distribution-url: https://github.com/bozemanpass/stack/releases/latest/download/stack

@telackey telackey marked this pull request as ready for review June 4, 2025 17:16
@telackey telackey merged commit 2f95bf7 into main Jun 4, 2025
5 checks passed
@telackey telackey deleted the telackey/config branch June 4, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants