Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6b65329
Merge pull request #4 from jami1024/fix
colin404 Apr 7, 2024
449641b
fix: onex.sh .bashrc name
OpenCreate Apr 8, 2024
e669d7e
fix: fix missing mongo apt signing_key when install mongodb-mongosh
Apr 8, 2024
b5f07e5
Merge pull request #6 from OpenCreate/master
colin404 Apr 9, 2024
99acc69
Merge pull request #7 from feyounger/master
colin404 Apr 9, 2024
7d45f9f
fix: fix missing add MongoDB APT sources for different system version…
Apr 9, 2024
619894a
docs: fix UserBiz annotation
tsukiyoz Apr 9, 2024
4a8c5b3
fix: onex.sh grep pattern string matching error
OpenCreate Apr 9, 2024
af147fc
chore: auto detects the CPU arch when install kubectl
Apr 10, 2024
e56a0fd
Merge pull request #9 from tsukaychan/fixdoc
colin404 Apr 10, 2024
5ae00a3
Merge pull request #8 from feyounger/master
colin404 Apr 10, 2024
6915f32
Merge pull request #1 from superproj/master
OpenCreate Apr 10, 2024
d2ffddf
fix:selector is required
Apr 10, 2024
dae366a
fix: change mongodb apt source from ubuntu to debian
colin404 Apr 10, 2024
131c0da
fix: fix the wrong component name for mongodb apt source
colin404 Apr 11, 2024
ed1abcb
chore: change mysql default port from 6379 to 3306
colin404 Apr 12, 2024
09318f9
chore: show an error message if curl fails
colin404 Apr 14, 2024
6c476ad
fix: fix onex.sh grep key match error
colin404 Apr 14, 2024
9cb0a43
Merge pull request #11 from goooogoooo/master
colin404 Apr 14, 2024
d3717ba
docs: fix db annotation
goooogoooo Apr 15, 2024
3de9077
fix: serviceName in StatefulSet is required
Apr 21, 2024
309923a
fix: remove -loglevel option for cfssl tool
colin404 Apr 21, 2024
4f02671
fix(etc): change go-version from "go1.22.2" to "1.22.2"
a-firefly Apr 25, 2024
6db5a1d
Revert "fix:selector is required"
colin404 Apr 28, 2024
ed647fe
fix: initial log with log-level passed by MySQLOptions under options.…
Jacob953 Apr 29, 2024
d284a0d
chore: prefixs to prefixes
jianghushinian Apr 30, 2024
ae61c75
chore: modify code comment
jianghushinian Apr 28, 2024
aa34e9b
Merge pull request #15 from goooogoooo/fixdocs
colin404 May 16, 2024
aa308a9
Merge pull request #16 from goooogoooo/fix/statefulset
colin404 May 16, 2024
5958c8e
Merge pull request #19 from jianghushinian/chore/code-comment
colin404 May 16, 2024
2d7775a
Merge pull request #17 from a-firefly/hotfix/go-version
colin404 May 16, 2024
7cb1497
Merge pull request #22 from jianghushinian/chore/code-tidy
colin404 May 16, 2024
9dae1a0
chore: update release method
colin404 May 2, 2024
9ed4908
chore: bump gsemver to v0.9.1
colin404 May 5, 2024
265bfde
fix: correct to the right viper env key format
colin404 May 16, 2024
76f83d1
fix: use the right uber maxprocs package
colin404 May 16, 2024
332fe3c
refactor: code optimize
colin404 Jun 1, 2024
85c6a4a
chore: add k8s yaml sample
colin404 Jun 1, 2024
04f1072
chore: add `--restart always` for to automatic start container
colin404 Jun 1, 2024
03086a2
feat: add code example of using workerpool and ants package
colin404 Jun 1, 2024
ce90e20
feat(pkg): add ptr package handle pointers
colin404 Jun 6, 2024
f30cdba
chore: bump helm to v3.15.1
colin404 Jun 8, 2024
c795119
chore: filter out dirs without go file when compile and build images
colin404 Jun 9, 2024
aa43279
feat: add support to cluster.local cluster domain
colin404 Jun 9, 2024
debeb3d
fix: fix onex installation in k8s
colin404 Jun 9, 2024
3b102af
feat: support finite state machine (fsm)
colin404 Jun 25, 2024
b71e538
refactor: add more logic to user fsm
colin404 Jun 26, 2024
5c19ea5
refactor: optimize user status
colin404 Jun 26, 2024
2a3a6d9
refactor: optimize fsm code
colin404 Jun 27, 2024
e70bc77
refactor: add more logic to user fsm
colin404 Jun 26, 2024
83d4447
refactor: bump kubernetes to v1.30.2 and support CRD
colin404 Jun 9, 2024
f2f5e63
refactor: add bash completion when install kubebuilder
colin404 Jun 20, 2024
32734c3
chore: add crd client-go example
colin404 Jun 21, 2024
d10da16
fix: fix compile error
colin404 Jun 25, 2024
6624dd9
refactor: optimize code
colin404 Jul 2, 2024
666b490
feat: add watch code chassis
colin404 Jul 9, 2024
cffe509
feat: add onex-apiserver code chassis
colin404 Jul 9, 2024
7232f30
Merge branch 'onexstack:master' into master
Jacob953 Mar 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,4 @@ apiserver.local.config
node_modules
_book
/test/data
/test-scripts
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
go1.22.2
1.22.2
10 changes: 6 additions & 4 deletions .todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
[] 代码测试
[] 单元测试
[] 项目注释
[✔] 项目文档补全
[✔] 课程目录补全(精细版)
[?] 生成errors.md?
[?] 对接prometheus
[?] 生成store? --- 只生成internal/usercenter/store下格式的代码
Expand All @@ -29,12 +27,13 @@

