Skip to content

update crd descriptions #8038

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

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a9676c7
add description to the egressMTLS policies.
mohamadaldawamnah Jul 10, 2025
7aa0998
added description to the rest of the policy file
mohamadaldawamnah Jul 11, 2025
3fb5a1d
added description to virtual server routes file
mohamadaldawamnah Jul 16, 2025
e3cc2f1
added last description to virtual server routes file and finalised al…
mohamadaldawamnah Jul 16, 2025
19a0a30
add crds
mohamadaldawamnah Jul 17, 2025
10fe278
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 17, 2025
ac33fa3
Merge branch 'main' into chore/update_crd_description
mohamadaldawamnah Jul 17, 2025
9b45961
add crds final
mohamadaldawamnah Jul 17, 2025
06991f3
add crds final 2
mohamadaldawamnah Jul 17, 2025
b8e1d98
fixed formatting errors
mohamadaldawamnah Jul 17, 2025
5b7b800
fixing lint errors
mohamadaldawamnah Jul 18, 2025
8824774
Merge branch 'main' into chore/update_crd_description
mohamadaldawamnah Jul 18, 2025
8fa48a4
updating go mod files
mohamadaldawamnah Jul 18, 2025
14bf692
Merge branch 'main' into chore/update_crd_description
vepatel Jul 18, 2025
70a7534
finalising the updates types.go files
mohamadaldawamnah Jul 21, 2025
271adb0
finalising the updates types.go files 2
mohamadaldawamnah Jul 21, 2025
6c32c16
reverting changes in the main.go
mohamadaldawamnah Jul 21, 2025
fa5963d
addressing comments
mohamadaldawamnah Jul 22, 2025
078d39c
addressing comment
mohamadaldawamnah Jul 22, 2025
a3dc826
reversing changes to main.go
mohamadaldawamnah Jul 22, 2025
739eb6f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 22, 2025
df962e4
Update pkg/apis/configuration/v1/types.go
mohamadaldawamnah Jul 23, 2025
b1ec153
Update pkg/apis/configuration/v1/types.go
mohamadaldawamnah Jul 23, 2025
9205362
Update pkg/apis/configuration/v1/types.go
mohamadaldawamnah Jul 23, 2025
8419828
Update pkg/apis/configuration/v1/types.go
mohamadaldawamnah Jul 23, 2025
14ae4a0
Update pkg/apis/configuration/v1/types.go
mohamadaldawamnah Jul 23, 2025
d79244a
Merge branch 'main' into chore/update_crd_description
mohamadaldawamnah Jul 23, 2025
dd8a082
fixing commemts issues
mohamadaldawamnah Jul 23, 2025
7029a77
fixing commemts issues
mohamadaldawamnah Jul 23, 2025
8225cda
Update CRDs to match API changes
mohamadaldawamnah Jul 23, 2025
9fd3dde
Additional changes to types.go
mohamadaldawamnah Jul 23, 2025
7a9b64b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 23, 2025
3d4790f
testing precommit
mohamadaldawamnah Jul 23, 2025
0c95004
Revert "Additional changes to types.go"
mohamadaldawamnah Jul 23, 2025
32a9a03
Apply suggestions from code review
mohamadaldawamnah Jul 23, 2025
43f4545
fixing encoding error
mohamadaldawamnah Jul 23, 2025
ba1d00e
fixing failing tests
mohamadaldawamnah Jul 23, 2025
bc763d3
Merge branch 'main' into chore/update_crd_description
mohamadaldawamnah Jul 24, 2025
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
13 changes: 11 additions & 2 deletions config/crd/bases/k8s.nginx.org_globalconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,33 @@ spec:
metadata:
type: object
spec:
description: GlobalConfigurationSpec is the spec of the GlobalConfiguration
resource.
description: GlobalConfigurationSpec resource defines the global configuration
parameters of the Ingress Controller.
properties:
listeners:
description: Listeners field of the GlobalConfigurationSpec resource
items:
description: Listener defines a listener.
properties:
ipv4:
description: Specifies the IPv4 address to listen on.
type: string
ipv6:
description: ipv6 addresse that NGINX will listen on.
type: string
name:
description: The name of the listener. The name must be unique
across all listeners.
type: string
port:
description: The port on which the listener will accept connections.
type: integer
protocol:
description: The protocol of the listener. For example, HTTP.
type: string
ssl:
description: Whether the listener will be listening for SSL
connections
type: boolean
type: object
type: array
Expand Down
203 changes: 188 additions & 15 deletions config/crd/bases/k8s.nginx.org_policies.yaml

Large diffs are not rendered by default.

