Skip to content

Commit adebaec

Browse files
Prep v0.11.46 (#2737)
1 parent 02c09b9 commit adebaec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+669
-1310
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ jobs:
155155
with:
156156
version-file: .tool-versions
157157
version-type: strict
158+
- name: Set up Go
159+
uses: actions/setup-go@v6
160+
with:
161+
go-version-file: go/client/go.mod
162+
cache: true
158163
- name: Restore dependencies cache
159164
uses: actions/cache@v3
160165
with:

AGENT_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.6.2
1+
v0.6.3

assets/codegen.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ generates:
2121
config:
2222
output: server
2323
includeAlgorithmPrefix: true
24-
src/generated/persisted-queries/goclient.json:
25-
schema: '../schema/schema.graphql'
26-
documents:
27-
- '../go/client/**/*.graphql'
28-
plugins:
29-
- '@replit/graphql-codegen-persisted-queries'
30-
config:
31-
output: server
32-
includeAlgorithmPrefix: true
3324
src/generated/fragments.json:
3425
schema: '../schema/schema.graphql'
3526
plugins:

assets/src/generated/graphql.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3607,11 +3607,13 @@ export type GateJobAttributes = {
36073607
containers?: InputMaybe<Array<InputMaybe<ContainerAttributes>>>;
36083608
labels?: InputMaybe<Scalars['Json']['input']>;
36093609
namespace: Scalars['String']['input'];
3610+
nodeSelector?: InputMaybe<Scalars['Json']['input']>;
36103611
/** if you'd rather define the job spec via straight k8s yaml */
36113612
raw?: InputMaybe<Scalars['String']['input']>;
36123613
/** request overrides if you don't want to manually configure individual containers */
36133614
resources?: InputMaybe<ContainerResourcesAttributes>;
36143615
serviceAccount?: InputMaybe<Scalars['String']['input']>;
3616+
tolerations?: InputMaybe<Array<InputMaybe<PodTolerationAttributes>>>;
36153617
};
36163618

36173619
/** detailed gate specifications */
@@ -4423,6 +4425,8 @@ export type JobGateSpec = {
44234425
labels?: Maybe<Scalars['Map']['output']>;
44244426
/** the namespace the job will run in */
44254427
namespace: Scalars['String']['output'];
4428+
/** any pod node selector to apply */
4429+
nodeSelector?: Maybe<Scalars['Map']['output']>;
44264430
/** a raw kubernetes job resource, overrides any other configuration */
44274431
raw?: Maybe<Scalars['String']['output']>;
44284432
/** equivalent to resources, present for backwards compatibility */
@@ -4431,6 +4435,8 @@ export type JobGateSpec = {
44314435
resources?: Maybe<ContainerResources>;
44324436
/** the service account the pod will use */
44334437
serviceAccount?: Maybe<Scalars['String']['output']>;
4438+
/** any pod tolerations to apply */
4439+
tolerations?: Maybe<Array<Maybe<PodToleration>>>;
44344440
};
44354441

44364442
export type JobReference = {
@@ -6308,6 +6314,21 @@ export type PodStatus = {
63086314
reason?: Maybe<Scalars['String']['output']>;
63096315
};
63106316

6317+
export type PodToleration = {
6318+
__typename?: 'PodToleration';
6319+
effect?: Maybe<Scalars['String']['output']>;
6320+
key?: Maybe<Scalars['String']['output']>;
6321+
operator?: Maybe<Scalars['String']['output']>;
6322+
value?: Maybe<Scalars['String']['output']>;
6323+
};
6324+
6325+
export type PodTolerationAttributes = {
6326+
effect?: InputMaybe<Scalars['String']['input']>;
6327+
key?: InputMaybe<Scalars['String']['input']>;
6328+
operator?: InputMaybe<Scalars['String']['input']>;
6329+
value?: InputMaybe<Scalars['String']['input']>;
6330+
};
6331+
63116332
export enum PolicyAggregate {
63126333
Cluster = 'CLUSTER',
63136334
Enforcement = 'ENFORCEMENT',

assets/src/generated/persisted-queries/goclient.json

Lines changed: 0 additions & 1276 deletions
This file was deleted.
1.74 KB
Binary file not shown.
5 Bytes
Binary file not shown.
1.74 KB
Binary file not shown.
5 Bytes
Binary file not shown.

charts/controller/crds/deployments.plural.sh_deploymentsettings.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,11 @@ spec:
11111111
namespace:
11121112
description: Namespace where the job will be executed.
11131113
type: string
1114+
nodeSelector:
1115+
additionalProperties:
1116+
type: string
1117+
description: NodeSelector to apply to the job for scheduling.
1118+
type: object
11141119
raw:
11151120
description: |-
11161121
Raw allows defining the job using a full Kubernetes JobSpec manifest
@@ -10198,6 +10203,45 @@ spec:
1019810203
serviceAccount:
1019910204
description: ServiceAccount to use for the job execution.
1020010205
type: string
10206+
tolerations:
10207+
description: Tolerations to apply to the job for scheduling.
10208+
items:
10209+
description: |-
10210+
The pod this Toleration is attached to tolerates any taint that matches
10211+
the triple <key,value,effect> using the matching operator <operator>.
10212+
properties:
10213+
effect:
10214+
description: |-
10215+
Effect indicates the taint effect to match. Empty means match all taint effects.
10216+
When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
10217+
type: string
10218+
key:
10219+
description: |-
10220+
Key is the taint key that the toleration applies to. Empty means match all taint keys.
10221+
If the key is empty, operator must be Exists; this combination means to match all values and all keys.
10222+
type: string
10223+
operator:
10224+
description: |-
10225+
Operator represents a key's relationship to the value.
10226+
Valid operators are Exists and Equal. Defaults to Equal.
10227+
Exists is equivalent to wildcard for value, so that a pod can
10228+
tolerate all taints of a particular category.
10229+
type: string
10230+
tolerationSeconds:
10231+
description: |-
10232+
TolerationSeconds represents the period of time the toleration (which must be
10233+
of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
10234+
it is not set, which means tolerate the taint forever (do not evict). Zero and
10235+
negative values will be treated as 0 (evict immediately) by the system.
10236+
format: int64
10237+
type: integer
10238+
value:
10239+
description: |-
10240+
Value is the taint value the toleration matches to.
10241+
If the operator is Exists, the value should be empty, otherwise just a regular string.
10242+
type: string
10243+
type: object
10244+
type: array
1020110245
required:
1020210246
- namespace
1020310247
type: object

0 commit comments

Comments
 (0)