Skip to content

274 featconfig auto create configuration by network event#294

Merged
evgheni7 merged 2 commits into
mainfrom
274-featconfig-auto-create-configuration-by-network-event
Apr 10, 2025
Merged

274 featconfig auto create configuration by network event#294
evgheni7 merged 2 commits into
mainfrom
274-featconfig-auto-create-configuration-by-network-event

Conversation

@Catalin4513
Copy link
Copy Markdown
Contributor

No description provided.

@Catalin4513 Catalin4513 self-assigned this Apr 9, 2025
@Catalin4513 Catalin4513 requested a review from evgheni7 as a code owner April 9, 2025 10:32
@Catalin4513 Catalin4513 linked an issue Apr 9, 2025 that may be closed by this pull request
2 tasks
func CreateConfiguration(ctx context.Context, logger *zap.SugaredLogger, msg crossplanev1beta1.MsgCreateConfiguration, config *rest.Config, dc *dynamic.DynamicClient, username string) {
packageEncrypted := msg.Spec.GetPackage()
aesKeyEncrypted := msg.Spec.GetAesKey()
token := os.Getenv("GITHUB_TOKEN")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Catalin4513 token if it exists shall be taken form chain event, not from env, what is sense to take it from env?

@Catalin4513 Catalin4513 force-pushed the 274-featconfig-auto-create-configuration-by-network-event branch from a076ac3 to f67f78c Compare April 9, 2025 14:21
@Catalin4513 Catalin4513 requested a review from evgheni7 April 9, 2025 14:21
@evgheni7 evgheni7 merged commit e906ec6 into main Apr 10, 2025
@evgheni7 evgheni7 deleted the 274-featconfig-auto-create-configuration-by-network-event branch April 10, 2025 08:07
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.

🚀 feat(config): Auto create Configuration by network event

2 participants