@@ -19,16 +19,17 @@ import (
1919
2020func TestCRDS (t * testing.T ) {
2121 names := map [string ]struct {}{
22- "clusters.redpanda.vectorized.io" : {},
23- "consoles.cluster.redpanda.com" : {},
24- "consoles.redpanda.vectorized.io" : {},
25- "nodepools.cluster.redpanda.com" : {},
26- "redpandas.cluster.redpanda.com" : {},
27- "redpandaroles.cluster.redpanda.com" : {},
28- "schemas.cluster.redpanda.com" : {},
29- "shadowlinks.cluster.redpanda.com" : {},
30- "topics.cluster.redpanda.com" : {},
31- "users.cluster.redpanda.com" : {},
22+ "clusters.redpanda.vectorized.io" : {},
23+ "consoles.cluster.redpanda.com" : {},
24+ "consoles.redpanda.vectorized.io" : {},
25+ "nodepools.cluster.redpanda.com" : {},
26+ "redpandas.cluster.redpanda.com" : {},
27+ "redpandaroles.cluster.redpanda.com" : {},
28+ "schemas.cluster.redpanda.com" : {},
29+ "shadowlinks.cluster.redpanda.com" : {},
30+ "stretchclusters.cluster.redpanda.com" : {},
31+ "topics.cluster.redpanda.com" : {},
32+ "users.cluster.redpanda.com" : {},
3233 }
3334
3435 foundNames := map [string ]struct {}{}
@@ -44,6 +45,7 @@ func TestCRDS(t *testing.T) {
4445 require .Equal (t , "redpandaroles.cluster.redpanda.com" , crds .Role ().Name )
4546 require .Equal (t , "schemas.cluster.redpanda.com" , crds .Schema ().Name )
4647 require .Equal (t , "shadowlinks.cluster.redpanda.com" , crds .ShadowLink ().Name )
48+ require .Equal (t , "stretchclusters.cluster.redpanda.com" , crds .StretchCluster ().Name )
4749 require .Equal (t , "topics.cluster.redpanda.com" , crds .Topic ().Name )
4850 require .Equal (t , "users.cluster.redpanda.com" , crds .User ().Name )
4951}
0 commit comments