[?] https://github.com/samber/lo
[?] loki: https://github.com/piupuer/gin-web
[?] 使用 clientBuilder,参考clusternet-agent源码
[?] 使用 gin + mysql 实现类似kube-apiserver
[?] loft 调研
[?] onex-apiserver 后端对接 ES
[?] 诊断平台

[?] GraphQL API
[?] 添加状态机
[?] 场景:Webhook 展示修改镜像地址??
---

[?] 创建一个项目开发者社区网站 + 群???
Expand Down Expand Up @@ -129,3 +128,6 @@
[✔] 事务回滚
[✔] 添加 .go-version 特性
[✔] 缓存服务添加
[✔] 项目文档补全
[✔] 课程目录补全(精细版)
[✔] 使用 clientBuilder,参考clusternet-agent源码
27 changes: 0 additions & 27 deletions Dockerfile

This file was deleted.

9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ endif

.PHONY: gen-k8s
gen-k8s: ## Generate all necessary kubernetes related files, such as deepcopy files
$(MAKE) -s generated.files
@$(ONEX_ROOT)/scripts/update-codegen.sh
# The following command is old generate way with makefile script.
# Comment here as a code history.
# $(MAKE) -s generated.files

.PHONY: protoc
protoc: ## Generate api proto files.
Expand Down Expand Up @@ -103,8 +106,8 @@ push.multiarch: ## Build docker images for multiple platforms and push images to
##@ Deploy

.PHONY: deploy
deploy: ## Build docker images for host arch, and deploy it in kind cluster.
$(MAKE) deploy.kind
deploy: ## Build and push docker images for host arch, and deploy it in kubernetes cluster.
$(MAKE) deploy.run

.PHONY: docker-install
docker-install: ## Deploy onex with docker.
Expand Down
2 changes: 1 addition & 1 deletion OWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See the OWNERS docs at https://go.k8s.io/owners
KubeVersionedInformers# See the OWNERS docs at https://go.k8s.io/owners

reviewers:
- colin404
Expand Down
6 changes: 1 addition & 5 deletions SECURITY_CONTACTS
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@
# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE
# INSTRUCTIONS AT https://kubernetes.io/security/

