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

Add podAnnotation to medusa operator and reaper operator #1449

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

omygod613
Copy link

@omygod613 omygod613 commented Jul 16, 2022

What this PR does:
Add annotations to the deployment.yaml for medusa-operator and reaper-operator, so that the podAnnotations can be applied to the generated deployment.yaml
Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@omygod613 omygod613 requested a review from a team as a code owner July 16, 2022 04:40
Copy link
Contributor

@jsanda jsanda left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Please note that medusa-operator and reaper-operator are no longer actively developed. https://github.com/k8ssandra/k8ssandra-operator is where active development happens. With that said, I am happy to help you with this PR. Feel free to discuss on the K8ssandra as well :)

@@ -11,6 +11,10 @@ spec:
template:
metadata:
labels: {{- include "k8ssandra-common.labels" . | indent 8 }}
{{- with .Values.podAnnotations }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't .podAnnotations be under annotations?

Copy link
Author

Choose a reason for hiding this comment

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

@jsanda Could you check again? I updated some commits based on your comments.

@@ -11,6 +11,10 @@ spec:
template:
metadata:
labels: {{- include "k8ssandra-common.labels" . | indent 8 }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't the variable scope you want. It needs to be more narrow.

@@ -10,6 +10,10 @@ spec:
template:
metadata:
labels: {{- include "k8ssandra-common.labels" . | indent 8 }}
{{- with .Values.podAnnotations }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as comments for medusa-operator chart.

@omygod613 omygod613 requested a review from jsanda July 16, 2022 05:20
@omygod613
Copy link
Author

omygod613 commented Jul 16, 2022

Thanks for the PR. Please note that medusa-operator and reaper-operator are no longer actively developed. https://github.com/k8ssandra/k8ssandra-operator is where active development happens. With that said, I am happy to help you with this PR. Feel free to discuss on the K8ssandra as well :)

Thanks for the information. We definitely will migrate our k8ssandra to 2.x in the future. However, so far we are not going to do it recently. Please help me out with this PR. Thanks :))))

@adejanovski adejanovski added the zh:Review Issues in the ZenHub pipeline 'Review' label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zh:Review Issues in the ZenHub pipeline 'Review'
Projects
Status: Blocked/Stale
Development

Successfully merging this pull request may close these issues.

None yet

3 participants