Skip to content

Commit

Permalink
Enable telemetry in functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzigold committed Nov 20, 2024
1 parent 8414824 commit 22526cd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/functional/ctlplane/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,20 @@ func GetDefaultOpenStackControlPlaneSpec() map[string]interface{} {
"AuthEncryptionKey": "HeatAuthEncryptionKey",
},
}
telemetryTemplate := map[string]interface{}{
"ceilometer": map[string]interface{}{
"enabled": false,
},
"metricStorage": map[string]interface{}{
"enabled": false,
},
"logging": map[string]interface{}{
"enabled": false,
},
"autoscaling": map[string]interface{}{
"enabled": false,
},
}

return map[string]interface{}{
"secret": "osp-secret",
Expand Down Expand Up @@ -483,6 +497,10 @@ func GetDefaultOpenStackControlPlaneSpec() map[string]interface{} {
"enabled": true,
"template": heatTemplate,
},
"telemetry": map[string]interface{}{
"enabled": true,
"template": telemetryTemplate,
},
}
}

Expand Down
3 changes: 3 additions & 0 deletions tests/functional/ctlplane/openstackversion_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ var _ = Describe("OpenStackOperator controller", func() {
spec["heat"] = map[string]interface{}{
"enabled": false,
}
spec["telemetry"] = map[string]interface{}{
"enabled": false,
}
spec["tls"] = GetTLSPublicSpec()
spec["ovn"] = map[string]interface{}{
"enabled": true,
Expand Down

0 comments on commit 22526cd

Please sign in to comment.