126 changes: 115 additions & 11 deletions config/crd/bases/k8s.nginx.org_transportservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,36 +54,57 @@ spec:
description: TransportServerSpec is the spec of the TransportServer resource.
properties:
action:
description: TransportServerAction defines an action.
description: The action to perform for a request.
properties:
pass:
description: Passes connections/datagrams to an upstream. The
upstream with that name must be defined in the resource.
type: string
type: object
host:
description: The host (domain name) of the server. Must be a valid
subdomain as defined in RFC 1123, such as my-app or hello.example.com.
When using a wildcard domain like *.example.com the domain must
be contained in double quotes. The host value needs to be unique
among all Ingress and VirtualServer resources.
type: string
ingressClassName:
description: Specifies which Ingress Controller must handle the VirtualServer
resource.
type: string
listener:
description: TransportServerListener defines a listener for a TransportServer.
description: Sets a custom HTTP and/or HTTPS listener. Valid fields
are listener.http and listener.https. Each field must reference
the name of a valid listener defined in a GlobalConfiguration resource
properties:
name:
description: The name of a listener defined in a GlobalConfiguration
resource.
type: string
protocol:
description: The protocol of the listener.
type: string
type: object
serverSnippets:
description: Sets a custom snippet in server context. Overrides the
server-snippets ConfigMap key.
type: string
sessionParameters:
description: SessionParameters defines session parameters.
description: The parameters of the session to be used for the Server
context
properties:
timeout:
description: The timeout between two successive read or write
operations on client or proxied server connections. The default
is 10m.
type: string
type: object
streamSnippets:
description: Sets a custom snippet in the stream context. Overrides
the stream-snippets ConfigMap key.
type: string
tls:
description: TransportServerTLS defines TransportServerTLS configuration
for a TransportServer.
description: The TLS termination configuration.
properties:
secret:
type: string
Expand All @@ -92,80 +113,163 @@ spec:
description: UpstreamParameters defines parameters for an upstream.
properties:
connectTimeout:
description: The timeout for establishing a connection with a
proxied server. The default is 60s.
type: string
nextUpstream:
description: If a connection to the proxied server cannot be established,
determines whether a client connection will be passed to the
next server. The default is true.
type: boolean
nextUpstreamTimeout:
description: The time allowed to pass a connection to the next
server. The default is 0.
type: string
nextUpstreamTries:
description: The number of tries for passing a connection to the
next server. The default is 0.
type: integer
udpRequests:
description: The number of datagrams, after receiving which, the
next datagram from the same client starts a new session. The
default is 0.
type: integer
udpResponses:
description: The number of datagrams expected from the proxied
server in response to a client datagram. By default, the number
of datagrams is not limited.
type: integer
type: object
upstreams:
description: A list of upstreams.
items:
description: TransportServerUpstream defines an upstream.
properties:
backup:
description: 'The name of the backup service of type ExternalName.
This will be used when the primary servers are unavailable.
Note: The parameter cannot be used along with the random,
hash or ip_hash load balancing methods.'
type: string
backupPort:
description: The port of the backup service. The backup port
is required if the backup service name is provided. The port
must fall into the range 1..65535.
type: integer
failTimeout:
description: Sets the number of unsuccessful attempts to communicate
with the server that should happen in the duration set by
the failTimeout parameter to consider the server unavailable.
The default is 1.
type: string
healthCheck:
description: TransportServerHealthCheck defines the parameters
for active Upstream HealthChecks.
description: 'The health check configuration for the Upstream.
Note: this feature is supported only in NGINX Plus.'
properties:
enable:
description: Enables a health check for an upstream server.
The default is false.
type: boolean
fails:
description: The number of consecutive failed health checks
of a particular upstream server after which this server
will be considered unhealthy. The default is 1.
type: integer
interval:
description: The interval between two consecutive health
checks. The default is 5s.
type: string
jitter:
description: The time within which each health check will
be randomly delayed. By default, there is no delay.
type: string
match:
description: TransportServerMatch defines the parameters
of a custom health check.
description: Controls the data to send and the response
to expect for the healthcheck.
properties:
expect:
description: A literal string or a regular expression
that the data obtained from the server should match.
The regular expression is specified with the preceding
~* modifier (for case-insensitive matching), or the
~ modifier (for case-sensitive matching). NGINX Ingress
Controller validates a regular expression using the
RE2 syntax.
type: string
send:
description: A string to send to an upstream server.
type: string
type: object
passes:
description: The number of consecutive passed health checks
of a particular upstream server after which the server
will be considered healthy. The default is 1.
type: integer
port:
description: 'The port used for health check requests. By
default, the server port is used. Note: in contrast with
the port of the upstream, this port is not a service port,
but a port of a pod.'
type: integer
timeout:
description: This overrides the timeout set by proxy_timeout
which is set in SessionParameters for health checks. The
default value is 5s.
type: string
type: object
loadBalancingMethod:
description: The method used to load balance the upstream servers.
By default, connections are distributed between the servers
using a weighted round-robin balancing method.
type: string
maxConns:
description: Sets the time during which the specified number
of unsuccessful attempts to communicate with the server should
happen to consider the server unavailable and the period of
time the server will be considered unavailable. The default
is 10s.
type: integer
maxFails:
description: Sets the number of maximum connections to the proxied
server. Default value is zero, meaning there is no limit.
The default is 0.
type: integer
name:
description: The name of the upstream. Must be a valid DNS label
as defined in RFC 1035. For example, hello and upstream-123
are valid. The name must be unique among all upstreams of
the resource.
type: string
port:
description: The port of the service. If the service doesn’t
define that port, NGINX will assume the service has zero endpoints
and close client connections/ignore datagrams. The port must
fall into the range 1..65535.
type: integer
service:
description: The name of a service. The service must belong
to the same namespace as the resource. If the service doesn’t
exist, NGINX will assume the service has zero endpoints and
close client connections/ignore datagrams.
type: string
type: object
type: array
type: object
status:
description: TransportServerStatus defines the status for the TransportServer
resource.
description: The status of the TransportServer resource
properties:
message:
description: The message of the current state of the resource. It
can contain more detailed information about the reason.
type: string
reason:
description: The reason of the current state of the resource.
type: string
state:
description: 'Represents the current state of the resource. Possible
values: Valid (resource validated and accepted), Invalid (validation
failed or config reload failed), or Warning (validated but may work
in degraded state).'
type: string
type: object
type: object
Expand Down
Loading
Loading