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

feat(metrics-operator): add AnalysisValueTemplate CRD #1822

Merged
merged 16 commits into from
Aug 9, 2023

Conversation

bacherfl
Copy link
Member

@bacherfl bacherfl commented Aug 2, 2023

Closes #1759

This PR adds the AnalysisValueTemplate CRD and a simple Kuttl test to verify that we can apply instances of this custom resource to a cluster.

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation metrics-operator labels Aug 2, 2023
@netlify
Copy link

netlify bot commented Aug 2, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit 18b936c
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/64d37562de3b700008296fa3
😎 Deploy Preview https://deploy-preview-1822--keptn-lifecycle-toolkit.netlify.app/docs/crd-ref/metrics/v1alpha3
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #1822 (18b936c) into main (9521a16) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1822      +/-   ##
==========================================
- Coverage   83.46%   83.44%   -0.03%     
==========================================
  Files         135      136       +1     
  Lines        8290     8292       +2     
==========================================
  Hits         6919     6919              
- Misses       1117     1118       +1     
- Partials      254      255       +1     
Files Changed Coverage Δ
...erator/api/v1alpha3/analysisvaluetemplate_types.go 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 68.55% <ø> (ø)
component-tests 58.74% <ø> (+0.20%) ⬆️
lifecycle-operator 84.92% <ø> (ø)
metrics-operator 82.95% <100.00%> (+0.02%) ⬆️
scheduler 32.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl changed the title feat: added AnalysisValueTemplate CRD feat(metrics-operator): added AnalysisValueTemplate CRD Aug 3, 2023
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl marked this pull request as ready for review August 3, 2023 05:55
@bacherfl bacherfl requested review from a team as code owners August 3, 2023 05:55
@mowies mowies changed the title feat(metrics-operator): added AnalysisValueTemplate CRD feat(metrics-operator): add AnalysisValueTemplate CRD Aug 7, 2023
…value-template

# Conflicts:
#	docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md
#	metrics-operator/api/v1alpha3/zz_generated.deepcopy.go
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Aug 8, 2023
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 8, 2023
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
…value-template

# Conflicts:
#	docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md
#	metrics-operator/PROJECT
#	metrics-operator/api/v1alpha3/zz_generated.deepcopy.go
#	metrics-operator/config/crd/kustomization.yaml
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@github-actions github-actions bot added the helm label Aug 9, 2023
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@bacherfl bacherfl merged commit f25b24d into keptn:main Aug 9, 2023
41 checks passed
@bacherfl bacherfl deleted the feat/1759/analysis-value-template branch August 9, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation helm metrics-operator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap AnalysisValueTemplate CRD
3 participants