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

(HP-572) create dynamodb table for gen3-license workspace #2441

Merged
merged 15 commits into from
Feb 29, 2024

Conversation

george42-ctds
Copy link
Contributor

@george42-ctds george42-ctds commented Jan 18, 2024

Jira Ticket: HP-572

New Features

Breaking Changes

Bug Fixes

Improvements

  • kube-setup-hatchery will create a dynamodb table for gen3-license-users if table in hatchery config

Dependency updates

Deployment changes

@@ -20,13 +20,64 @@ gen3 jupyter j-namespace setup
#
(g3k_kv_filter ${GEN3_HOME}/kube/services/hatchery/serviceaccount.yaml BINDING_ONE "name: hatchery-binding1-$namespace" BINDING_TWO "name: hatchery-binding2-$namespace" CURRENT_NAMESPACE "namespace: $namespace" | g3kubectl apply -f -) || true


# TODO: disable this cron-job after hatchery is updated to the dynamoDB version
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can move this block of logic that sets up the distribute-licenses cronjob into the if block at https://github.com/uc-cdis/cloud-automation/pull/2441/files#diff-60cb659c9ec13c9256d2140bfb074068431ad6177cfe217baf6ee5210c125d04R74
This way we could maintain the backward compatibility but not creating this cronjob if the new config is in place
We will be eventually removing this part of logic soon from this script

Copy link
Contributor

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

👍

@george42-ctds george42-ctds merged commit b9ab8af into master Feb 29, 2024
7 checks passed
@george42-ctds george42-ctds deleted the chore/add-create-table-to-hatchery branch February 29, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants