This repository has been archived by the owner on May 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from nginxinc/r-0.2.0
Update for release 0.2.0
- Loading branch information
Showing
13 changed files
with
1,743 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
OLD_TAG = 0.0.7 | ||
TAG = 0.1.0 | ||
OLD_TAG = 0.1.0 | ||
TAG = 0.2.0 | ||
|
||
IMAGE = nginx/nginx-ingress-operator | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
291 changes: 291 additions & 0 deletions
291
bundle/0.2.0/k8s.nginx.org_nginxingresscontrollers_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,291 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: nginxingresscontrollers.k8s.nginx.org | ||
spec: | ||
group: k8s.nginx.org | ||
names: | ||
kind: NginxIngressController | ||
listKind: NginxIngressControllerList | ||
plural: nginxingresscontrollers | ||
singular: nginxingresscontroller | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
description: NginxIngressController is the Schema for the nginxingresscontrollers | ||
API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: NginxIngressControllerSpec defines the desired state of NginxIngressController | ||
properties: | ||
appProtect: | ||
description: App Protect support configuration. Requires enableCRDs | ||
set to true. | ||
nullable: true | ||
properties: | ||
enable: | ||
description: Enable App Protect. | ||
type: boolean | ||
required: | ||
- enable | ||
type: object | ||
configMapData: | ||
additionalProperties: | ||
type: string | ||
description: Initial values of the Ingress Controller ConfigMap. Check | ||
https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/configmap-resource/ | ||
for more information about possible values. | ||
nullable: true | ||
type: object | ||
defaultSecret: | ||
description: The TLS Secret for TLS termination of the default server. | ||
The format is namespace/name. The secret must be of the type kubernetes.io/tls. | ||
If not specified, the operator will generate and deploy a TLS Secret | ||
with a self-signed certificate and key. | ||
type: string | ||
enableCRDs: | ||
description: Enables the use of NGINX Ingress Resource Definitions (VirtualServer | ||
and VirtualServerRoute). Default is true. | ||
nullable: true | ||
type: boolean | ||
enableLatencyMetrics: | ||
description: Bucketed response times from when NGINX establishes a connection | ||
to an upstream server to when the last byte of the response body is | ||
received by NGINX. **Note** The metric for the upstream isn't available | ||
until traffic is sent to the upstream. | ||
nullable: true | ||
type: boolean | ||
enableLeaderElection: | ||
description: Enables Leader election to avoid multiple replicas of the | ||
controller reporting the status of Ingress resources – only one replica | ||
will report status. Default is true. | ||
nullable: true | ||
type: boolean | ||
enablePreviewPolicies: | ||
description: Enables preview policies. Requires enableCRDs set to true. | ||
type: boolean | ||
enableSnippets: | ||
description: Enable custom NGINX configuration snippets in VirtualServer, | ||
VirtualServerRoute and TransportServer resources. Requires enableCRDs | ||
set to true. | ||
type: boolean | ||
enableTLSPassthrough: | ||
description: Enable TLS Passthrough on port 443. Requires enableCRDs | ||
set to true. | ||
type: boolean | ||
globalConfiguration: | ||
description: The GlobalConfiguration resource for global configuration | ||
of the Ingress Controller. Format is namespace/name. Requires enableCRDs | ||
set to true. | ||
type: string | ||
healthStatus: | ||
description: Adds a new location to the default server. The location | ||
responds with the 200 status code for any request. Useful for external | ||
health-checking of the Ingress controller. | ||
nullable: true | ||
properties: | ||
enable: | ||
description: Enable the HealthStatus. | ||
type: boolean | ||
uri: | ||
description: URI of the location. Default is `/nginx-health`. | ||
type: string | ||
required: | ||
- enable | ||
type: object | ||
image: | ||
description: The image of the Ingress Controller. | ||
properties: | ||
pullPolicy: | ||
description: The ImagePullPolicy of the image. | ||
enum: | ||
- Never | ||
- Always | ||
- IfNotPresent | ||
type: string | ||
repository: | ||
description: The repository of the image. | ||
type: string | ||
tag: | ||
description: The tag (version) of the image. | ||
type: string | ||
required: | ||
- pullPolicy | ||
- repository | ||
- tag | ||
type: object | ||
ingressClass: | ||
description: A class of the Ingress controller. The Ingress controller | ||
only processes Ingress resources that belong to its class (in other | ||
words, have the annotation “kubernetes.io/ingress.class”). Additionally, | ||
the Ingress controller processes Ingress resources that do not have | ||
that annotation, which can be disabled by setting UseIngressClassOnly | ||
to true. Default is `nginx`. | ||
type: string | ||
logLevel: | ||
description: Log level for V logs. Format is 0 - 3 | ||
maximum: 3 | ||
minimum: 0 | ||
type: integer | ||
nginxDebug: | ||
description: 'Enable debugging for NGINX. Uses the nginx-debug binary. | ||
Requires ‘error-log-level: debug’ in the ConfigMapData.' | ||
type: boolean | ||
nginxPlus: | ||
description: Deploys the Ingress Controller for NGINX Plus. The default | ||
is false meaning the Ingress Controller will be deployed for NGINX | ||
OSS. | ||
type: boolean | ||
nginxReloadTimeout: | ||
description: Timeout in milliseconds which the Ingress Controller will | ||
wait for a successful NGINX reload after a change or at the initial | ||
start. | ||
type: integer | ||
nginxStatus: | ||
description: NGINX stub_status, or the NGINX Plus API. | ||
nullable: true | ||
properties: | ||
allowCidrs: | ||
description: Whitelist IPv4 IP/CIDR blocks to allow access to NGINX | ||
stub_status or the NGINX Plus API. Separate multiple IP/CIDR by | ||
commas. (default “127.0.0.1”) | ||
type: string | ||
enable: | ||
description: Enable the NginxStatus. | ||
type: boolean | ||
port: | ||
description: Set the port where the NGINX stub_status or the NGINX | ||
Plus API is exposed. Default is 8080. Format is 1023 - 65535 | ||
maximum: 65535 | ||
minimum: 1023 | ||
nullable: true | ||
type: integer | ||
required: | ||
- enable | ||
type: object | ||
prometheus: | ||
description: NGINX or NGINX Plus metrics in the Prometheus format. | ||
nullable: true | ||
properties: | ||
enable: | ||
description: Enable Prometheus metrics. | ||
type: boolean | ||
port: | ||
description: Sets the port where the Prometheus metrics are exposed. | ||
Default is 9113. Format is 1023 - 65535 | ||
maximum: 65535 | ||
minimum: 1023 | ||
nullable: true | ||
type: integer | ||
required: | ||
- enable | ||
type: object | ||
replicas: | ||
description: The number of replicas of the Ingress Controller pod. The | ||
default is 1. Only applies if the type is set to deployment. | ||
format: int32 | ||
nullable: true | ||
type: integer | ||
reportIngressStatus: | ||
description: Update the address field in the status of Ingresses resources. | ||
nullable: true | ||
properties: | ||
enable: | ||
description: Enable the ReportIngressStatus. | ||
type: boolean | ||
externalService: | ||
description: 'Specifies the name of the service with the type LoadBalancer | ||
through which the Ingress controller pods are exposed externally. | ||
The external address of the service is used when reporting the | ||
status of Ingress resources. Note: if serviceType is LoadBalancer, | ||
the value of this field will be ignored, and the operator will | ||
use the name of the created LoadBalancer service instead.' | ||
type: string | ||
ingressLink: | ||
description: 'Specifies the name of the IngressLink resource, which | ||
exposes the Ingress Controller pods via a BIG-IP system. The IP | ||
of the BIG-IP system is used when reporting the status of Ingress, | ||
VirtualServer and VirtualServerRoute resources. Requires reportIngressStatus.enable | ||
set to true. Note: If serviceType is LoadBalancer or reportIngressStatus.externalService | ||
is set, the value of this field will be ignored.' | ||
type: string | ||
required: | ||
- enable | ||
type: object | ||
service: | ||
description: The service of the Ingress controller. | ||
nullable: true | ||
properties: | ||
extraLabels: | ||
additionalProperties: | ||
type: string | ||
description: Specifies extra labels of the service. | ||
type: object | ||
type: object | ||
serviceType: | ||
description: 'The type of the Service for the Ingress Controller. Valid | ||
Service types are: NodePort and LoadBalancer.' | ||
enum: | ||
- NodePort | ||
- LoadBalancer | ||
type: string | ||
type: | ||
description: The type of the Ingress Controller installation - deployment | ||
or daemonset. | ||
enum: | ||
- deployment | ||
- daemonset | ||
type: string | ||
useIngressClassOnly: | ||
description: Ignore Ingress resources without the “kubernetes.io/ingress.class” | ||
annotation. | ||
type: boolean | ||
watchNamespace: | ||
description: Namespace to watch for Ingress resources. By default the | ||
Ingress controller watches all namespaces. | ||
type: string | ||
wildcardTLS: | ||
description: A Secret with a TLS certificate and key for TLS termination | ||
of every Ingress host for which TLS termination is enabled but the | ||
Secret is not specified. The secret must be of the type kubernetes.io/tls. | ||
If the argument is not set, for such Ingress hosts NGINX will break | ||
any attempt to establish a TLS connection. If the argument is set, | ||
but the Ingress controller is not able to fetch the Secret from Kubernetes | ||
API, the Ingress Controller will fail to start. Format is namespace/name. | ||
type: string | ||
required: | ||
- image | ||
- serviceType | ||
- type | ||
type: object | ||
status: | ||
description: NginxIngressControllerStatus defines the observed state of | ||
NginxIngressController | ||
properties: | ||
deployed: | ||
description: Deployed is true if the Operator has finished the deployment | ||
of the NginxIngressController. | ||
type: boolean | ||
required: | ||
- deployed | ||
type: object | ||
type: object | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
Oops, something went wrong.