Skip to content

Commit

Permalink
Follow DWS from HewlettPackard/dws to DataWorkflowServices/dws
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe committed Sep 13, 2023
1 parent ee2d25c commit 59f7305
Show file tree
Hide file tree
Showing 43 changed files with 94 additions and 92 deletions.
6 changes: 3 additions & 3 deletions config/rbac/daemon_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ rules:
- list
- watch
- apiGroups:
- dws.cray.hpe.com
- dataworkflowservices.github.io
resources:
- clientmounts
verbs:
- get
- list
- apiGroups:
- dws.cray.hpe.com
- dataworkflowservices.github.io
resources:
- clientmounts/status
verbs:
- get
- list
- apiGroups:
- dws.cray.hpe.com
- dataworkflowservices.github.io
resources:
- systemconfigurations
verbs:
Expand Down
44 changes: 22 additions & 22 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,28 @@ rules:
- patch
- update
- watch
- apiGroups:
- dataworkflowservices.github.io
resources:
- clientmounts
verbs:
- get
- list
- apiGroups:
- dataworkflowservices.github.io
resources:
- clientmounts/status
verbs:
- get
- list
- apiGroups:
- dataworkflowservices.github.io
resources:
- systemconfigurations
verbs:
- get
- list
- watch
- apiGroups:
- dm.cray.hpe.com
resources:
Expand All @@ -104,28 +126,6 @@ rules:
- get
- patch
- update
- apiGroups:
- dws.cray.hpe.com
resources:
- clientmounts
verbs:
- get
- list
- apiGroups:
- dws.cray.hpe.com
resources:
- clientmounts/status
verbs:
- get
- list
- apiGroups:
- dws.cray.hpe.com
resources:
- systemconfigurations
verbs:
- get
- list
- watch
- apiGroups:
- lus.cray.hpe.com
resources:
Expand Down
8 changes: 4 additions & 4 deletions controllers/datamovement_controller.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021, 2022 Hewlett Packard Enterprise Development LP
* Copyright 2021-2023 Hewlett Packard Enterprise Development LP
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is licensed under the Apache License,
Expand Down Expand Up @@ -51,7 +51,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/predicate"
"sigs.k8s.io/yaml"

dwsv1alpha2 "github.com/HewlettPackard/dws/api/v1alpha2"
dwsv1alpha2 "github.com/DataWorkflowServices/dws/api/v1alpha2"
dmv1alpha1 "github.com/NearNodeFlash/nnf-dm/api/v1alpha1"
"github.com/NearNodeFlash/nnf-dm/controllers/metrics"
nnfv1alpha1 "github.com/NearNodeFlash/nnf-sos/api/v1alpha1"
Expand Down Expand Up @@ -127,8 +127,8 @@ func (i *invalidError) Unwrap() error { return i.err }
//+kubebuilder:rbac:groups=nnf.cray.hpe.com,resources=nnfdatamovements/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=nnf.cray.hpe.com,resources=nnfdatamovements/finalizers,verbs=update
//+kubebuilder:rbac:groups=nnf.cray.hpe.com,resources=nnfstorages,verbs=get;list;watch
//+kubebuilder:rbac:groups=dws.cray.hpe.com,resources=clientmounts,verbs=get;list
//+kubebuilder:rbac:groups=dws.cray.hpe.com,resources=clientmounts/status,verbs=get;list
//+kubebuilder:rbac:groups=dataworkflowservices.github.io,resources=clientmounts,verbs=get;list
//+kubebuilder:rbac:groups=dataworkflowservices.github.io,resources=clientmounts/status,verbs=get;list
//+kubebuilder:rbac:groups=lus.cray.hpe.com,resources=lustrefilesystems,verbs=get;list;watch
//+kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;update
//+kubebuilder:rbac:groups=core,resources=pods/status,verbs=get;list;watch;update
Expand Down
4 changes: 2 additions & 2 deletions daemons/compute/server/servers/server_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/event"
"sigs.k8s.io/controller-runtime/pkg/predicate"

