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

feat(cube): add aws s3 bucket #787

Merged
merged 19 commits into from
Jul 27, 2023
Merged

Conversation

walkoss
Copy link
Contributor

@walkoss walkoss commented Jul 26, 2023

Summary

  • Add possibility to confiigure s3 bucket for aws cloud

Test Plan

Checklist

  • No images hosted from dockerhub
  • Are dashboards present to understand the health of the application. There must be at least 1 of these
    • all databases should have dashboards
    • ideally also have at least cpu/mem utilization dashboards for webserver tier of the app
    • you can use plural from-grafana to convert a grafana dashboard found via google to our CRD
  • Are scaling runbooks present
    • all databases must have scaling runbooks
    • you can use the charts in pluralsh/module-library to accelerate this
  • do you need to add config overlays?
    • inputing secrets
    • configuring autoscaling
  • If there’s a web-facing component to the app, we need to support OIDC authentication and setting up private networks if no authentication option is viable
  • All major clouds must be supported
    • Azure
    • AWS
    • GCP

cube/helm/cube/values.yaml.tpl Outdated Show resolved Hide resolved
cube/terraform/aws/iam.tf Show resolved Hide resolved
@@ -13,6 +13,10 @@ sections:
- name: hostname
type: DOMAIN
documentation: the fully qualified domain name your cube api will be available at
- name: cubeBucket
type: BUCKET
documentation: gcs bucket for storing cube files
Copy link
Member

Choose a reason for hiding this comment

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

gcs bucket -> s3 bucket

oidc_fully_qualified_subjects = ["system:serviceaccount:${var.namespace}:${var.cube_serviceaccount}"]
}

resource "aws_iam_user" "cube" {
Copy link
Member

Choose a reason for hiding this comment

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

I believe this iam user is no longer needed

Copy link
Member

@michaeljguarino michaeljguarino left a comment

Choose a reason for hiding this comment

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

actually wait, you need to bump the versions for both the tf and helm

@michaeljguarino michaeljguarino merged commit 58c43af into pluralsh:main Jul 27, 2023
5 of 6 checks passed
@plural-bot
Copy link
Contributor

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants