chore: retire TemporalWorker CRD — agent-harness-worker and Forgejo build workflow removed
This commit is contained in:
@@ -18,15 +18,6 @@ rules:
|
||||
- apiGroups: ["kmsvc.io"]
|
||||
resources: ["queues/finalizers"]
|
||||
verbs: ["update"]
|
||||
- apiGroups: ["kmsvc.io"]
|
||||
resources: ["temporalworkers"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
- apiGroups: ["kmsvc.io"]
|
||||
resources: ["temporalworkers/status"]
|
||||
verbs: ["get", "update", "patch"]
|
||||
- apiGroups: ["kmsvc.io"]
|
||||
resources: ["temporalworkers/finalizers"]
|
||||
verbs: ["update"]
|
||||
- apiGroups: ["coordination.k8s.io"]
|
||||
resources: ["leases"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
@@ -36,9 +27,6 @@ rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "nodes"]
|
||||
verbs: ["get"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: temporalworkers.kmsvc.io
|
||||
spec:
|
||||
group: kmsvc.io
|
||||
names:
|
||||
kind: TemporalWorker
|
||||
plural: temporalworkers
|
||||
singular: temporalworker
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
required:
|
||||
- spec
|
||||
properties:
|
||||
apiVersion:
|
||||
type: string
|
||||
kind:
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
type: object
|
||||
description: Temporal worker specification
|
||||
properties:
|
||||
namespace:
|
||||
type: string
|
||||
description: Temporal namespace
|
||||
taskQueue:
|
||||
type: string
|
||||
description: Task queue name
|
||||
workflowTypes:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: List of workflow types to execute
|
||||
activityTypes:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: List of activity types to execute
|
||||
concurrency:
|
||||
type: integer
|
||||
minimum: 1
|
||||
description: Worker concurrency level
|
||||
status:
|
||||
type: object
|
||||
description: Temporal worker status
|
||||
properties:
|
||||
ready:
|
||||
type: boolean
|
||||
lastHeartbeat:
|
||||
type: string
|
||||
format: date-time
|
||||
error:
|
||||
type: string
|
||||
Reference in New Issue
Block a user