-
Notifications
You must be signed in to change notification settings - Fork 0
feat: initial module + DA #7
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
Conversation
/run pipeline |
/run pipeline |
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.
Many of the same comments that I already left in the cloud logs agent PR. Please try to be more consistent.
- Diagram updates:
- Resource Group -> Existing resource group
- data -> metrics
- Monitoring Instance -> Existing Monitoring instance
- Move Monitoring instance icon outside of resource group. It doesn't have to be in the same RG as the cluster.
- update codeowners
- update
.github/settings.yml
with descrption - update
.releaserc
to trigger catalog pipeline
/run pipeline |
|
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.
The image registry and the image digest needs to be exposed as variables (with default values) so users can override if needed
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.
see comments
variables.tf
Outdated
nullable = false | ||
} | ||
|
||
variable "instance_region" { |
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.
I think this one should be prefixed with cloud_monitoring_
:
cloud_monitoring_instance_region
variables.tf
Outdated
nullable = false | ||
} | ||
|
||
variable "endpoint_type" { |
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.
I think this one should be prefixed with cloud_monitoring_instance
:
cloud_monitoring_instance_endpoint_type
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.
few more comments
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.
see comments on renovate updates too
variables.tf
Outdated
variable "chart_version" { | ||
description = "The version of the Cloud Monitoring agent helm chart to deploy." | ||
type = string | ||
default = "1.79.0" # Replace with the desired version |
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.
For renovate to manage this, please change to:
default = "1.79.0" # Replace with the desired version | |
default = "1.79.0" # registryUrl: charts.sysdig.com |
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.
You also need to update the renovate.json file with the following contents:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>terraform-ibm-modules/common-dev-assets:commonRenovateConfig"],
"customManagers": [
{
"customType": "regex",
"description": "Update docker image digest to latest in variables.tf",
"fileMatch": ["variables.tf$"],
"datasourceTemplate": "docker",
"matchStrings": [
"default\\s*=\\s*\"(?<currentValue>[\\w.-]+)@(?<currentDigest>sha256:[a-f0-9]+)\"\\s*# datasource: (?<depName>[^\\s]+)"
]
},
{
"customType": "regex",
"description": "Update sysdig-deploy helm chart version to latest in variables.tf",
"fileMatch": ["variables.tf$"],
"matchStrings": ["default\\s*=\\s*\"(?<currentValue>.*?)\"\\s*# registryUrl: charts.sysdig.com\\n"],
"depNameTemplate": "sysdig-deploy",
"datasourceTemplate": "helm",
"registryUrlTemplate": "https://charts.sysdig.com"
}
],
"packageRules": [
{
"description": "Bundle image + helm chart updates into the same PR",
"matchPackageNames": ["icr.io/ext/sysdig/agent", "sysdig-deploy"],
"groupName": "Charts and Images",
"commitMessageExtra": "to latest",
"group": true
}
]
}
/run pipeline |
Test failed with:
Unrelated to changes in this PR so re-running.. |
/run pipeline |
🎉 This PR is included in version 1.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers