- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Sync upstream #2
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
base: master
Are you sure you want to change the base?
Conversation
getsentry#74) * refactor pod enhancer so all workload resource types are used * refactor enhancer to process non-pod objects * use object caching through informer indexers * refactoring enhancer code * use constant instead of string literal
* create test for findObject * add unit tests for DsnClientMapping methods * add unit tests for sentry_dsn_data
* fix fingerprinting and common enhancer call * refactor enhancers
* add unit tests for crons_monitor_data * Update crons_monitor_data.go Co-authored-by: Anton Ovchinnikov <anton@tonyo.info> --------- Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
* add tests for root owners finding * linting
* update README with new features * Update README.md Co-authored-by: Anton Ovchinnikov <anton@tonyo.info> * Update README.md Co-authored-by: Anton Ovchinnikov <anton@tonyo.info> --------- Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
* update README with new features * update test to prevent regression * linting * change README back to avoid conflict
--------- Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0. - [Commits](golang/net@v0.17.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…etsentry#89) Bumps google.golang.org/protobuf from 1.29.1 to 1.33.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
          
Kodem Security Scan Summary
  | 
    
          
Kodem Security Scan Summary
  | 
    
| // The job is not owned by a cronJob | ||
| if !ok { | ||
| owner := pod.OwnerReferences[0] | ||
| sentryEvent.Fingerprint = append(sentryEvent.Fingerprint, owner.Kind, podName) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rajesh-dhakad reading the code, I don't find it is actually needed in the prod. Maybe we added this for testing independent pod while developing/testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was part of util itself - we didn't touch this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, the diff here between this master and upstream master is showing change on this line 111
| KindCronjob string = "CronJob" | ||
| KindReplicaset string = "ReplicaSet" | ||
| KindDeployment string = "Deployment" | ||
| ) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refactor ownerRef Add owner_ref for each root
6287b13    to
    6e82e3d      
    Compare
  
    
Pulled the latest upstream to sync our repo with them.