Skip to content

Commit

Permalink
Merge pull request #169 from rancher/release-030
Browse files Browse the repository at this point in the history
Update for version v0.3.0
  • Loading branch information
dbason authored Dec 11, 2021
2 parents c0bf325 + 0909607 commit fee96c5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 2 additions & 0 deletions apis/v1beta1/opnicluster_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func (s ServiceKind) ImageName() string {
switch s {
case GPUControllerService:
return "opni-gpu-service-controller"
case UIService:
return "opni-ui"
default:
return "opni-" + s.String() + "-service"
}
Expand Down
12 changes: 5 additions & 7 deletions deploy/manifests/20_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
name: cluster
namespace: opni
spec:
version: v0.2.1
version: v0.3.0
deployLogCollector: true
services:
gpuController:
Expand All @@ -33,12 +33,10 @@ spec:
pretrainedModels:
- name: control-plane
metrics:
enabled: false # metrics anomaly detection is currently experimental
prometheusEndpoint: http://prometheus-url # metrics anomaly detection requires a prometheus url to connect to.
insights:
enabled: false
ui:
enabled: false
enabled: false # metrics anomaly detection is currently beta
prometheuus:
name: prometheus-name #The name of the prometheus resource
namespace: promethues-namespace #The namespace the prometheus resource is in
elastic:
version: 1.1.0
s3:
Expand Down
2 changes: 1 addition & 1 deletion deploy/patches/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ kind: OpniCluster
metadata:
name: cluster
spec:
version: v0.2.1
version: v0.3.0
elastic:
version: 1.1.0
8 changes: 1 addition & 7 deletions test/e2e/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ var _ = Describe("OpniCluster E2E Test", Label("e2e"), func() {
Namespace: clusterCrNamespace,
},
Spec: v1beta1.OpniClusterSpec{
Version: "v0.2.1",
Version: "v0.3.0",
DeployLogCollector: pointer.BoolPtr(true),
Services: v1beta1.ServicesSpec{
GPUController: v1beta1.GPUControllerServiceSpec{
Expand All @@ -133,12 +133,6 @@ var _ = Describe("OpniCluster E2E Test", Label("e2e"), func() {
},
},
},
Insights: v1beta1.InsightsServiceSpec{
Enabled: pointer.BoolPtr(false),
},
UI: v1beta1.UIServiceSpec{
Enabled: pointer.BoolPtr(false),
},
},
Elastic: v1beta1.ElasticSpec{
Version: "1.1.0",
Expand Down

0 comments on commit fee96c5

Please sign in to comment.