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

compatible(integration_test_charm): Add input that would enable metallb for integration tests #244

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

shayancanonical
Copy link
Contributor

We need metallb enabled for integration tests where we are creating loadbalancer type service in canonical/mysql-router-k8s-operator#328

Add ability to enable metallb

@shayancanonical shayancanonical changed the title Add input that would enable metallb for integration tests compatible(integration_test_charm): Add input that would enable metallb for integration tests Oct 22, 2024
Copy link

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but jq is not necessary here.
@carlcsaposs-canonical please review after your vacation.

.github/workflows/integration_test_charm.yaml Outdated Show resolved Hide resolved
@shayancanonical shayancanonical merged commit b8b359d into main Nov 27, 2024
1 check passed
@shayancanonical shayancanonical deleted the feature/metallb branch November 27, 2024 00:02
shayancanonical added a commit to canonical/mysql-router-k8s-operator that referenced this pull request Nov 27, 2024
…ues false (clusterip), nodeport and loadbalancer (#328)

## Prerequisite
Need to merge
canonical/data-platform-workflows#244 for
metallb support in CI

## Issue
We have outlined the approach to expose our K8s charms externally in
DA122

Summary:
- we will avoid using `external-node-connectivity` provided in
data_interfaces in K8s charms
- instead, we will provide a new config option `expose-external` with
values `false` (for clusterip svc), `nodeport` (for nodeport svc) and
`loadbalancer` (for loadbalancer svc)
- we will asynchronously update the endpoints in relation databags
(data_interfaces) when we are able to connect to router with the created
svc using a socket

## Solution
Implement the contents of the spec

## Testing
- tested locally using metallb
- testing on EKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants