Skip to content

Commit 31b9738

Browse files
authored
Merge pull request #2 from omnivector-solutions/matheushent/add-cluster-name-config
add the config *cluster-name* to the charm
2 parents aaa386b + b02c3ff commit 31b9738

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ This file keeps track of all notable changes to the Vantage Agents Charm.
77
Unreleased
88
----------
99

10+
1.1.0 - 2024-12-10
11+
------------------
12+
13+
* Add the config *cluster-name* to the charm
14+
1015
1.0.0 - 2023-03-07
1116
------------------
1217
* Create the project

config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ options:
4747
default: "/var/cache/vantage-agent"
4848
description: |
4949
Absolute path to the cache directory
50+
cluster-name:
51+
type: string
52+
default: ""
53+
description: |
54+
The name of the cluster as is on Vantage

src/charm.py

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def _on_config_changed(self, event):
106106
"task-jobs-interval-seconds": False,
107107
"task-self-update-interval-seconds": False,
108108
"cache-dir": False,
109+
"cluster-name": True,
109110
}
110111

111112
env_context = dict()

0 commit comments

Comments
 (0)