Skip to content
Merged
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
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import (
ironcorev1alpha1 "github.com/cobaltcore-dev/cortex/api/delegation/ironcore/v1alpha1"
"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/extractor"
"github.com/cobaltcore-dev/cortex/internal/knowledge/kpis"
"github.com/cobaltcore-dev/cortex/internal/scheduling/cinder"
Expand Down
4 changes: 2 additions & 2 deletions dist/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cortex
description: A Helm chart to distribute cortex.
type: application
version: 0.0.10
appVersion: "sha-d731bc90"
version: 0.0.11
appVersion: "sha-53e63ba9"
icon: "https://example.com/icon.png"
dependencies: []
3 changes: 0 additions & 3 deletions dist/chart/templates/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ rules:
- reservations
- decisions
- deschedulings
- steps
- pipelines
- kpis
verbs:
Expand All @@ -34,7 +33,6 @@ rules:
- reservations/finalizers
- decisions/finalizers
- deschedulings/finalizers
- steps/finalizers
- pipelines/finalizers
- kpis/finalizers
verbs:
Expand All @@ -47,7 +45,6 @@ rules:
- reservations/status
- decisions/status
- deschedulings/status
- steps/status
- pipelines/status
- kpis/status
verbs:
Expand Down
8 changes: 4 additions & 4 deletions helm/bundles/cortex-cinder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ apiVersion: v2
name: cortex-cinder
description: A Helm chart deploying Cortex for Cinder.
type: application
version: 0.0.23
version: 0.0.24
appVersion: 0.1.0
dependencies:
# from: file://../../library/cortex-postgres
- name: cortex-postgres
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.5.7
version: 0.5.8

# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-knowledge-controllers
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-scheduling-controllers

# Owner info adds a configmap to the kubernetes cluster with information on
Expand Down
4 changes: 2 additions & 2 deletions helm/bundles/cortex-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ apiVersion: v2
name: cortex-crds
description: A Helm chart deploying Cortex CRDs.
type: application
version: 0.0.23
version: 0.0.24
appVersion: 0.1.0
dependencies:
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11

# Owner info adds a configmap to the kubernetes cluster with information on
# the service owner. This makes it easier to find out who to contact in case
Expand Down
4 changes: 2 additions & 2 deletions helm/bundles/cortex-ironcore/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ apiVersion: v2
name: cortex-ironcore
description: A Helm chart deploying Cortex for IronCore.
type: application
version: 0.0.23
version: 0.0.24
appVersion: 0.1.0
dependencies:
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11

# Owner info adds a configmap to the kubernetes cluster with information on
# the service owner. This makes it easier to find out who to contact in case
Expand Down
8 changes: 4 additions & 4 deletions helm/bundles/cortex-manila/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ apiVersion: v2
name: cortex-manila
description: A Helm chart deploying Cortex for Manila.
type: application
version: 0.0.23
version: 0.0.24
appVersion: 0.1.0
dependencies:
# from: file://../../library/cortex-postgres
- name: cortex-postgres
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.5.7
version: 0.5.8

# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-knowledge-controllers
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-scheduling-controllers

# Owner info adds a configmap to the kubernetes cluster with information on
Expand Down
8 changes: 4 additions & 4 deletions helm/bundles/cortex-nova/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ apiVersion: v2
name: cortex-nova
description: A Helm chart deploying Cortex for Nova.
type: application
version: 0.0.23
version: 0.0.24
appVersion: 0.1.0
dependencies:
# from: file://../../library/cortex-postgres
- name: cortex-postgres
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.5.7
version: 0.5.8

# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-knowledge-controllers
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11
alias: cortex-scheduling-controllers

# Owner info adds a configmap to the kubernetes cluster with information on
Expand Down
2 changes: 1 addition & 1 deletion helm/bundles/cortex-pods/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
# from: file://../../../dist/chart
- name: cortex
repository: oci://ghcr.io/cobaltcore-dev/cortex/charts
version: 0.0.10
version: 0.0.11

# Owner info adds a configmap to the kubernetes cluster with information on
# the service owner. This makes it easier to find out who to contact in case
Expand Down
4 changes: 2 additions & 2 deletions helm/library/cortex-postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ apiVersion: v2
name: cortex-postgres
description: Postgres setup for Cortex.
type: application
version: 0.5.7
appVersion: "sha-55efebd"
version: 0.5.8
appVersion: "sha-0c8d9290"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/pkg/keystone"
"github.com/gophercloud/gophercloud/v2"
"github.com/prometheus/client_golang/prometheus"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/pkg/keystone"
testlibKeystone "github.com/cobaltcore-dev/cortex/pkg/keystone/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/pkg/db"
"github.com/go-gorp/gorp"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
testlibKeystone "github.com/cobaltcore-dev/cortex/pkg/keystone/testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/cinder"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/limes"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/manila"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/placement"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/cinder"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/limes"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/manila"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/placement"
"github.com/cobaltcore-dev/cortex/pkg/db"
"github.com/cobaltcore-dev/cortex/pkg/keystone"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
testlib "github.com/cobaltcore-dev/cortex/pkg/testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/placement"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/placement"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/placement"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/placement"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
testlib "github.com/cobaltcore-dev/cortex/pkg/testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/identity"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
testlib "github.com/cobaltcore-dev/cortex/pkg/testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/placement"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/placement"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/nova"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"

"github.com/cobaltcore-dev/cortex/api/v1alpha1"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/openstack/manila"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/prometheus"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/openstack/manila"
"github.com/cobaltcore-dev/cortex/internal/knowledge/datasources/plugins/prometheus"
"github.com/cobaltcore-dev/cortex/pkg/db"
testlibDB "github.com/cobaltcore-dev/cortex/pkg/db/testing"
)
Expand Down
Loading