Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Linters
uses: oxsecurity/megalinter/flavors/ci_light@v9
env:
FILTER_REGEX_EXCLUDE: 'hypershiftoperator/deploy/crds/|maestro/server/deploy/templates/allow-cluster-service.authorizationpolicy.yaml|acm/deploy/helm/multicluster-engine-config/charts/policy/charts|dev-infrastructure/global-pipeline.yaml|tooling/templatize/testdata/pipeline.yaml'
FILTER_REGEX_EXCLUDE: 'hypershiftoperator/deploy/crds/|maestro/server/deploy/templates/allow-cluster-service.authorizationpolicy.yaml|acm/deploy/helm/multicluster-engine-config/charts/policy/charts|dev-infrastructure/global-pipeline.yaml|tooling/templatize/testdata/pipeline.yaml|tooling/templatize/testdata/zz_fixture_TestRawOptions.yaml'
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ CONTAINER_RUNTIME ?= docker

mega-lint:
$(CONTAINER_RUNTIME) run --rm \
-e FILTER_REGEX_EXCLUDE='hypershiftoperator/deploy/crds/|maestro/server/deploy/templates/allow-cluster-service.authorizationpolicy.yaml|acm/deploy/helm/multicluster-engine-config/charts/policy/charts|dev-infrastructure/global-pipeline.yaml|tooling/templatize/testdata/pipeline.yaml' \
-e FILTER_REGEX_EXCLUDE='hypershiftoperator/deploy/crds/|maestro/server/deploy/templates/allow-cluster-service.authorizationpolicy.yaml|acm/deploy/helm/multicluster-engine-config/charts/policy/charts|dev-infrastructure/global-pipeline.yaml|tooling/templatize/testdata/pipeline.yaml|tooling/templatize/testdata/zz_fixture_TestRawOptions.yaml' \
-e REPORT_OUTPUT_FOLDER=/tmp/report \
-v $${PWD}:/tmp/lint:Z \
docker.io/oxsecurity/megalinter-ci_light:v9
Expand Down
2 changes: 1 addition & 1 deletion test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/Azure/ARO-HCP/internal v0.0.0-00010101000000-000000000000
github.com/Azure/ARO-HCP/test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp v0.0.0-00010101000000-000000000000
github.com/Azure/ARO-HCP/tooling/templatize v0.0.0-20251212175206-b7a20d67a1b7
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v3 v3.0.0-beta.2
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.6.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions test/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8=
github.com/Azure/ARO-HCP/tooling/templatize v0.0.0-20251212175206-b7a20d67a1b7 h1:XNzKg8CJR5zPjBvSWz9uoXohP1EQz/rncIOC3aDeL/A=
github.com/Azure/ARO-HCP/tooling/templatize v0.0.0-20251212175206-b7a20d67a1b7/go.mod h1:YKoGR4oRP892LGk8ah8edz/ZGyWWcQndLJXSpx5zo44=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible h1:fcYLmCpyNYRnvJbPerq7U0hS+6+I79yEDJBqVNcqUzU=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 h1:JXg2dwJUmPB9JmtVmdEB16APJ7jurfbY5jnfXpJoRMc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw=
Expand Down
2 changes: 1 addition & 1 deletion tooling/hcpctl/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/hcpctl
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/Azure/azure-kusto-go v0.16.1
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions tooling/hcpctl/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/azure-kusto-go v0.16.1 h1:vCBWcQghmC1qIErUUgVNWHxGhZVStu1U/hki6iBA14k=
github.com/Azure/azure-kusto-go v0.16.1/go.mod h1:9F2zvXH8B6eWzgI1S4k1ZXAIufnBZ1bv1cW1kB1n3D0=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 h1:JXg2dwJUmPB9JmtVmdEB16APJ7jurfbY5jnfXpJoRMc=
Expand Down
2 changes: 1 addition & 1 deletion tooling/helmtest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/helmtest
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/google/go-cmp v0.7.0
github.com/stretchr/testify v1.11.1
helm.sh/helm/v4 v4.0.0-beta.2
Expand Down
4 changes: 2 additions & 2 deletions tooling/helmtest/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 h1:JXg2dwJUmPB9JmtVmdEB16APJ7jurfbY5jnfXpJoRMc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 h1:KpMC6LFL7mqpExyMC9jVOYRiVhLmamjeZfRsUpB7l4s=
Expand Down
2 changes: 1 addition & 1 deletion tooling/pipeline-documentation/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/pipeline-documentation
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/dusted-go/logging v1.3.0
github.com/go-logr/logr v1.4.3
github.com/spf13/cobra v1.10.2
Expand Down
4 changes: 2 additions & 2 deletions tooling/pipeline-documentation/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/dusted-go/logging v1.3.0 h1:SL/EH1Rp27oJQIte+LjWvWACSnYDTqNx5gZULin0XRY=
Expand Down
2 changes: 1 addition & 1 deletion tooling/secret-sync/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/secret-sync
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/dusted-go/logging v1.3.0
github.com/go-logr/logr v1.4.3
github.com/spf13/cobra v1.10.2
Expand Down
4 changes: 2 additions & 2 deletions tooling/secret-sync/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 h1:JXg2dwJUmPB9JmtVmdEB16APJ7jurfbY5jnfXpJoRMc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 h1:KpMC6LFL7mqpExyMC9jVOYRiVhLmamjeZfRsUpB7l4s=
Expand Down
2 changes: 1 addition & 1 deletion tooling/templatize/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/templatize
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v3 v3.0.0-beta.2
Expand Down
4 changes: 2 additions & 2 deletions tooling/templatize/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 h1:JXg2dwJUmPB9JmtVmdEB16APJ7jurfbY5jnfXpJoRMc=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0/go.mod h1:YD5h/ldMsG0XiIw7PdyNhLxaM317eFh5yNLccNfGdyw=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.0 h1:KpMC6LFL7mqpExyMC9jVOYRiVhLmamjeZfRsUpB7l4s=
Expand Down
10 changes: 6 additions & 4 deletions tooling/templatize/testdata/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ resourceGroups:
value: HCP Service Cluster
configVersion:
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
- name: clusterAccount
action: ClusterLogsAccount
subscriptionId:
Expand All @@ -111,5 +112,6 @@ resourceGroups:
value: HCP Management Cluster
configVersion:
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ resourceGroups:
configVersion:
name: configVersion
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
namespace:
name: namespace
value: ns
Expand All @@ -111,8 +112,9 @@ resourceGroups:
configVersion:
name: configVersion
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
namespace:
name: namespace
value: ns
Expand Down
10 changes: 6 additions & 4 deletions tooling/templatize/testdata/zz_fixture_TestRawOptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ resourceGroups:
value: HCP Service Cluster
configVersion:
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
- name: clusterAccount
action: ClusterLogsAccount
subscriptionId:
Expand All @@ -106,5 +107,6 @@ resourceGroups:
value: HCP Management Cluster
configVersion:
value: version
events:
akskubesystem: kubesystem
eventSources:
akskubesystem:
name: kubesystem
2 changes: 1 addition & 1 deletion tooling/yamlwrap/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Azure/ARO-HCP/tooling/yamlwrap
go 1.24.4

require (
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e
github.com/dusted-go/logging v1.3.0
github.com/go-logr/logr v1.4.3
github.com/spf13/cobra v1.10.2
Expand Down
4 changes: 2 additions & 2 deletions tooling/yamlwrap/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a h1:vJ4Ta1R+nfUEIwY21Wa5bcfZPXNQqvWiNX2xL/dWJFU=
github.com/Azure/ARO-Tools v0.0.0-20251219030559-37f654161c5a/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e h1:/tM/sN1oBnIszvB92fymyIRTlm4SQFoz/ldAokaHpRI=
github.com/Azure/ARO-Tools v0.0.0-20251222195511-54d3b3c6f27e/go.mod h1:x/VSwQ7cQalvlF0YPUJc0JwE86Ii163PhjMfojWcw2k=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
Expand Down