Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion argoproj/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "argoproj"
version = "3.0.12"
version = "3.3.0-rc1"
description = "`argoproj` module contains definitions for argoproj"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion argoproj/update.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -Eeuo pipefail

./download_crd.sh "v3.0.12"
./download_crd.sh "v3.3.0-rc1"
kcl import -m crd -o . *.yaml
rm -rf v*
mv models/v* .
Expand Down
24 changes: 20 additions & 4 deletions argoproj/v1alpha1/argoproj_io_v1alpha1_app_project.k
Original file line number Diff line number Diff line change
Expand Up @@ -106,43 +106,55 @@ schema ArgoprojIoV1alpha1AppProjectSpec:
syncWindows?: [ArgoprojIoV1alpha1AppProjectSpecSyncWindowsItems0]


check:
len(description) <= 255 if description


schema ArgoprojIoV1alpha1AppProjectSpecClusterResourceBlacklistItems0:
r"""
GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying
concepts during lookup stages without having partially valid types
ClusterResourceRestrictionItem is a cluster resource that is restricted by the project's whitelist or blacklist

Attributes
----------
group : str, default is Undefined, required
group
kind : str, default is Undefined, required
kind
name : str, default is Undefined, optional
Name is the name of the restricted resource. Glob patterns using Go's filepath.Match syntax are supported.
Unlike the group and kind fields, if no name is specified, all resources of the specified group/kind are matched.
"""


group: str

kind: str

name?: str


schema ArgoprojIoV1alpha1AppProjectSpecClusterResourceWhitelistItems0:
r"""
GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying
concepts during lookup stages without having partially valid types
ClusterResourceRestrictionItem is a cluster resource that is restricted by the project's whitelist or blacklist

Attributes
----------
group : str, default is Undefined, required
group
kind : str, default is Undefined, required
kind
name : str, default is Undefined, optional
Name is the name of the restricted resource. Glob patterns using Go's filepath.Match syntax are supported.
Unlike the group and kind fields, if no name is specified, all resources of the specified group/kind are matched.
"""


group: str

kind: str

name?: str


schema ArgoprojIoV1alpha1AppProjectSpecDestinationServiceAccountsItems0:
r"""
Expand Down Expand Up @@ -345,6 +357,8 @@ schema ArgoprojIoV1alpha1AppProjectSpecSyncWindowsItems0:
Applications contains a list of applications that the window will apply to
clusters : [str], default is Undefined, optional
Clusters contains a list of clusters that the window will apply to
description : str, default is Undefined, optional
Description of the sync that will be applied to the schedule, can be used to add any information such as a ticket number for example
duration : str, default is Undefined, optional
Duration is the amount of time the sync window will be open
kind : str, default is Undefined, optional
Expand All @@ -366,6 +380,8 @@ schema ArgoprojIoV1alpha1AppProjectSpecSyncWindowsItems0:

clusters?: [str]

description?: str

duration?: str

kind?: str
Expand Down
Loading