Skip to content

Commit 66fd7e7

Browse files
derektamsenjsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@a2386e7e
1 parent bc2c4d2 commit 66fd7e7

File tree

10 files changed

+56
-56
lines changed

10 files changed

+56
-56
lines changed

1.4-experimental/_gen/gateway/v1/gateway.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
tls: {
187187
'#backend':: d.obj(help='"Backend describes TLS configuration for gateway when connecting\\nto backends.\\n\\nNote that this contains only details for the Gateway as a TLS client,\\nand does _not_ imply behavior about how to choose which backend should\\nget a TLS connection. That is determined by the presence of a BackendTLSPolicy.\\n\\nSupport: Core"'),
188188
backend: {
189-
'#clientCertificateRef':: d.obj(help='"ClientCertificateRef references an object that contains a client certificate\\nand its associated private key. It can reference standard Kubernetes resources,\\ni.e., Secret, or implementation-specific custom resources.\\n\\nA ClientCertificateRef is considered invalid if:\\n\\n* It refers to a resource that cannot be resolved (e.g., the referenced resource\\n does not exist) or is misconfigured (e.g., a Secret does not contain the keys\\n named `tls.crt` and `tls.key`). In this case, the `ResolvedRefs` condition\\n on the Gateway MUST be set to False with the Reason `InvalidClientCertificateRef`\\n and the Message of the Condition MUST indicate why the reference is invalid.\\n\\n* It refers to a resource in another namespace UNLESS there is a ReferenceGrant\\n in the target namespace that allows the certificate to be attached.\\n If a ReferenceGrant does not allow this reference, the `ResolvedRefs` condition\\n on the Gateway MUST be set to False with the Reason `RefNotPermitted`.\\n\\nImplementations MAY choose to perform further validation of the certificate\\ncontent (e.g., checking expiry or enforcing specific formats). In such cases,\\nan implementation-specific Reason and Message MUST be set.\\n\\nSupport: Core - Reference to a Kubernetes TLS Secret (with the type `kubernetes.io/tls`).\\nSupport: Implementation-specific - Other resource kinds or Secrets with a\\ndifferent type (e.g., `Opaque`)."'),
189+
'#clientCertificateRef':: d.obj(help='"ClientCertificateRef is a reference to an object that contains a Client\\nCertificate and the associated private key.\\n\\nReferences to a resource in different namespace are invalid UNLESS there\\nis a ReferenceGrant in the target namespace that allows the certificate\\nto be attached. If a ReferenceGrant does not allow this reference, the\\n\\"ResolvedRefs\\" condition MUST be set to False for this listener with the\\n\\"RefNotPermitted\\" reason.\\n\\nClientCertificateRef can reference to standard Kubernetes resources, i.e.\\nSecret, or implementation-specific custom resources.\\n\\nSupport: Core"'),
190190
clientCertificateRef: {
191191
'#withGroup':: d.fn(help='"Group is the group of the referent. For example, \\"gateway.networking.k8s.io\\".\\nWhen unspecified or empty string, core API group is inferred."', args=[d.arg(name='group', type=d.T.string)]),
192192
withGroup(group): { spec+: { tls+: { backend+: { clientCertificateRef+: { group: group } } } } },

1.4-experimental/_gen/gateway/v1/grpcRoute.libsonnet

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@
8585
add: {
8686
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
8787
withName(name): { name: name },
88-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
88+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
8989
withValue(value): { value: value },
9090
},
9191
'#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'),
9292
set: {
9393
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
9494
withName(name): { name: name },
95-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
95+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
9696
withValue(value): { value: value },
9797
},
9898
'#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]),
@@ -139,14 +139,14 @@
139139
add: {
140140
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
141141
withName(name): { name: name },
142-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
142+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
143143
withValue(value): { value: value },
144144
},
145145
'#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'),
146146
set: {
147147
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
148148
withName(name): { name: name },
149-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
149+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
150150
withValue(value): { value: value },
151151
},
152152
'#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]),
@@ -199,14 +199,14 @@
199199
add: {
200200
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
201201
withName(name): { name: name },
202-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
202+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
203203
withValue(value): { value: value },
204204
},
205205
'#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'),
206206
set: {
207207
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
208208
withName(name): { name: name },
209-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
209+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
210210
withValue(value): { value: value },
211211
},
212212
'#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]),
@@ -253,14 +253,14 @@
253253
add: {
254254
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
255255
withName(name): { name: name },
256-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
256+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
257257
withValue(value): { value: value },
258258
},
259259
'#set':: d.obj(help='"Set overwrites the request with the given header (name, value)\\nbefore the action.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n set:\\n - name: \\"my-header\\"\\n value: \\"bar\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: bar"'),
260260
set: {
261261
'#withName':: d.fn(help='"Name is the name of the HTTP Header to be matched. Name matching MUST be\\ncase-insensitive. (See https://tools.ietf.org/html/rfc7230#section-3.2).\\n\\nIf multiple entries specify equivalent header names, the first entry with\\nan equivalent name MUST be considered for a match. Subsequent entries\\nwith an equivalent header name MUST be ignored. Due to the\\ncase-insensitivity of header names, \\"foo\\" and \\"Foo\\" are considered\\nequivalent."', args=[d.arg(name='name', type=d.T.string)]),
262262
withName(name): { name: name },
263-
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched.\\n\\nMust consist of printable US-ASCII characters, optionally separated\\nby single tabs or spaces. See: https://tools.ietf.org/html/rfc7230#section-3.2"', args=[d.arg(name='value', type=d.T.string)]),
263+
'#withValue':: d.fn(help='"Value is the value of HTTP Header to be matched."', args=[d.arg(name='value', type=d.T.string)]),
264264
withValue(value): { value: value },
265265
},
266266
'#withAdd':: d.fn(help='"Add adds the given header(s) (name, value) to the request\\nbefore the action. It appends to any existing values associated\\nwith the header name.\\n\\nInput:\\n GET /foo HTTP/1.1\\n my-header: foo\\n\\nConfig:\\n add:\\n - name: \\"my-header\\"\\n value: \\"bar,baz\\"\\n\\nOutput:\\n GET /foo HTTP/1.1\\n my-header: foo,bar,baz"', args=[d.arg(name='add', type=d.T.array)]),

0 commit comments

Comments
 (0)