Skip to content
Closed
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 = "v3.2.1"
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.2.1"
kcl import -m crd -o . *.yaml
rm -rf v*
mv models/v* .
Expand Down
8 changes: 8 additions & 0 deletions argoproj/v1alpha1/argoproj_io_v1alpha1_app_project.k
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ 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
Expand Down Expand Up @@ -345,6 +349,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 +372,8 @@ schema ArgoprojIoV1alpha1AppProjectSpecSyncWindowsItems0:

clusters?: [str]

description?: str

duration?: str

kind?: str
Expand Down
63 changes: 55 additions & 8 deletions argoproj/v1alpha1/argoproj_io_v1alpha1_application.k
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
"""
import regex
import k8s.apimachinery.pkg.apis.meta.v1
_regex_match = regex.match


schema Application:
Expand Down Expand Up @@ -111,13 +113,17 @@ schema ArgoprojIoV1alpha1ApplicationOperationRetry:
backoff
limit : int, default is Undefined, optional
Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
refresh : bool, default is Undefined, optional
Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)
"""


backoff?: ArgoprojIoV1alpha1ApplicationOperationRetryBackoff

limit?: int

refresh?: bool


schema ArgoprojIoV1alpha1ApplicationOperationRetryBackoff:
r"""
Expand Down Expand Up @@ -1705,9 +1711,11 @@ schema ArgoprojIoV1alpha1ApplicationSpecSourceHydratorSyncSource:
----------
path : str, default is Undefined, required
Path is a directory path within the git repository where hydrated manifests should be committed to and synced
from. If hydrateTo is set, this is just the path from which hydrated manifests will be synced.
from. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which
hydrated manifests will be synced.
targetBranch : str, default is Undefined, required
TargetBranch is the branch to which hydrated manifests should be committed
TargetBranch is the branch from which hydrated manifests will be synced.
If HydrateTo is not set, this is also the branch to which hydrated manifests are committed.
"""


Expand All @@ -1716,6 +1724,11 @@ schema ArgoprojIoV1alpha1ApplicationSpecSourceHydratorSyncSource:
targetBranch: str


check:
len(path) >= 1
_regex_match(str(path), r"^.{2,}|[^./]$")


schema ArgoprojIoV1alpha1ApplicationSpecSourceKustomize:
r"""
Kustomize holds kustomize specific options
Expand Down Expand Up @@ -2470,6 +2483,8 @@ schema ArgoprojIoV1alpha1ApplicationSpecSyncPolicyAutomated:
----------
allowEmpty : bool, default is Undefined, optional
AllowEmpty allows apps have zero live resources (default: false)
enabled : bool, default is Undefined, optional
Enable allows apps to explicitly control automated sync
prune : bool, default is Undefined, optional
Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)
selfHeal : bool, default is Undefined, optional
Expand All @@ -2479,6 +2494,8 @@ schema ArgoprojIoV1alpha1ApplicationSpecSyncPolicyAutomated:

allowEmpty?: bool

enabled?: bool

prune?: bool

selfHeal?: bool
Expand Down Expand Up @@ -2512,13 +2529,17 @@ schema ArgoprojIoV1alpha1ApplicationSpecSyncPolicyRetry:
backoff
limit : int, default is Undefined, optional
Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
refresh : bool, default is Undefined, optional
Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)
"""


backoff?: ArgoprojIoV1alpha1ApplicationSpecSyncPolicyRetryBackoff

limit?: int

refresh?: bool


schema ArgoprojIoV1alpha1ApplicationSpecSyncPolicyRetryBackoff:
r"""
Expand Down Expand Up @@ -2641,8 +2662,10 @@ schema ArgoprojIoV1alpha1ApplicationStatusHealth:
LastTransitionTime is the time the HealthStatus was set or updated
message : str, default is Undefined, optional
Message is a human-readable informational message describing the health status

Deprecated: this field is not used and will be removed in a future release.
status : str, default is Undefined, optional
Status holds the status code of the application or resource
Status holds the status code of the application
"""


