Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

feat: find and update resource based on the object key#42

Merged
moshloop merged 6 commits intomasterfrom
issue-41
Jul 14, 2021
Merged

feat: find and update resource based on the object key#42
moshloop merged 6 commits intomasterfrom
issue-41

Conversation

@Kaitou786
Copy link
Copy Markdown
Contributor

@Kaitou786 Kaitou786 commented Jul 13, 2021

Description

Parse yaml files inside the searchPath and find the resource whose key(obj.GetName(), obj.GetNamespace(), obj.GetKind()) matches with that of the object received in post

Dependencies

  • Ex. Other PRs.

Breaking Change

  • Yes
  • No

Testing Notes

Ran the operator in dev mode and created a sample GitOpsAPI object with searchPath defined and then sent a POST request at the endpoint. To validate the changes being pushed

Links

Issues links or other related resources

@Kaitou786 Kaitou786 requested a review from moshloop July 13, 2021 12:27
Comment thread connectors/github.go Outdated
@Kaitou786 Kaitou786 force-pushed the issue-41 branch 17 times, most recently from 5ecf8ed to 847545a Compare July 13, 2021 16:34
@Kaitou786 Kaitou786 requested a review from moshloop July 13, 2021 17:01
@moshloop moshloop merged commit 86f793b into master Jul 14, 2021
@Kaitou786 Kaitou786 deleted the issue-41 branch July 14, 2021 10:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitAPI - Add update support for secrets and configmaps

2 participants