-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tls overlay * Use juju 3.1/stable * Limit matrix test to juju 3.x * Relate traefik to external CA * Set distinct common names to both CAs * Parametrize pylibjuju --------- Co-authored-by: Simon Aronsson <[email protected]>
- Loading branch information
Showing
13 changed files
with
391 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
applications: | ||
alertmanager: | ||
scale: 2 | ||
# Set low resource requests to accommodate small VMs | ||
options: | ||
cpu: 1m | ||
memory: 1Mi | ||
prometheus: | ||
# Set low resource requests to accommodate small VMs | ||
options: | ||
cpu: 1m | ||
memory: 1Mi | ||
grafana: | ||
# Set low resource requests to accommodate small VMs | ||
options: | ||
cpu: 1m | ||
memory: 1Mi | ||
loki: | ||
# Set low resource requests to accommodate small VMs | ||
options: | ||
cpu: 1m | ||
memory: 1Mi | ||
avalanche: | ||
charm: avalanche-k8s | ||
channel: edge | ||
scale: 2 | ||
trust: true | ||
options: | ||
metric_count: 10 | ||
series_count: 2 | ||
|
||
relations: | ||
- [avalanche:metrics-endpoint, prometheus] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
applications: | ||
ca: | ||
charm: self-signed-certificates | ||
channel: edge | ||
scale: 1 | ||
options: | ||
ca-common-name: ca.demo.local | ||
external-ca: | ||
# This charm needs to be replaced with a real CA charm. | ||
# Use `juju refresh --switch` to replace via a "crossgrade refresh". | ||
charm: self-signed-certificates | ||
channel: edge | ||
scale: 1 | ||
options: | ||
ca-common-name: external-ca.example.com | ||
|
||
relations: | ||
# This is a more general CA (e.g. root CA) that signs traefik's own CSR. | ||
- [external-ca, traefik:certificates] | ||
|
||
# This is the local CA that signs CSRs from COS charms (excluding traefik). | ||
# Traefik is trusting this CA so that it could load balance via TLS. | ||
- [ca, traefik:receive-ca-cert] | ||
|
||
- [ca, alertmanager:certificates] | ||
- [ca, prometheus:certificates] | ||
- [ca, grafana:certificates] | ||
- [ca, loki:certificates] | ||
- [ca, catalogue:certificates] |
Oops, something went wrong.