Expand Down Expand Up @@ -3799,13 +3822,17 @@ schema ArgoprojIoV1alpha1ApplicationStatusOperationStateOperationRetry:
backoff
limit : int, default is Undefined, optional
Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.
refresh : bool, default is Undefined, optional
Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)
"""


backoff?: ArgoprojIoV1alpha1ApplicationStatusOperationStateOperationRetryBackoff

limit?: int

refresh?: bool


schema ArgoprojIoV1alpha1ApplicationStatusOperationStateOperationRetryBackoff:
r"""
Expand Down Expand Up @@ -5004,6 +5031,8 @@ schema ArgoprojIoV1alpha1ApplicationStatusOperationStateSyncResultResourcesItems
This can also contain values for non-hook resources.
hookType : str, default is Undefined, optional
HookType specifies the type of the hook. Empty for non-hook resources
images : [str], default is Undefined, optional
Images contains the images related to the ResourceResult
kind : str, default is Undefined, required
Kind specifies the API kind of the resource
message : str, default is Undefined, optional
Expand All @@ -5027,6 +5056,8 @@ schema ArgoprojIoV1alpha1ApplicationStatusOperationStateSyncResultResourcesItems

hookType?: str

images?: [str]

kind: str

message?: str
Expand Down Expand Up @@ -6081,10 +6112,12 @@ schema ArgoprojIoV1alpha1ApplicationStatusResourcesItems0Health:
----------
lastTransitionTime : str, default is Undefined, optional
LastTransitionTime is the time the HealthStatus was set or updated

Deprecated: this field is not used and will be removed in a future release.
message : str, default is Undefined, optional
Message is a human-readable informational message describing the health status
status : str, default is Undefined, optional
Status holds the status code of the application or resource
Status holds the status code of the resource
"""


Expand Down Expand Up @@ -6218,9 +6251,11 @@ schema ArgoprojIoV1alpha1ApplicationStatusSourceHydratorCurrentOperationSourceHy
----------
path : str, default is Undefined, required
Path is a directory path within the git repository where hydrated manifests should be committed to and synced
from. If hydrateTo is set, this is just the path from which hydrated manifests will be synced.
from. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which
hydrated manifests will be synced.
targetBranch : str, default is Undefined, required
TargetBranch is the branch to which hydrated manifests should be committed
TargetBranch is the branch from which hydrated manifests will be synced.
If HydrateTo is not set, this is also the branch to which hydrated manifests are committed.
"""


Expand All @@ -6229,6 +6264,11 @@ schema ArgoprojIoV1alpha1ApplicationStatusSourceHydratorCurrentOperationSourceHy
targetBranch: str


check:
len(path) >= 1
_regex_match(str(path), r"^.{2,}|[^./]$")


schema ArgoprojIoV1alpha1ApplicationStatusSourceHydratorLastSuccessfulOperation:
r"""
LastSuccessfulOperation holds info about the most recent successful hydration
Expand Down Expand Up @@ -6318,9 +6358,11 @@ schema ArgoprojIoV1alpha1ApplicationStatusSourceHydratorLastSuccessfulOperationS
----------
path : str, default is Undefined, required
Path is a directory path within the git repository where hydrated manifests should be committed to and synced
from. If hydrateTo is set, this is just the path from which hydrated manifests will be synced.
from. The Path should never point to the root of the repo. If hydrateTo is set, this is just the path from which
hydrated manifests will be synced.
targetBranch : str, default is Undefined, required
TargetBranch is the branch to which hydrated manifests should be committed
TargetBranch is the branch from which hydrated manifests will be synced.
If HydrateTo is not set, this is also the branch to which hydrated manifests are committed.
"""


Expand All @@ -6329,6 +6371,11 @@ schema ArgoprojIoV1alpha1ApplicationStatusSourceHydratorLastSuccessfulOperationS
targetBranch: str


check:
len(path) >= 1
_regex_match(str(path), r"^.{2,}|[^./]$")


schema ArgoprojIoV1alpha1ApplicationStatusSummary:
r"""
Summary contains a list of URLs and container images used by this application
Expand Down
Loading