Skip to content
Open
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
16 changes: 8 additions & 8 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: slurm-operator
repo: github.com/SlinkyProject/slurm-operator
repo: github.com/togethercomputer/slurm-operator
resources:
- api:
crdVersion: v1beta1
Expand All @@ -18,7 +18,7 @@ resources:
domain: slurm.net
group: slinky
kind: Controller
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -30,7 +30,7 @@ resources:
domain: slurm.net
group: slinky
kind: RestApi
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -42,7 +42,7 @@ resources:
domain: slurm.net
group: slinky
kind: Accounting
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -54,7 +54,7 @@ resources:
domain: slurm.net
group: slinky
kind: NodeSet
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -66,7 +66,7 @@ resources:
domain: slurm.net
group: slinky
kind: LoginSet
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -78,7 +78,7 @@ resources:
domain: slurm.net
group: slinky
kind: Token
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
webhooks:
validation: true
Expand All @@ -90,6 +90,6 @@ resources:
domain: slurm.net
group: slinky
kind: Controller
path: github.com/SlinkyProject/slurm-operator/api/v1beta1
path: github.com/togethercomputer/slurm-operator/api/v1beta1
version: v1beta1
version: "3"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div align="center">

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge)](./LICENSES/Apache-2.0.txt)
[![Tag](https://img.shields.io/github/v/tag/SlinkyProject/slurm-operator?style=for-the-badge)](https://github.com/SlinkyProject/slurm-operator/tags/)
[![Go-Version](https://img.shields.io/github/go-mod/go-version/SlinkyProject/slurm-operator?style=for-the-badge)](./go.mod)
[![Last-Commit](https://img.shields.io/github/last-commit/SlinkyProject/slurm-operator?style=for-the-badge)](https://github.com/SlinkyProject/slurm-operator/commits/)
[![Tag](https://img.shields.io/github/v/tag/togethercomputer/slurm-operator?style=for-the-badge)](https://github.com/togethercomputer/slurm-operator/tags/)
[![Go-Version](https://img.shields.io/github/go-mod/go-version/togethercomputer/slurm-operator?style=for-the-badge)](./go.mod)
[![Last-Commit](https://img.shields.io/github/last-commit/togethercomputer/slurm-operator?style=for-the-badge)](https://github.com/togethercomputer/slurm-operator/commits/)

</div>

Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/accounting_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/SlinkyProject/slurm-operator/internal/utils/domainname"
"github.com/togethercomputer/slurm-operator/internal/utils/domainname"
)

func (o *Accounting) Key() types.NamespacedName {
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/controller_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/SlinkyProject/slurm-operator/internal/utils/domainname"
"github.com/togethercomputer/slurm-operator/internal/utils/domainname"
)

func (o *Controller) ClusterName() string {
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/loginset_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/SlinkyProject/slurm-operator/internal/utils/domainname"
"github.com/togethercomputer/slurm-operator/internal/utils/domainname"
)

func (o *LoginSet) Key() types.NamespacedName {
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta1/restapi_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"k8s.io/apimachinery/pkg/types"

"github.com/SlinkyProject/slurm-operator/internal/utils/domainname"
"github.com/togethercomputer/slurm-operator/internal/utils/domainname"
)

func (o *RestApi) Key() types.NamespacedName {
Expand Down
18 changes: 9 additions & 9 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log/zap"
"sigs.k8s.io/controller-runtime/pkg/metrics/server"

slinkyv1beta1 "github.com/SlinkyProject/slurm-operator/api/v1beta1"
"github.com/SlinkyProject/slurm-operator/internal/clientmap"
"github.com/SlinkyProject/slurm-operator/internal/controller/accounting"
"github.com/SlinkyProject/slurm-operator/internal/controller/controller"
"github.com/SlinkyProject/slurm-operator/internal/controller/loginset"
"github.com/SlinkyProject/slurm-operator/internal/controller/nodeset"
"github.com/SlinkyProject/slurm-operator/internal/controller/restapi"
"github.com/SlinkyProject/slurm-operator/internal/controller/slurmclient"
"github.com/SlinkyProject/slurm-operator/internal/controller/token"
slinkyv1beta1 "github.com/togethercomputer/slurm-operator/api/v1beta1"
"github.com/togethercomputer/slurm-operator/internal/clientmap"
"github.com/togethercomputer/slurm-operator/internal/controller/accounting"
"github.com/togethercomputer/slurm-operator/internal/controller/controller"
"github.com/togethercomputer/slurm-operator/internal/controller/loginset"
"github.com/togethercomputer/slurm-operator/internal/controller/nodeset"
"github.com/togethercomputer/slurm-operator/internal/controller/restapi"
"github.com/togethercomputer/slurm-operator/internal/controller/slurmclient"
"github.com/togethercomputer/slurm-operator/internal/controller/token"
// +kubebuilder:scaffold:imports
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

slinkyv1beta1 "github.com/SlinkyProject/slurm-operator/api/v1beta1"
slinkywebhook "github.com/SlinkyProject/slurm-operator/internal/webhook"
slinkyv1beta1 "github.com/togethercomputer/slurm-operator/api/v1beta1"
slinkywebhook "github.com/togethercomputer/slurm-operator/internal/webhook"
// +kubebuilder:scaffold:imports
)

Expand Down
6 changes: 3 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ target "_common" {
labels = {
# Ref: https://github.com/opencontainers/image-spec/blob/v1.0/annotations.md
"org.opencontainers.image.authors" = "[email protected]"
"org.opencontainers.image.documentation" = "https://github.com/SlinkyProject/slurm-operator"
"org.opencontainers.image.documentation" = "https://github.com/togethercomputer/slurm-operator"
"org.opencontainers.image.license" = "Apache-2.0"
"org.opencontainers.image.vendor" = "SchedMD LLC."
"org.opencontainers.image.version" = "${VERSION}"
"org.opencontainers.image.source" = "https://github.com/SlinkyProject/slurm-operator"
"org.opencontainers.image.source" = "https://github.com/togethercomputer/slurm-operator"
# Ref: https://docs.redhat.com/en/documentation/red_hat_software_certification/2025/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
"vendor" = "SchedMD LLC."
"version" = "${VERSION}"
"release" = "https://github.com/SlinkyProject/slurm-operator"
"release" = "https://github.com/togethercomputer/slurm-operator"
}
}

Expand Down
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ limitations under the License.

.. |License| image:: https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge
:target: ./LICENSES/Apache-2.0.txt
.. |Tag| image:: https://img.shields.io/github/v/tag/SlinkyProject/slurm-operator?style=for-the-badge
:target: https://github.com/SlinkyProject/slurm-operator/tags/
.. |Go-Version| image:: https://img.shields.io/github/go-mod/go-version/SlinkyProject/slurm-operator?style=for-the-badge
.. |Tag| image:: https://img.shields.io/github/v/tag/togethercomputer/slurm-operator?style=for-the-badge
:target: https://github.com/togethercomputer/slurm-operator/tags/
.. |Go-Version| image:: https://img.shields.io/github/go-mod/go-version/togethercomputer/slurm-operator?style=for-the-badge
:target: ./go.mod
.. |Last-Commit| image:: https://img.shields.io/github/last-commit/SlinkyProject/slurm-operator?style=for-the-badge
:target: https://github.com/SlinkyProject/slurm-operator/commits/
.. |Last-Commit| image:: https://img.shields.io/github/last-commit/togethercomputer/slurm-operator?style=for-the-badge
:target: https://github.com/togethercomputer/slurm-operator/commits/

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion docs/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ any kind (e.g., component flag changes).
[semver]: https://semver.org/
[slurm-bridge]: https://github.com/SlinkyProject/slurm-bridge
[slurm-client]: https://github.com/SlinkyProject/slurm-client
[slurm-operator]: https://github.com/SlinkyProject/slurm-operator
[slurm-operator]: https://github.com/togethercomputer/slurm-operator
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/SlinkyProject/slurm-operator
module github.com/togethercomputer/slurm-operator

go 1.25.0

Expand Down
2 changes: 1 addition & 1 deletion helm/slurm-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ home: https://slinky.schedmd.com/
icon: https://github.com/SlinkyProject/docs/blob/main/docs/_static/images/slinky.svg

sources:
- https://github.com/SlinkyProject/slurm-operator
- https://github.com/togethercomputer/slurm-operator

maintainers:
- name: SchedMD LLC.
Expand Down
2 changes: 1 addition & 1 deletion helm/slurm-operator-crds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Slurm Operator CRDs

## Source Code

* <https://github.com/SlinkyProject/slurm-operator>
* <https://github.com/togethercomputer/slurm-operator>

2 changes: 1 addition & 1 deletion helm/slurm-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ home: https://slinky.schedmd.com/
icon: https://github.com/SlinkyProject/docs/blob/main/docs/_static/images/slinky.svg

sources:
- https://github.com/SlinkyProject/slurm-operator
- https://github.com/togethercomputer/slurm-operator

maintainers:
- name: SchedMD LLC.
Expand Down
2 changes: 1 addition & 1 deletion helm/slurm-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Slurm Operator

## Source Code

* <https://github.com/SlinkyProject/slurm-operator>
* <https://github.com/togethercomputer/slurm-operator>

## Requirements

Expand Down
1 change: 1 addition & 0 deletions helm/slurm-operator/templates/operator/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ rules:
- list
- watch
- patch
- update
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion helm/slurm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ icon: https://github.com/SlinkyProject/docs/blob/main/docs/_static/images/slurm-
sources:
- https://github.com/SchedMD/slurm
- https://github.com/SlinkyProject/containers
- https://github.com/SlinkyProject/slurm-operator
- https://github.com/togethercomputer/slurm-operator

maintainers:
- name: SchedMD LLC.
Expand Down
2 changes: 1 addition & 1 deletion helm/slurm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Slurm Cluster

* <https://github.com/SchedMD/slurm>
* <https://github.com/SlinkyProject/containers>
* <https://github.com/SlinkyProject/slurm-operator>
* <https://github.com/togethercomputer/slurm-operator>

## Requirements

Expand Down
24 changes: 24 additions & 0 deletions helm/slurm/templates/_slurm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,27 @@ Define auth/jwt HS256 secret ref key
{{- define "slurm.authJwtHs256Ref.key" -}}
{{- print "jwt_hs256.key" -}}
{{- end }}

{{/*
Define login name
*/}}
{{- define "slurm.login.name" -}}
{{- printf "%s-login" (include "slurm.fullname" .) -}}
{{- end }}

{{/*
Define login labels
*/}}
{{- define "slurm.login.labels" -}}
app.kubernetes.io/component: login
{{ include "slurm.login.selectorLabels" . }}
{{ include "slurm.labels" . }}
{{- end }}

{{/*
Define login selectorLabels
*/}}
{{- define "slurm.login.selectorLabels" -}}
app.kubernetes.io/name: login
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
Loading