Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
bragi92 226984b2b2
[feat] windows golang update (#969)
[comment]: # (Note that your PR title should follow the conventional
commit format: https://conventionalcommits.org/en/v1.0.0/#summary)
# PR Description

[comment]: # (The below checklist is for PRs adding new features. If a
box is not checked, add a reason why it's not needed.)
# New Feature Checklist

- [ ] List telemetry added about the feature.
- [ ] Link to the one-pager about the feature.
- [ ] List any tasks necessary for release (3P docs, AKS RP chart
changes, etc.) after merging the PR.
- [ ] Attach results of scale and perf testing.

[comment]: # (The below checklist is for code changes. Not all boxes
necessarily need to be checked. Build, doc, and template changes do not
need to fill out the checklist.)
# Tests Checklist

- [ ] Have end-to-end Ginkgo tests been run on your cluster and passed?
To bootstrap your cluster to run the tests, follow [these
instructions](/otelcollector/test/README.md#bootstrap-a-dev-cluster-to-run-ginkgo-tests).
  - Labels used when running the tests on your cluster:
    - [ ] `operator`
    - [ ] `windows`
    - [ ] `arm64`
    - [ ] `arc-extension`
    - [ ] `fips`
- [ ] Have new tests been added? For features, have tests been added for
this feature? For fixes, is there a test that could have caught this
issue and could validate that the fix works?
  - [ ] Is a new scrape job needed?
- [ ] The scrape job was added to the folder
[test-cluster-yamls](/otelcollector/test/test-cluster-yamls/) in the
correct configmap or as a CR.
  - [ ] Was a new test label added?
- [ ] A string constant for the label was added to
[constants.go](/otelcollector/test/utils/constants.go).
- [ ] The label and description was added to the [test
README](/otelcollector/test/README.md).
- [ ] The label was added to this [PR
checklist](/.github/pull_request_template).
- [ ] The label was added as needed to
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
  - [ ] Are additional API server permissions needed for the new tests?
- [ ] These permissions have been added to
[api-server-permissions.yaml](/otelcollector/test/testkube/api-server-permissions.yaml).
  - [ ] Was a new test suite (a new folder under `/tests`) added?
- [ ] The new test suite is included in
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
2024-11-04 08:30:30 -08:00
Sohamdg081992 a8ef0e1041
[fix] Add min function to the dc name substring functionparameters to avoid template deployment failure for shorter names (#951)
This pr adds min function to the dc name substrings so that the template
deployment does not fail for shorter(than 44/64) string lengths.

I was testing onboarding a cluster with a short name testsohambicep and
caught this bug.

This fixes current failure for shorter strings:

Getting this error from selected code : {"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'The template
variable 'dceName' is not valid: Unable to evaluate the template
language function 'substring'. The index and length parameters must
refer to a location within the string. The index parameter: '0', the
length parameter: '44', the length of the string parameter: '28'. Please
see https://aka.ms/arm-function-substring for usage details.. Please see
https://aka.ms/arm-functions for usage details.'.", "additionalInfo":
[{"type": "TemplateViolation", "info": {"lineNumber": 55,
"linePosition": 132, "path": "properties.template.variables.dceName"}}]}

[comment]: # (Note that your PR title should follow the conventional
commit format: https://conventionalcommits.org/en/v1.0.0/#summary)
# PR Description

[comment]: # (The below checklist is for PRs adding new features. If a
box is not checked, add a reason why it's not needed.)
# New Feature Checklist

- [ ] List telemetry added about the feature.
- [ ] Link to the one-pager about the feature.
- [ ] List any tasks necessary for release (3P docs, AKS RP chart
changes, etc.) after merging the PR.
- [ ] Attach results of scale and perf testing.

[comment]: # (The below checklist is for code changes. Not all boxes
necessarily need to be checked. Build, doc, and template changes do not
need to fill out the checklist.)
# Tests Checklist

- [ ] Have end-to-end Ginkgo tests been run on your cluster and passed?
To bootstrap your cluster to run the tests, follow [these
instructions](/otelcollector/test/README.md#bootstrap-a-dev-cluster-to-run-ginkgo-tests).
  - Labels used when running the tests on your cluster:
    - [ ] `operator`
    - [ ] `windows`
    - [ ] `arm64`
    - [ ] `arc-extension`
    - [ ] `fips`
- [ ] Have new tests been added? For features, have tests been added for
this feature? For fixes, is there a test that could have caught this
issue and could validate that the fix works?
  - [ ] Is a new scrape job needed?
- [ ] The scrape job was added to the folder
[test-cluster-yamls](/otelcollector/test/test-cluster-yamls/) in the
correct configmap or as a CR.
  - [ ] Was a new test label added?
- [ ] A string constant for the label was added to
[constants.go](/otelcollector/test/utils/constants.go).
- [ ] The label and description was added to the [test
README](/otelcollector/test/README.md).
- [ ] The label was added to this [PR
checklist](/.github/pull_request_template).
- [ ] The label was added as needed to
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
  - [ ] Are additional API server permissions needed for the new tests?
- [ ] These permissions have been added to
[api-server-permissions.yaml](/otelcollector/test/testkube/api-server-permissions.yaml).
  - [ ] Was a new test suite (a new folder under `/tests`) added?
- [ ] The new test suite is included in
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
2024-07-30 15:32:18 -07:00
bragi92 6fcc36c8fc
fix: Truncate DCE/DCR to 44/64 chars in ARM, Bicep, Terraform... (#922)
[comment]: # (Note that your PR title should follow the conventional
commit format: https://conventionalcommits.org/en/v1.0.0/#summary)
# PR Description

[comment]: # (The below checklist is for PRs adding new features. If a
box is not checked, add a reason why it's not needed.)
# New Feature Checklist

- [ ] List telemetry added about the feature.
- [ ] Link to the one-pager about the feature.
- [ ] List any tasks necessary for release (3P docs, AKS RP chart
changes, etc.) after merging the PR.
- [ ] Attach results of scale and perf testing.

[comment]: # (The below checklist is for code changes. Not all boxes
necessarily need to be checked. Build, doc, and template changes do not
need to fill out the checklist.)
# Tests Checklist

- [ ] Have end-to-end Ginkgo tests been run on your cluster and passed?
To bootstrap your cluster to run the tests, follow [these
instructions](/otelcollector/test/README.md#bootstrap-a-dev-cluster-to-run-ginkgo-tests).
  - Labels used when running the tests on your cluster:
    - [ ] `operator`
    - [ ] `windows`
    - [ ] `arm64`
    - [ ] `arc-extension`
    - [ ] `fips`
- [ ] Have new tests been added? For features, have tests been added for
this feature? For fixes, is there a test that could have caught this
issue and could validate that the fix works?
  - [ ] Is a new scrape job needed?
- [ ] The scrape job was added to the folder
[test-cluster-yamls](/otelcollector/test/test-cluster-yamls/) in the
correct configmap or as a CR.
  - [ ] Was a new test label added?
- [ ] A string constant for the label was added to
[constants.go](/otelcollector/test/utils/constants.go).
- [ ] The label and description was added to the [test
README](/otelcollector/test/README.md).
- [ ] The label was added to this [PR
checklist](/.github/pull_request_template).
- [ ] The label was added as needed to
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
  - [ ] Are additional API server permissions needed for the new tests?
- [ ] These permissions have been added to
[api-server-permissions.yaml](/otelcollector/test/testkube/api-server-permissions.yaml).
  - [ ] Was a new test suite (a new folder under `/tests`) added?
- [ ] The new test suite is included in
[testkube-test-crs.yaml](/otelcollector/test/testkube/testkube-test-crs.yaml).
2024-06-25 14:08:21 -07:00
Sohamdg081992 6e73e759f9
[fix] Minor fix in onboarding templates (#828)
This change is a minor fix for bicep template
2024-04-17 11:12:33 -07:00
bragi92 22ecbfdce8
fix: typo in recording rule group name (#760) 2024-02-27 20:17:03 -08:00
bragi92 11ed75c422
Add new regions for Azure Monitor Workspace (#725)
* add new regions for Azure Monitor Workspace

* .

* ..pending
2024-02-26 11:15:45 -08:00
bragi92 f0b94a9558
add new regions for Azure Monitor Workspace (#609) 2023-10-23 18:03:49 +00:00
Sohamdg081992 be7398b10b
Add cluster scope to alert rule groups for linking them with UX (#600)
* Removing duplicate alerts from ci recommended alerts

* Remove test branch

* Remove preview keyword from policy readme

* Add cluster id scope to rule groups for alerts to be linked to UX

* adding terraform update
2023-09-27 14:37:22 -07:00
bragi92 7e5ae645c9
fix: update region list for AMW location in ARM, Bicep and Policy (#557)
* fix: update region list for AMW location in ARM, Bicep and Policy

* .
2023-08-09 17:52:06 -07:00
bragi92 f5b8948e17
feat: update to use GA API versions for ARM, Bicep, Policy... (#446) 2023-04-28 16:02:38 -07:00
bragi92 2eb2a81cbf
fix: update windows recording rules to remove duplicate entries for non running containers (#470) 2023-04-25 11:13:34 -07:00
bragi92 f2808c7eff
Windows Recording Rules (ARM, Bicep, Policy) (#366)
* Windows Recording Rules

* .

* Update DefaultRecordingRulesList.txt

* bicep update

* update default recording rules

* formatting

* extra

* fix naming of recording rule groups for windows

* update to azureMonitorWorkspaceResourceId

* policy and some more updates

* add in separate windows template
2023-03-17 15:40:54 -07:00
bragi92 6c353c902d
fix: Update role assignment to use azure monitor worksapces subscription (#426)
* fix: Update role assignment to use azure monitor worksapces subscription in ARM template

* Update FullAzureMonitorMetricsProfile.bicep

* Update FullAzureMonitorMetricsProfile.json
2023-03-16 11:10:37 -07:00
Sohamdg081992 00351e12cd
Merge pull request #368 from Azure/ArmTemplateAddMonitorRole
Adding monitoring reader role to AMW in Arm template
2023-01-25 15:18:26 -08:00
Soham Dasgupta 89018b1c2a Add bicep template for role assignment and update docs 2023-01-24 21:34:28 -08:00
Soham Dasgupta 25984c35ec Adding monitoring reader role to AMW in Arm template 2023-01-24 09:07:45 -08:00
bragi92 5c1d4a87f4
{feat} Enable MSI support for windwos daemonset (MA integration) (#348) 2023-01-23 23:20:56 +00:00
bragi92 db24c63e3d
feat: add ARM template for Azure Monitor Metrics addon enablement (#315) 2022-11-02 13:10:38 -07:00