fix: readding maas-api service account and removing ref to non-existing secret#130
fix: readding maas-api service account and removing ref to non-existing secret#130jland-redhat merged 3 commits intomainfrom
Conversation
WalkthroughAdds a new ServiceAccount resource for maas-api and includes it in kustomization; removes generation and use of the maas-api admin secret and deletes the ADMIN_API_KEY env var from the maas-api Deployment. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer / Kustomize
participant K as Kustomize build
participant K8s as Kubernetes
rect rgb(235,245,255)
note left of K: Old flow (before changes)
Dev->>K: include secretGenerator + patch\n(add ADMIN_API_KEY from env)
K->>K8s: generate Secret (maas-api-admin)
K->>K8s: apply Deployment with secretKeyRef (ADMIN_API_KEY)
end
rect rgb(245,255,235)
note left of K: New flow (after changes)
Dev->>K: include `serviceaccount.yaml`,\nremove secretGenerator & patch
K->>K8s: apply ServiceAccount (maas-api)
K->>K8s: apply Deployment without ADMIN_API_KEY
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
💤 Files with no reviewable changes (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
7373288 to
7e362cf
Compare
There was a problem hiding this comment.
This overlay is unrelated, but I think we can remove it entirely
…ng secret (opendatahub-io#130) * Service Account went missing * Removing refrence to secret that is no longer used * reverting change --------- Co-authored-by: Jamie Land <hokie10@gmail.com>
Somewhere along the line we lost the maas-api service account so adding it back in.
And this pr removes the admin secret but we still had some references to it that needed to be removed
Summary by CodeRabbit