Skip to content

Commit

Permalink
release operating v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikykun committed Dec 29, 2023
1 parent cb95d1a commit 818dbfc
Show file tree
Hide file tree
Showing 7 changed files with 5,558 additions and 115 deletions.
2 changes: 1 addition & 1 deletion charts/operating
4 changes: 2 additions & 2 deletions versions/operating/0.2.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: operating
description: Helm chart for KusionStack Operating
version: 0.1.1
appVersion: 0.1.1
version: 0.2.0
appVersion: 0.2.0
home: https://KusionStack.io
sources:
- https://github.com/KusionStack/operating
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ spec:
format: int32
type: integer
collisionCount:
description: Count of hash collisions for the DaemonSet. The DaemonSet
description: Count of hash collisions for the CollaSet. The CollaSet
controller uses this field as a collision avoidance mechanism when
it needs to create the name for the newest ControllerRevision.
format: int32
Expand Down
5,479 changes: 5,479 additions & 0 deletions versions/operating/0.2.0/templates/crd/apps.kusionstack.io_poddecorations.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
listKind: PodTransitionRuleList
plural: podtransitionrules
shortNames:
- rs
- ptr
singular: podtransitionrule
scope: Namespaced
versions:
Expand Down Expand Up @@ -189,25 +189,41 @@ spec:
webhook.
properties:
caBundle:
description: '`caBundle` is a PEM encoded CA bundle
which will be used to validate the webhook''s server
certificate. If unspecified, system trust roots on
the apiserver are used. After Base64.'
description: CABundle is a PEM encoded CA bundle which
will be used to validate the webhook's server certificate.
type: string
intervalSeconds:
description: interval give the request time interval,
default 5s
format: int64
type: integer
traceTimeoutSeconds:
description: timeout give the request time timeout,
default 60s
format: int64
type: integer
poll:
description: Poll is the polling to query url.
properties:
caBundle:
description: CABundle is a PEM encoded CA bundle
which will be used to validate the webhook's server
certificate.
type: string
intervalSeconds:
description: Interval give the request time interval,
default 5s
format: int64
type: integer
rawQueryKey:
description: ReplaceRawQuery used to replace raw
key. QueryUrl=URL?rawQueryKey=<task-id>, default
is task-id
type: string
timeoutSeconds:
description: TimeoutSeconds give the request time
timeout, default 60s
format: int64
type: integer
url:
description: URL gives the location of the webhook,
URL?task-id=<task-id>
type: string
required:
- url
type: object
url:
description: '`url` gives the location of the webhook,
in standard URL form (`scheme://host:port/path`).
Exactly one of `url` or `service` must be specified.'
description: URL gives the location of the webhook.
type: string
required:
- url
Expand Down Expand Up @@ -251,6 +267,9 @@ spec:
- fieldPath
type: object
x-kubernetes-map-type: atomic
type:
description: Type defines target pod type.
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -311,8 +330,10 @@ spec:
items:
properties:
name:
description: Name representing Pod name
type: string
passed:
description: Passed indicates whether the pod passed all rules
type: boolean
passedRules:
items:
Expand All @@ -328,6 +349,7 @@ spec:
type: object
type: array
stage:
description: Stage is pod current stage
type: string
required:
- passed
Expand All @@ -352,31 +374,39 @@ spec:
description: WebhookStatus is the webhook status representing
processing progress
properties:
itemStatus:
description: PodTransitionRulePodStatus is async request
status representing the info of pods
history:
description: History records history taskStates which were
finished or failed. Valid for 10 minutes
items:
description: ItemStatus defines async request info of
resources
properties:
name:
description: Name representing the name of pod
approved:
items:
type: string
type: array
beginTime:
format: date-time
type: string
lastTime:
format: date-time
type: string
message:
type: string
traceId:
description: TraceId representing async request traceId
processing:
items:
type: string
type: array
taskId:
type: string
webhookChecked:
description: WebhookChecked representing the pod has
pass check
type: boolean
required:
- webhookChecked
type: object
type: array
traceStates:
description: TraceStates is a list of tracing info
taskStates:
description: TaskStates is a list of tracing info
items:
properties:
approved:
items:
type: string
type: array
beginTime:
format: date-time
type: string
Expand All @@ -385,7 +415,11 @@ spec:
type: string
message:
type: string
traceId:
processing:
items:
type: string
type: array
taskId:
type: string
type: object
type: array
Expand Down
78 changes: 4 additions & 74 deletions versions/operating/0.2.0/templates/rbac/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,81 +68,11 @@ rules:
- apiGroups:
- apps.kusionstack.io
resources:
- collasets
- "*"
- "*/status"
- "*/finalizers"
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps.kusionstack.io
resources:
- collasets/finalizers
verbs:
- update
- apiGroups:
- apps.kusionstack.io
resources:
- collasets/status
verbs:
- get
- patch
- update
- apiGroups:
- apps.kusionstack.io
resources:
- resourcecontexts
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps.kusionstack.io
resources:
- resourcecontexts/finalizers
verbs:
- update
- apiGroups:
- apps.kusionstack.io
resources:
- resourcecontexts/status
verbs:
- get
- patch
- update
- apiGroups:
- apps.kusionstack.io
resources:
- podtransitionrules
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps.kusionstack.io
resources:
- podtransitionrules/finalizers
verbs:
- update
- apiGroups:
- apps.kusionstack.io
resources:
- podtransitionrules/status
verbs:
- get
- patch
- update
- "*"
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion versions/operating/0.2.0/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sharding:
controlPlane: kusionstack-operating

image:
tag: v0.1.1
tag: v0.2.0
repo: kusionstack/operating
pullPolicy: IfNotPresent

Expand Down

0 comments on commit 818dbfc

Please sign in to comment.