Guillaume Boutry 3528f0935a Migrate traefik ingress to v2
Current ingress relation only routes unit to requirer's leader.
Ingress V2 fixes that issue.

Change-Id: I034f785218ae3e39463ef02b960d0af83f6efb74
2023-09-27 09:41:22 +02:00

99 lines
2.2 KiB
YAML

bundle: kubernetes
applications:
mysql:
charm: ch:mysql-k8s
channel: 8.0/stable
scale: 1
trust: false
# Currently traefik is required for networking things.
# If this isn't present, the units will hang at "installing agent".
traefik:
charm: ch:traefik-k8s
channel: 1.0/candidate
scale: 1
trust: true
traefik-public:
charm: ch:traefik-k8s
channel: 1.0/candidate
scale: 1
trust: true
options:
kubernetes-service-annotations: metallb.universe.tf/address-pool=public
# required for nova
rabbitmq:
charm: ch:rabbitmq-k8s
channel: 3.12/edge
scale: 1
trust: true
options:
minimum-replicas: 1
keystone:
charm: ch:keystone-k8s
channel: 2023.1/edge
scale: 1
trust: true
options:
admin-role: admin
storage:
fernet-keys: 5M
credential-keys: 5M
gnocchi:
charm: ch:gnocchi-k8s
channel: 2023.1/edge
scale: 1
trust: true
ceilometer:
charm: ch:ceilometer-k8s
channel: 2023.1/edge
scale: 1
trust: true
aodh:
charm: ../../aodh-k8s.charm
scale: 1
trust: true
resources:
aodh-api-image: ghcr.io/openstack-snaps/aodh-consolidated:2023.1
aodh-evaluator-image: ghcr.io/openstack-snaps/aodh-consolidated:2023.1
aodh-notifier-image: ghcr.io/openstack-snaps/aodh-consolidated:2023.1
aodh-listener-image: ghcr.io/openstack-snaps/aodh-consolidated:2023.1
aodh-expirer-image: ghcr.io/openstack-snaps/aodh-consolidated:2023.1
relations:
- - traefik:ingress
- keystone:ingress-internal
- - traefik-public:ingress
- keystone:ingress-public
- - mysql:database
- keystone:database
- - mysql:database
- aodh:database
- - rabbitmq:amqp
- aodh:amqp
- - keystone:identity-service
- aodh:identity-service
- - traefik:ingress
- aodh:ingress-internal
- - traefik-public:ingress
- aodh:ingress-public
- - mysql:database
- gnocchi:database
- - traefik:ingress
- gnocchi:ingress-internal
- - traefik-public:ingress
- gnocchi:ingress-public
- - keystone:identity-service
- gnocchi:identity-service
- - rabbitmq:amqp
- ceilometer:amqp
- - keystone:identity-credentials
- ceilometer:identity-credentials