Skip to content

Commit

Permalink
Merge branch 'main' into KU-583/local-storage-config
Browse files Browse the repository at this point in the history
  • Loading branch information
bschimke95 authored Nov 19, 2024
2 parents 590b242 + 32c2da0 commit 4059713
Show file tree
Hide file tree
Showing 11 changed files with 1,578 additions and 4 deletions.
8 changes: 8 additions & 0 deletions charms/worker/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ parts:
rm -rf $CRAFT_PRIME/lib $CRAFT_PRIME/templates
mv $CRAFT_PRIME/k8s/lib $CRAFT_PRIME/lib
mv $CRAFT_PRIME/k8s/templates $CRAFT_PRIME/templates
actions:
pre-upgrade-check:
description: Run necessary pre-upgrade checks before executing a charm upgrade.

peers:
upgrade:
interface: upgrade


provides:
cos-agent:
Expand Down
5 changes: 5 additions & 0 deletions charms/worker/k8s/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ actions:
server:
description: Override the server endpoint with this field
type: string
pre-upgrade-check:
description: Run necessary pre-upgrade checks before executing a charm upgrade.


parts:
charm:
Expand All @@ -203,6 +206,8 @@ peers:
interface: k8s-cluster
cos-tokens:
interface: cos-k8s-tokens
upgrade:
interface: upgrade

provides:
cos-agent:
Expand Down
Loading

0 comments on commit 4059713

Please sign in to comment.