Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: codegen was missed #3104

Merged
merged 1 commit into from
Oct 13, 2023
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
56 changes: 44 additions & 12 deletions pkg/apiclient/rollout/rollout.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,20 @@
},
"title": "ArgumentValueFrom defines references to fields within resources to grab for the value (i.e. Pod Template Hash)"
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.Authentication": {
"type": "object",
"properties": {
"sigv4": {
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.Sigv4Config",
"title": "Sigv4 Config is the aws SigV4 configuration to use for SigV4 signing if using Amazon Managed Prometheus\n+optional"
},
"oauth2": {
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.OAuth2Config",
"title": "OAuth2 config\n+optional"
}
},
"title": "Authentication method"
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.AwsResourceRef": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1631,6 +1645,30 @@
},
"title": "NginxTrafficRouting configuration for Nginx ingress controller to control traffic routing"
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.OAuth2Config": {
"type": "object",
"properties": {
"tokenUrl": {
"type": "string",
"title": "OAuth2 provider token URL"
},
"clientId": {
"type": "string",
"title": "OAuth2 client ID"
},
"clientSecret": {
"type": "string",
"title": "OAuth2 client secret"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"title": "OAuth2 scopes\n+optional"
}
}
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.ObjectRef": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1706,16 +1744,6 @@
},
"title": "PreferredDuringSchedulingIgnoredDuringExecution defines the weight of the anti-affinity injection"
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.PrometheusAuth": {
"type": "object",
"properties": {
"sigv4": {
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.Sigv4Config",
"title": "+optional"
}
},
"title": "PrometheusMetric defines the prometheus query to perform canary analysis"
},
"github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.PrometheusMetric": {
"type": "object",
"properties": {
Expand All @@ -1728,8 +1756,8 @@
"title": "Query is a raw prometheus query to perform"
},
"authentication": {
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.PrometheusAuth",
"title": "Sigv4 Config is the aws SigV4 configuration to use for SigV4 signing if using Amazon Managed Prometheus\n+optional"
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.Authentication",
"title": "Authentication details\n+optional"
},
"timeout": {
"type": "string",
Expand Down Expand Up @@ -2596,6 +2624,10 @@
"type": "string",
"format": "byte",
"title": "+kubebuilder:validation:Schemaless\n+kubebuilder:pruning:PreserveUnknownFields\n+kubebuilder:validation:Type=object\nJSONBody is the body of the web metric in a json format (method must be POST/PUT)"
},
"authentication": {
"$ref": "#/definitions/github.aaakk.us.kg.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.Authentication",
"title": "Authentication details\n+optional"
}
}
},
Expand Down
73 changes: 58 additions & 15 deletions ui/src/models/rollout/generated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,25 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1ArgumentVal
*/
fieldRef?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1FieldRef;
}
/**
*
* @export
* @interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication
*/
export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication {
/**
*
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Sigv4Config}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication
*/
sigv4?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Sigv4Config;
/**
*
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication
*/
oauth2?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config;
}
/**
*
* @export
Expand Down Expand Up @@ -1614,6 +1633,37 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1NginxTraffi
*/
stableIngresses?: Array<string>;
}
/**
*
* @export
* @interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config
*/
export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config {
/**
*
* @type {string}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config
*/
tokenUrl?: string;
/**
*
* @type {string}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config
*/
clientId?: string;
/**
*
* @type {string}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config
*/
clientSecret?: string;
/**
*
* @type {Array<string>}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1OAuth2Config
*/
scopes?: Array<string>;
}
/**
*
* @export
Expand Down Expand Up @@ -1709,19 +1759,6 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PreferredDu
*/
weight?: number;
}
/**
*
* @export
* @interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusAuth
*/
export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusAuth {
/**
*
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Sigv4Config}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusAuth
*/
sigv4?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Sigv4Config;
}
/**
*
* @export
Expand All @@ -1742,10 +1779,10 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusM
query?: string;
/**
*
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusAuth}
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusMetric
*/
authentication?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1PrometheusAuth;
authentication?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication;
/**
*
* @type {string}
Expand Down Expand Up @@ -2892,6 +2929,12 @@ export interface GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WebMetric {
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WebMetric
*/
jsonBody?: string;
/**
*
* @type {GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication}
* @memberof GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1WebMetric
*/
authentication?: GithubComArgoprojArgoRolloutsPkgApisRolloutsV1alpha1Authentication;
}
/**
*
Expand Down
Loading