Skip to content

Commit 907de48

Browse files
committed
Update naming
1 parent 99a3d23 commit 907de48

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

cmd/dag-cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func main() {
1414
outputDir := flag.String("out", "dist", "Directory to save generated JSON files")
1515
flag.Parse()
1616

17-
fmt.Println("🚀 Starting Pequod DAG Compiler...")
17+
fmt.Println("🚀 Starting Nautikus DAG Compiler...")
1818
fmt.Printf(" - Config: %s\n", *configPath)
1919
fmt.Printf(" - Output: %s\n", *outputDir)
2020

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func main() {
160160
WebhookServer: webhookServer,
161161
HealthProbeBindAddress: probeAddr,
162162
LeaderElection: enableLeaderElection,
163-
LeaderElectionID: "0403ed10.pequod.io",
163+
LeaderElectionID: "0403ed10.nautikus.io",
164164
// LeaderElectionReleaseOnCancel defines if the leader should step down voluntarily
165165
// when the Manager ends. This requires the binary to immediately end when the
166166
// Manager is stopped, otherwise, this setting is unsafe. Setting this significantly

config/rbac/dag_editor_role.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# This rule is not used by the project pequod itself.
1+
# This rule is not used by the project nautikus itself.
22
# It is provided to allow the cluster admin to help manage permissions for users.
33
#
4-
# Grants permissions to create, update, and delete resources within the workflow.pequod.io.
4+
# Grants permissions to create, update, and delete resources within the workflow.nautikus.io.
55
# This role is intended for users who need to manage these resources
66
# but should not control RBAC or manage permissions for others.
77

88
apiVersion: rbac.authorization.k8s.io/v1
99
kind: ClusterRole
1010
metadata:
1111
labels:
12-
app.kubernetes.io/name: pequod
12+
app.kubernetes.io/name: nautikus
1313
app.kubernetes.io/managed-by: kustomize
1414
name: dag-editor-role
1515
rules:
1616
- apiGroups:
17-
- workflow.pequod.io
17+
- workflow.nautikus.io
1818
resources:
1919
- dags
2020
verbs:
@@ -26,7 +26,7 @@ rules:
2626
- update
2727
- watch
2828
- apiGroups:
29-
- workflow.pequod.io
29+
- workflow.nautikus.io
3030
resources:
3131
- dags/status
3232
verbs:

config/rbac/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resources:
2020
- metrics_reader_role.yaml
2121
# For each CRD, "Admin", "Editor" and "Viewer" roles are scaffolded by
2222
# default, aiding admins in cluster management. Those roles are
23-
# not used by the pequod itself. You can comment the following lines
23+
# not used by the nautikus itself. You can comment the following lines
2424
# if you do not want those helpers be installed with your Project.
2525
- dag_admin_role.yaml
2626
- dag_editor_role.yaml

config/rbac/leader_election_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
33
kind: Role
44
metadata:
55
labels:
6-
app.kubernetes.io/name: pequod
6+
app.kubernetes.io/name: nautikus
77
app.kubernetes.io/managed-by: kustomize
88
name: leader-election-role
99
rules:

config/rbac/role.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
44
labels:
5-
app.kubernetes.io/name: pequod
5+
app.kubernetes.io/name: nautikus
66
app.kubernetes.io/managed-by: kustomize
77
name: manager-role
88
rules:
@@ -19,7 +19,7 @@ rules:
1919
- patch
2020
- delete
2121
- apiGroups:
22-
- workflow.pequod.io
22+
- workflow.nautikus.io
2323
resources:
2424
- dags
2525
verbs:
@@ -31,15 +31,15 @@ rules:
3131
- patch
3232
- delete
3333
- apiGroups:
34-
- workflow.pequod.io
34+
- workflow.nautikus.io
3535
resources:
3636
- dags/status
3737
verbs:
3838
- get
3939
- update
4040
- patch
4141
- apiGroups:
42-
- workflow.pequod.io
42+
- workflow.nautikus.io
4343
resources:
4444
- dags/finalizers
4545
verbs:

config/samples/workflow_v1_dag_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ spec:
66
tasks:
77
- name: hello-task
88
type: Bash
9-
command: "echo 'Hello from Pequod!'"
9+
command: "echo 'Hello from Nautikus!'"

internal/controller/dag_controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
)
1919

2020
// DagReconciler reconciles a Dag object
21-
// +kubebuilder:rbac:groups=workflow.pequod.io,resources=dags,verbs=get;list;watch;create;update;patch;delete
22-
// +kubebuilder:rbac:groups=workflow.pequod.io,resources=dags/status,verbs=get;update;patch
23-
// +kubebuilder:rbac:groups=workflow.pequod.io,resources=dags/finalizers,verbs=update
21+
// +kubebuilder:rbac:groups=workflow.nautikus.io,resources=dags,verbs=get;list;watch;create;update;patch;delete
22+
// +kubebuilder:rbac:groups=workflow.nautikus.io,resources=dags/status,verbs=get;update;patch
23+
// +kubebuilder:rbac:groups=workflow.nautikus.io,resources=dags/finalizers,verbs=update
2424
// +kubebuilder:rbac:groups="",resources=pods,verbs=get;list;watch;create;update;patch;delete
2525
type DagReconciler struct {
2626
client.Client

test/dags/go_dag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func main() {
3131
// Define DAG
3232
dag := workflowv1.Dag{
3333
TypeMeta: metav1.TypeMeta{
34-
APIVersion: "workflow.pequod.io/v1",
34+
APIVersion: "workflow.nautikus.io/v1",
3535
Kind: "Dag",
3636
},
3737
ObjectMeta: metav1.ObjectMeta{

test/e2e/e2e_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var (
4242

4343
// projectImage is the name of the image which will be build and loaded
4444
// with the code source changes to be tested.
45-
projectImage = "example.com/pequod:v0.0.1"
45+
projectImage = "example.com/nautikus:v0.0.1"
4646
)
4747

4848
// TestE2E runs the end-to-end (e2e) test suite for the project. These tests execute in an isolated,
@@ -51,7 +51,7 @@ var (
5151
// CertManager.
5252
func TestE2E(t *testing.T) {
5353
RegisterFailHandler(Fail)
54-
_, _ = fmt.Fprintf(GinkgoWriter, "Starting pequod integration test suite\n")
54+
_, _ = fmt.Fprintf(GinkgoWriter, "Starting nautikus integration test suite\n")
5555
RunSpecs(t, "e2e suite")
5656
}
5757

0 commit comments

Comments
 (0)