cjcullen
joelsmith
liggitt
philips
tallclair
colin404
42 changes: 42 additions & 0 deletions api/api-rules/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Existing API Rule Violations

This folder contains the checked-in report file of known API rule violations.
The file violation\_exceptions.list is used by Make rule during OpenAPI spec generation to make
sure that no new API rule violation is introduced into our code base.

## API Rule Violation Format

The report file [violation\_exceptions.list](./violation_exceptions.list) is in format of:

* ***API rule violation: \<RULE\>,\<PACKAGE\>,\<TYPE\>,\<FIELD\>***

e.g.

* ***API rule violation: names_match,k8s.io/api/core/v1,Event,ReportingController***

And the violation list is sorted alphabetically in each of the \<RULE\>, \<PACKAGE\>, \<TYPE\>, \<FIELD\> levels.

## How to resolve API Rule Check Failure

Make rule returns an error when the newly generated violation report differs from this
checked-in violation report.

Our goal is that exceptions should never be added to this list, only fixed and removed.
For new APIs, this is a hard requirement. For APIs that are e.g. being moved between
versions or groups without other changes, it is OK for your API reviewer to make an
exception.

If you're removing violations from the exception list, or if you have good
reasons to add new violations to this list, please update the file using:

- `UPDATE_API_KNOWN_VIOLATIONS=true ./hack/update-codegen.sh`

It is up to API reviewers to review the list and make sure new APIs follow our API conventions.

**NOTE**: please don't hide changes to this file in a "generated changes" commit, treat it as
source code instead.

## API Rules Being Enforced

