Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the config *cluster-name* to the charm #2

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ This file keeps track of all notable changes to the Vantage Agents Charm.
Unreleased
----------

1.1.0 - 2024-12-10
------------------

* Add the config *cluster-name* to the charm

1.0.0 - 2023-03-07
------------------
* Create the project
5 changes: 5 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ options:
default: "/var/cache/vantage-agent"
description: |
Absolute path to the cache directory
cluster-name:
type: string
default: ""
description: |
The name of the cluster as is on Vantage
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def _on_config_changed(self, event):
"task-jobs-interval-seconds": False,
"task-self-update-interval-seconds": False,
"cache-dir": False,
"cluster-name": True,
}

env_context = dict()
Expand Down
Loading