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

Implement cos-agent integration #24

Merged
merged 4 commits into from
Feb 20, 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
7 changes: 6 additions & 1 deletion charms/worker/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,15 @@ parts:
rm -rf $CRAFT_PRIME/lib
mv $CRAFT_PRIME/k8s/lib $CRAFT_PRIME/lib

provides:
cos-agent:
interface: cos_agent
requires:
cluster:
interface: k8s-cluster
# interface to connect with the k8s charm to provide
# authentication token via a secret in order to cluster
# this machine as a worker unit.
# juju integrate k8s:k8s-cluster k8s-worker:cluster
# juju integrate k8s:k8s-cluster k8s-worker:cluster
cos-tokens:
interface: cos-tokens
8 changes: 7 additions & 1 deletion charms/worker/k8s/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ parts:
peers:
cluster:
interface: cluster
cos-tokens:
interface: cos-tokens

provides:
cos-agent:
interface: cos_agent
k8s-cluster:
interface: k8s-cluster
interface: k8s-cluster
cos-worker-tokens:
interface: cos-tokens
Loading
Loading