Skip to content

Commit

Permalink
bump the replace deps, and re-run codegen
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller committed Dec 5, 2023
1 parent dc86a79 commit 360d914
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 29 deletions.
50 changes: 25 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -202,29 +202,29 @@ require (

replace (
github.com/go-check/check => github.com/go-check/check v0.0.0-20180628173108-788fd7840127
k8s.io/api v0.0.0 => k8s.io/api v0.25.8
k8s.io/apiextensions-apiserver v0.0.0 => k8s.io/apiextensions-apiserver v0.25.8
k8s.io/apimachinery v0.0.0 => k8s.io/apimachinery v0.25.8
k8s.io/apiserver v0.0.0 => k8s.io/apiserver v0.25.8
k8s.io/cli-runtime v0.0.0 => k8s.io/cli-runtime v0.25.8
k8s.io/client-go v0.0.0 => k8s.io/client-go v0.25.8
k8s.io/cloud-provider v0.0.0 => k8s.io/cloud-provider v0.25.8
k8s.io/cluster-bootstrap v0.0.0 => k8s.io/cluster-bootstrap v0.25.8
k8s.io/code-generator v0.0.0 => k8s.io/code-generator v0.25.8
k8s.io/component-base v0.0.0 => k8s.io/component-base v0.25.8
k8s.io/component-helpers v0.0.0 => k8s.io/component-helpers v0.25.8
k8s.io/controller-manager v0.0.0 => k8s.io/controller-manager v0.25.8
k8s.io/cri-api v0.0.0 => k8s.io/cri-api v0.25.8
k8s.io/csi-translation-lib v0.0.0 => k8s.io/csi-translation-lib v0.25.8
k8s.io/kube-aggregator v0.0.0 => k8s.io/kube-aggregator v0.25.8
k8s.io/kube-controller-manager v0.0.0 => k8s.io/kube-controller-manager v0.25.8
k8s.io/kube-proxy v0.0.0 => k8s.io/kube-proxy v0.25.8
k8s.io/kube-scheduler v0.0.0 => k8s.io/kube-scheduler v0.25.8
k8s.io/kubectl v0.0.0 => k8s.io/kubectl v0.25.8
k8s.io/kubelet v0.0.0 => k8s.io/kubelet v0.25.8
k8s.io/legacy-cloud-providers v0.0.0 => k8s.io/legacy-cloud-providers v0.25.8
k8s.io/metrics v0.0.0 => k8s.io/metrics v0.25.8
k8s.io/mount-utils v0.0.0 => k8s.io/mount-utils v0.25.8
k8s.io/pod-security-admission v0.0.0 => k8s.io/pod-security-admission v0.25.8
k8s.io/sample-apiserver v0.0.0 => k8s.io/sample-apiserver v0.25.8
k8s.io/api v0.0.0 => k8s.io/api v0.26.0
k8s.io/apiextensions-apiserver v0.0.0 => k8s.io/apiextensions-apiserver v0.26.0
k8s.io/apimachinery v0.0.0 => k8s.io/apimachinery v0.26.0
k8s.io/apiserver v0.0.0 => k8s.io/apiserver v0.26.0
k8s.io/cli-runtime v0.0.0 => k8s.io/cli-runtime v0.26.0
k8s.io/client-go v0.0.0 => k8s.io/client-go v0.26.0
k8s.io/cloud-provider v0.0.0 => k8s.io/cloud-provider v0.26.0
k8s.io/cluster-bootstrap v0.0.0 => k8s.io/cluster-bootstrap v0.26.0
k8s.io/code-generator v0.0.0 => k8s.io/code-generator v0.26.0
k8s.io/component-base v0.0.0 => k8s.io/component-base v0.26.0
k8s.io/component-helpers v0.0.0 => k8s.io/component-helpers v0.26.0
k8s.io/controller-manager v0.0.0 => k8s.io/controller-manager v0.26.0
k8s.io/cri-api v0.0.0 => k8s.io/cri-api v0.26.0
k8s.io/csi-translation-lib v0.0.0 => k8s.io/csi-translation-lib v0.26.0
k8s.io/kube-aggregator v0.0.0 => k8s.io/kube-aggregator v0.26.0
k8s.io/kube-controller-manager v0.0.0 => k8s.io/kube-controller-manager v0.26.0
k8s.io/kube-proxy v0.0.0 => k8s.io/kube-proxy v0.26.0
k8s.io/kube-scheduler v0.0.0 => k8s.io/kube-scheduler v0.26.0
k8s.io/kubectl v0.0.0 => k8s.io/kubectl v0.26.0
k8s.io/kubelet v0.0.0 => k8s.io/kubelet v0.26.0
k8s.io/legacy-cloud-providers v0.0.0 => k8s.io/legacy-cloud-providers v0.26.0
k8s.io/metrics v0.0.0 => k8s.io/metrics v0.26.0
k8s.io/mount-utils v0.0.0 => k8s.io/mount-utils v0.26.0
k8s.io/pod-security-admission v0.0.0 => k8s.io/pod-security-admission v0.26.0
k8s.io/sample-apiserver v0.0.0 => k8s.io/sample-apiserver v0.26.0
)
56 changes: 56 additions & 0 deletions pkg/apis/api-rules/violation_exceptions.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ALBTrafficRouting,Ingresses
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AmbassadorTrafficRouting,Mappings
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisRunSpec,Args
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisRunSpec,DryRun
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisRunSpec,MeasurementRetention
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisRunSpec,Metrics
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisRunStatus,MetricResults
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisTemplateSpec,Args
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisTemplateSpec,DryRun
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisTemplateSpec,MeasurementRetention
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AnalysisTemplateSpec,Metrics
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ApisixRoute,Rules
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,AppMeshVirtualService,Routes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,CanaryStrategy,Steps
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,CloudWatchMetric,MetricDataQueries
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,CloudWatchMetricStatMetric,Dimensions
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentAnalysisTemplateRef,Args
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentSpec,Analyses
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentSpec,DryRun
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentSpec,MeasurementRetention
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentSpec,Templates
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentStatus,AnalysisRuns
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentStatus,Conditions
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,ExperimentStatus,TemplateStatuses
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,IstioTrafficRouting,VirtualServices
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,IstioVirtualService,Routes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,IstioVirtualService,TCPRoutes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,IstioVirtualService,TLSRoutes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,KayentaMetric,Scopes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,MetricResult,Measurements
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,NginxTrafficRouting,StableIngresses
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,OAuth2Config,Scopes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,PrometheusMetric,Headers
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutAnalysis,Args
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutAnalysis,DryRun
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutAnalysis,MeasurementRetention
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutAnalysis,Templates
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutExperimentStep,Analyses
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutExperimentStep,Templates
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutExperimentStepAnalysisTemplateRef,Args
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutStatus,ALBs
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutStatus,Conditions
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutStatus,PauseConditions
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutTrafficRouting,ManagedRoutes
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,SetHeaderRoute,Match
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,SetMirrorRoute,Match
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,TLSRoute,SNIHosts
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,TrafficWeights,Additional
API rule violation: list_type_missing,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,WebMetric,Headers
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,Authentication,OAuth2
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,MetricProvider,SkyWalking
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,OAuth2Config,ClientID
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,OAuth2Config,TokenURL
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutStatus,ALBs
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,RolloutStatus,HPAReplicas
API rule violation: names_match,github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1,Sigv4Config,RoleARN
121 changes: 117 additions & 4 deletions ui/src/models/rollout/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3494,6 +3494,25 @@ export interface K8sIoApiCoreV1CinderVolumeSource {
*/
secretRef?: K8sIoApiCoreV1LocalObjectReference;
}
/**
* ClaimSource describes a reference to a ResourceClaim. Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.
* @export
* @interface K8sIoApiCoreV1ClaimSource
*/
export interface K8sIoApiCoreV1ClaimSource {
/**
* ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
* @type {string}
* @memberof K8sIoApiCoreV1ClaimSource
*/
resourceClaimName?: string;
/**
* ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The name of the ResourceClaim will be <pod name>-<resource name>, where <resource name> is the PodResourceClaim.Name. Pod validation will reject the pod if the concatenated name is not valid for a ResourceClaim (e.g. too long). An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
* @type {string}
* @memberof K8sIoApiCoreV1ClaimSource
*/
resourceClaimTemplateName?: string;
}
/**
* ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
* @export
Expand Down Expand Up @@ -4729,10 +4748,10 @@ export interface K8sIoApiCoreV1PersistentVolumeClaimSpec {
dataSource?: K8sIoApiCoreV1TypedLocalObjectReference;
/**
*
* @type {K8sIoApiCoreV1TypedLocalObjectReference}
* @type {K8sIoApiCoreV1TypedObjectReference}
* @memberof K8sIoApiCoreV1PersistentVolumeClaimSpec
*/
dataSourceRef?: K8sIoApiCoreV1TypedLocalObjectReference;
dataSourceRef?: K8sIoApiCoreV1TypedObjectReference;
}
/**
* PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
Expand Down Expand Up @@ -4930,6 +4949,38 @@ export interface K8sIoApiCoreV1PodReadinessGate {
*/
conditionType?: string;
}
/**
* PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
* @export
* @interface K8sIoApiCoreV1PodResourceClaim
*/
export interface K8sIoApiCoreV1PodResourceClaim {
/**
* Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
* @type {string}
* @memberof K8sIoApiCoreV1PodResourceClaim
*/
name?: string;
/**
*
* @type {K8sIoApiCoreV1ClaimSource}
* @memberof K8sIoApiCoreV1PodResourceClaim
*/
source?: K8sIoApiCoreV1ClaimSource;
}
/**
* PodSchedulingGate is associated to a Pod to guard its scheduling.
* @export
* @interface K8sIoApiCoreV1PodSchedulingGate
*/
export interface K8sIoApiCoreV1PodSchedulingGate {
/**
* Name of the scheduling gate. Each scheduling gate must have a unique name field.
* @type {string}
* @memberof K8sIoApiCoreV1PodSchedulingGate
*/
name?: string;
}
/**
* PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.
* @export
Expand Down Expand Up @@ -5225,6 +5276,18 @@ export interface K8sIoApiCoreV1PodSpec {
* @memberof K8sIoApiCoreV1PodSpec
*/
hostUsers?: boolean;
/**
* SchedulingGates is an opaque list of values that if specified will block scheduling the pod. More info: https://git.k8s.io/enhancements/keps/sig-scheduling/3521-pod-scheduling-readiness. This is an alpha-level feature enabled by PodSchedulingReadiness feature gate. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
* @type {Array<K8sIoApiCoreV1PodSchedulingGate>}
* @memberof K8sIoApiCoreV1PodSpec
*/
schedulingGates?: Array<K8sIoApiCoreV1PodSchedulingGate>;
/**
* ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +patchMergeKey=name +patchStrategy=merge,retainKeys +listType=map +listMapKey=name +featureGate=DynamicResourceAllocation +optional
* @type {Array<K8sIoApiCoreV1PodResourceClaim>}
* @memberof K8sIoApiCoreV1PodSpec
*/
resourceClaims?: Array<K8sIoApiCoreV1PodResourceClaim>;
}
/**
*
Expand Down Expand Up @@ -5486,6 +5549,19 @@ export interface K8sIoApiCoreV1RBDVolumeSource {
*/
readOnly?: boolean;
}
/**
* ResourceClaim references one entry in PodSpec.ResourceClaims.
* @export
* @interface K8sIoApiCoreV1ResourceClaim
*/
export interface K8sIoApiCoreV1ResourceClaim {
/**
* Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
* @type {string}
* @memberof K8sIoApiCoreV1ResourceClaim
*/
name?: string;
}
/**
*
* @export
Expand Down Expand Up @@ -5529,6 +5605,12 @@ export interface K8sIoApiCoreV1ResourceRequirements {
* @memberof K8sIoApiCoreV1ResourceRequirements
*/
requests?: { [key: string]: K8sIoApimachineryPkgApiResourceQuantity; };
/**
* Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. +listType=set +featureGate=DynamicResourceAllocation +optional
* @type {Array<K8sIoApiCoreV1ResourceClaim>}
* @memberof K8sIoApiCoreV1ResourceRequirements
*/
claims?: Array<K8sIoApiCoreV1ResourceClaim>;
}
/**
*
Expand Down Expand Up @@ -5994,13 +6076,13 @@ export interface K8sIoApiCoreV1TopologySpreadConstraint {
*/
minDomains?: number;
/**
* NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. +optional
* NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. +optional
* @type {string}
* @memberof K8sIoApiCoreV1TopologySpreadConstraint
*/
nodeAffinityPolicy?: string;
/**
* NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. +optional
* NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included. If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. +optional
* @type {string}
* @memberof K8sIoApiCoreV1TopologySpreadConstraint
*/
Expand Down Expand Up @@ -6037,6 +6119,37 @@ export interface K8sIoApiCoreV1TypedLocalObjectReference {
*/
name?: string;
}
/**
*
* @export
* @interface K8sIoApiCoreV1TypedObjectReference
*/
export interface K8sIoApiCoreV1TypedObjectReference {
/**
*
* @type {string}
* @memberof K8sIoApiCoreV1TypedObjectReference
*/
apiGroup?: string;
/**
*
* @type {string}
* @memberof K8sIoApiCoreV1TypedObjectReference
*/
kind?: string;
/**
*
* @type {string}
* @memberof K8sIoApiCoreV1TypedObjectReference
*/
name?: string;
/**
*
* @type {string}
* @memberof K8sIoApiCoreV1TypedObjectReference
*/
namespace?: string;
}
/**
* Volume represents a named volume in a pod that may be accessed by any container in the pod.
* @export
Expand Down

0 comments on commit 360d914

Please sign in to comment.