For more information about the API rules being checked, please refer to
https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators/rules
9 changes: 9 additions & 0 deletions api/api-rules/aggregator_violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,StatusCause,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Time,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentEncoding
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentType
40 changes: 40 additions & 0 deletions api/api-rules/apiextensions_violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,Ref
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XEmbeddedResource
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XIntOrString
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XListMapKeys
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XListType
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XMapType
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XPreserveUnknownFields
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XValidations
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,JSONSchemas
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrArray,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrBool,Allows
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrBool,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrStringArray,Property
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaPropsOrStringArray,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,CustomResourceColumnDefinition,JSONPath
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,Ref
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XEmbeddedResource
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XIntOrString
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XListMapKeys
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XListType
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XMapType
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XPreserveUnknownFields
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaProps,XValidations
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrArray,JSONSchemas
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrArray,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrBool,Allows
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrBool,Schema
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrStringArray,Property
API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1,JSONSchemaPropsOrStringArray,Schema
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,StatusCause,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Time,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentEncoding
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentType
12 changes: 12 additions & 0 deletions api/api-rules/codegen_violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,StatusCause,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Time,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentEncoding
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentType
API rule violation: names_match,k8s.io/code-generator/examples/apiserver/apis/example/v1,TestTypeStatus,Blah
API rule violation: names_match,k8s.io/code-generator/examples/apiserver/apis/example2/v1,TestTypeStatus,Blah
API rule violation: names_match,k8s.io/code-generator/examples/apiserver/apis/example3.io/v1,TestTypeStatus,Blah
9 changes: 9 additions & 0 deletions api/api-rules/sample_apiserver_violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,APIResourceList,APIResources
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Duration,Duration
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Object
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,InternalEvent,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,MicroTime,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,StatusCause,Type
API rule violation: names_match,k8s.io/apimachinery/pkg/apis/meta/v1,Time,Time
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentEncoding
API rule violation: names_match,k8s.io/apimachinery/pkg/runtime,Unknown,ContentType
File renamed without changes.
10 changes: 5 additions & 5 deletions api/openapi/gateway/v1/gateway.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,21 +680,21 @@
"items": {
"$ref": "#/definitions/v1OwnerReference"
},
"title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge"
"title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge\n+listType=map\n+listMapKey=uid"
},
"finalizers": {
"type": "array",
"items": {
"type": "string"
},
"title": "Must be empty before the object is deleted from the registry. Each entry\nis an identifier for the responsible component that will remove the entry\nfrom the list. If the deletionTimestamp of the object is non-nil, entries\nin this list can only be removed.\nFinalizers may be processed and removed in any order. Order is NOT enforced\nbecause it introduces significant risk of stuck finalizers.\nfinalizers is a shared field, any actor with permission can reorder it.\nIf the finalizer list is processed in order, then this can lead to a situation\nin which the component responsible for the first finalizer in the list is\nwaiting for a signal (field value, external system, or other) produced by a\ncomponent responsible for a finalizer later in the list, resulting in a deadlock.\nWithout enforced ordering finalizers are free to order amongst themselves and\nare not vulnerable to ordering changes in the list.\n+optional\n+patchStrategy=merge"
"title": "Must be empty before the object is deleted from the registry. Each entry\nis an identifier for the responsible component that will remove the entry\nfrom the list. If the deletionTimestamp of the object is non-nil, entries\nin this list can only be removed.\nFinalizers may be processed and removed in any order. Order is NOT enforced\nbecause it introduces significant risk of stuck finalizers.\nfinalizers is a shared field, any actor with permission can reorder it.\nIf the finalizer list is processed in order, then this can lead to a situation\nin which the component responsible for the first finalizer in the list is\nwaiting for a signal (field value, external system, or other) produced by a\ncomponent responsible for a finalizer later in the list, resulting in a deadlock.\nWithout enforced ordering finalizers are free to order amongst themselves and\nare not vulnerable to ordering changes in the list.\n+optional\n+patchStrategy=merge\n+listType=set"
},
"managedFields": {
"type": "array",
"items": {
"$ref": "#/definitions/v1ManagedFieldsEntry"
},
"description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional"
"description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional\n+listType=atomic"
}
},
"description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects\nusers must create."
Expand Down Expand Up @@ -770,7 +770,7 @@
"items": {
"$ref": "#/definitions/v1LabelSelectorRequirement"
},
"title": "matchExpressions is a list of label selector requirements. The requirements are ANDed.\n+optional"
"title": "matchExpressions is a list of label selector requirements. The requirements are ANDed.\n+optional\n+listType=atomic"
}
},
"title": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects.\n+structType=atomic"
Expand All @@ -791,7 +791,7 @@
"items": {
"type": "string"
},
"title": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.\n+optional"
"title": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.\n+optional\n+listType=atomic"
}
},
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values."
Expand Down
12 changes: 6 additions & 6 deletions api/openapi/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Copyright 2024 Lingfei Kong <[email protected]>. All rights reserved.
# Use of this source code is governed by a MIT style
# license that can be found in the LICENSE file. The original repo for
# this file is https://github.com/superproj/onex.
#

# Generated with protoc-gen-openapi
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi

Expand Down Expand Up @@ -1326,6 +1320,7 @@ components:
description: |-
matchExpressions is a list of label selector requirements. The requirements are ANDed.
+optional
+listType=atomic
description: |-
A label selector is a label query over a set of resources. The result of matchLabels and
matchExpressions are ANDed. An empty label selector matches all objects. A null
Expand All @@ -1352,6 +1347,7 @@ components:
the values array must be empty. This array is replaced during a strategic
merge patch.
+optional
+listType=atomic
description: |-
A label selector requirement is a selector that contains values, a key, and an operator that
relates the key and values.
Expand Down Expand Up @@ -1560,6 +1556,8 @@ components:
+optional
+patchMergeKey=uid
+patchStrategy=merge
+listType=map
+listMapKey=uid
finalizers:
type: array
items:
Expand All @@ -1580,6 +1578,7 @@ components:
are not vulnerable to ordering changes in the list.
+optional
+patchStrategy=merge
+listType=set
managedFields:
type: array
items:
Expand All @@ -1594,6 +1593,7 @@ components:
workflow used when modifying the object.

+optional
+listType=atomic
description: |-
ObjectMeta is metadata that all persisted resources must have, which includes all objects
users must create.
Expand Down
Loading