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

Additional dimensions for data ingest #291

Merged
merged 15 commits into from
Nov 23, 2021
Merged

Conversation

aorcholski
Copy link
Contributor

Pods enriched with additional dims for mint:

  • dt.kubernetes.workload.kind
  • dt.kubernetes.workload.name
    Webhook recursively iterates over the list of OwnerReferences to find the top most Controller to report it in dt_metadata.properties(-.json) files.

// There cannot be more than one managing controller.
https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/types.go#L249

config/common/webhook/role-webhook.yaml Outdated Show resolved Hide resolved
initgeneration/init.sh.test-sample Outdated Show resolved Hide resolved
initgeneration/init.sh.tmpl Outdated Show resolved Hide resolved
webhook/mutation/pod_mutator.go Outdated Show resolved Hide resolved
@aorcholski aorcholski marked this pull request as draft October 12, 2021 15:40
@aorcholski aorcholski marked this pull request as ready for review October 14, 2021 14:04
@aorcholski aorcholski changed the title Additional dimensions for MINT Additional dimensions for data ingest Oct 26, 2021
@0sewa0 0sewa0 added the activegate Changes related to Activegate label Oct 28, 2021
webhook/mutation/pod_mutator.go Outdated Show resolved Hide resolved
webhook/mutation/pod_mutator.go Outdated Show resolved Hide resolved
webhook/mutation/pod_mutator.go Outdated Show resolved Hide resolved
webhook/mutation/pod_mutator.go Outdated Show resolved Hide resolved
webhook/mutation/pod_mutator.go Show resolved Hide resolved
aorcholski and others added 5 commits November 18, 2021 18:32
- dt.kubernetes.workload.kind
- dt.kubernetes.workload.name

Co-authored-by: Michal Grzybek <michal.grzybek@outlook.com>
- replicasets
- statefulsets
- daemonsets
- deployments
@aorcholski aorcholski merged commit c1413b4 into master Nov 23, 2021
@aorcholski aorcholski deleted the feature/webhook-workload-wip branch November 23, 2021 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activegate Changes related to Activegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants