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

deployments: Rework to be more idiomatic jsonnet structure #28

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

brancz
Copy link
Member

@brancz brancz commented Nov 6, 2019

This PR reworks the jsonnet code to be more idiomatic, and don't work on global, but local state instead. Additionally this adds the recommended kubernetes application labels.

@metalmatze

Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

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

Sadly found one bug.
I like the idea of this dev.jsonnet :)

Otherwise LGTM!

@@ -3,6 +3,9 @@ data:
conprof.yaml: InNjcmFwZV9jb25maWdzIjoKLSAiam9iX25hbWUiOiAiY29ucHJvZiIKICAia3ViZXJuZXRlc19zZF9jb25maWdzIjoKICAtICJuYW1lc3BhY2VzIjoKICAgICAgIm5hbWVzIjoKICAgICAgLSAiY29ucHJvZiIKICAgICJyb2xlIjogInBvZCIKICAicmVsYWJlbF9jb25maWdzIjoKICAtICJhY3Rpb24iOiAia2VlcCIKICAgICJyZWdleCI6ICJjb25wcm9mLioiCiAgICAic291cmNlX2xhYmVscyI6CiAgICAtICJfX21ldGFfa3ViZXJuZXRlc19wb2RfbmFtZSIKICAtICJzb3VyY2VfbGFiZWxzIjoKICAgIC0gIl9fbWV0YV9rdWJlcm5ldGVzX25hbWVzcGFjZSIKICAgICJ0YXJnZXRfbGFiZWwiOiAibmFtZXNwYWNlIgogIC0gInNvdXJjZV9sYWJlbHMiOgogICAgLSAiX19tZXRhX2t1YmVybmV0ZXNfcG9kX25hbWUiCiAgICAidGFyZ2V0X2xhYmVsIjogInBvZCIKICAtICJzb3VyY2VfbGFiZWxzIjoKICAgIC0gIl9fbWV0YV9rdWJlcm5ldGVzX3BvZF9jb250YWluZXJfbmFtZSIKICAgICJ0YXJnZXRfbGFiZWwiOiAiY29udGFpbmVyIgogICJzY3JhcGVfaW50ZXJ2YWwiOiAiMW0iCiAgInNjcmFwZV90aW1lb3V0IjogIjFtIg==
kind: Secret
metadata:
labels:
app.kubernetes.io/name: conprof
app.kubernetes.io/version: vv0.1.0-dev
Copy link
Member

Choose a reason for hiding this comment

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

This seems like a bug

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch!

name: conprof-main
labels:
app.kubernetes.io/name: conprof
app.kubernetes.io/version: vv0.1.0-dev
Copy link
Member

Choose a reason for hiding this comment

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

Same

@brancz brancz merged commit 93b0a1b into parca-dev:master Nov 6, 2019
@brancz brancz deleted the better-jsonnet branch November 6, 2019 10:11
brancz pushed a commit that referenced this pull request Oct 5, 2021
storage: Implement head.getByID to use with indexReader.LabelValueFor
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.

2 participants