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

Helm: allow for using existing secret for RabbitMQ #761

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

davidspek
Copy link
Contributor

What this PR does:
This PR adds the ability to use an existing secret for external RabbitMQ. It a key in the existing secret can be specified for both the password and the username. The ability to specify the username key is required when an operator is used to create RabbitMQ credentials. We are using the RabbitMQ Messaging Topology Kubernetes Operator to create the vhost, user and permissions for OnCall, where both the username and password are auto-generated and placed into a secret.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
@davidspek
Copy link
Contributor Author

/cc @iskhakov since you also merged my last helm related PR.

@iskhakov iskhakov merged commit c010688 into grafana:dev Nov 3, 2022
@iskhakov
Copy link
Contributor

iskhakov commented Nov 4, 2022

@davidspek just FYI, I've applied a small fix to the RABBITMQ_USERNAME part

GRomR1 added a commit to GRomR1/oncall that referenced this pull request Nov 18, 2022
iskhakov added a commit that referenced this pull request Jun 13, 2023
# What this PR does
This PR adds the ability to use an existing secret for external Redis
and external MySQL and it follows the same changes that PR #761 did for
RabbitMQ (including the fix that was done for it later in #775)

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)

---------

Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
iskhakov added a commit that referenced this pull request Jun 16, 2023
**What this PR does**:
The existing value brokes the release when using external RabbitMQ. 
```
 Warning  Failed     6s (x11 over 112s)  kubelet            Error: couldn't find key password in Secret monitoring/oncall-rabbitmq-external
```

**Which issue(s) this PR fixes**:
Related MR [#761](#761)

**Checklist**
- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
Ukochka pushed a commit that referenced this pull request Jun 16, 2023
**What this PR does**:
The existing value brokes the release when using external RabbitMQ. 
```
 Warning  Failed     6s (x11 over 112s)  kubelet            Error: couldn't find key password in Secret monitoring/oncall-rabbitmq-external
```

**Which issue(s) this PR fixes**:
Related MR [#761](#761)

**Checklist**
- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated

---------

Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
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.

2 participants