dwsv1alpha2 "github.com/HewlettPackard/dws/api/v1alpha2"
dwsv1alpha2 "github.com/DataWorkflowServices/dws/api/v1alpha2"
lusv1beta1 "github.com/NearNodeFlash/lustre-fs-operator/api/v1beta1"
dmv1alpha1 "github.com/NearNodeFlash/nnf-dm/api/v1alpha1"
nnfv1alpha1 "github.com/NearNodeFlash/nnf-sos/api/v1alpha1"
Expand Down Expand Up @@ -94,7 +94,7 @@ type defaultServer struct {

// Ensure permissions are granted to access the system configuration; this is done so the NNF
// Node Name can be found given a Node Name.
//+kubebuilder:rbac:groups=dws.cray.hpe.com,resources=systemconfigurations,verbs=get;list;watch
//+kubebuilder:rbac:groups=dataworkflowservices.github.io,resources=systemconfigurations,verbs=get;list;watch

func CreateDefaultServer(opts *ServerOptions) (*defaultServer, error) {

Expand Down
10 changes: 6 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module github.com/NearNodeFlash/nnf-dm
go 1.19

require (
github.com/HewlettPackard/dws v0.0.1-0.20230907181649-2f6d9fca4249
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230613180840-6178f2b04900
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230912190441-e4282237ad12
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230913194514-b3de4661519a
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230913195636-cba968acdab5
github.com/onsi/ginkgo/v2 v2.9.1
github.com/onsi/gomega v1.27.3
github.com/prometheus/client_golang v1.14.0
Expand Down Expand Up @@ -75,7 +74,10 @@ require (
sigs.k8s.io/yaml v1.3.0
)

require go.openly.dev/pointy v1.3.0
require (
github.com/DataWorkflowServices/dws v0.0.1-0.20230913193551-2ee6df5c8f3d
go.openly.dev/pointy v1.3.0
)

require (
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/HewlettPackard/dws v0.0.1-0.20230907181649-2f6d9fca4249 h1:t5ibQcHcEL374lxAVVXtHqXOZbPvDVSDSrrAVl7yzBA=
github.com/HewlettPackard/dws v0.0.1-0.20230907181649-2f6d9fca4249/go.mod h1:YvNzcgAPmwhl/YQj6dMwsB9OpwbI5bp/41kINfFiXX8=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230613180840-6178f2b04900 h1:jOrP2H+D5amgHIONcucYS3/kJm6QfmqAG23Ke7elunI=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230613180840-6178f2b04900/go.mod h1:O71nfDnuK7MZZYAW9kaOFTMo48nmDlaYnzISXEPsKSw=
github.com/DataWorkflowServices/dws v0.0.1-0.20230913193551-2ee6df5c8f3d h1:h1KajEbTArilowKKS7hg3Q2MyBkdk68/AmWJRvgv7xw=
github.com/DataWorkflowServices/dws v0.0.1-0.20230913193551-2ee6df5c8f3d/go.mod h1:ZQsfcByZ05Ah9yrgOJsN3JPz4jo374DrdVv8kvcIquA=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230913194514-b3de4661519a h1:IYZulSyDlWL0H4ulbvzR7klbUKNhQxc02Kf9NW/++8U=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20230913194514-b3de4661519a/go.mod h1:pFelIrkMeG0HawfIOphB2A79I22/g3Y7lHrWLEjgD/M=
github.com/NearNodeFlash/nnf-ec v0.0.0-20230526161255-cfb2d89b35d7 h1:y4E3b/Ta6sqv+huYQXYKZmPCMWMZtG2kV8/qgTIpzFI=
github.com/NearNodeFlash/nnf-ec v0.0.0-20230526161255-cfb2d89b35d7/go.mod h1:11Ol46sAWdqlj3WmIFTzKO+UxQX3lvWBqpe6yaiMEIg=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230912190441-e4282237ad12 h1:/5979mYLTlppq/ZHFcXMR2cHs8Jnwfsy0fcZ7RUHdeI=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230912190441-e4282237ad12/go.mod h1:Pe0/9NHKInVZT2CK8NXMeEpiIGI0cGP2tVsmdQWi9oI=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230913195636-cba968acdab5 h1:YHIpZ7SyanMkqD23WHdykjxQaDSq5p03H5BPT5LPfhc=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20230913195636-cba968acdab5/go.mod h1:R84l7sSBPDpvU9rwAhmMh+2Hndk+Uxat2sRDAy2HHhw=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 59f7305

Please sign in to comment.