Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 7. JWS Operator CRD parameters
The JWS Operator provides a set of custom resource definition (CRD) parameters. When you create a custom resource WebServer
file for a web application, you can specify parameter values in a <key>: <value>
format. The JWS Operator uses the information that you specify in the custom resource WebServer
file to deploy the web application.
7.1. CRD parameter hierarchy Link kopierenLink in die Zwischenablage kopiert!
The JWS Operator provides CRD parameters in the following hierarchical format:
When you create a custom resource WebServer
file, specify parameter names and values in the same hierarchical format that the preceding example outlines. For more information about creating a custom resource WebServer
file, see Deploying an existing JWS image.
The genericWebhookSecret
and githubWebhookSecret
parameters are deprecated in the JWS Operator 2.1 release. The useInsightsClient
parameter is a Technology Preview feature only.
7.2. CRD parameter details Link kopierenLink in die Zwischenablage kopiert!
The following table describes the CRD parameters that the JWS Operator provides. This table shows each parameter name in the context of any higher-level parameters that are above it in the hierarchy.
Parameter name | Description |
---|---|
| The number of pods of the JBoss Web Server image that you want to run
For example: |
| The name of the web application that you want the JWS Operator to deploy The application name must be a unique value in the OpenShift namespace or project. The JWS Operator uses the application name that you specify to create the route to access the web application.
For example: |
| Enables DNSping session clustering
This is set to Note
In this release, the session clustering functionality is available as a Technology Preview feature only. The current Operator version uses the
For example: |
| A set of parameters that controls how the JWS Operator deploys pods from existing images
This parameter contains |
| The full path to the name of the application image that you want to deploy
For example: |
| The name of the secret that the JWS Operator uses to pull images from the repository
The secret must contain the key
The
For example: |
| A set of parameters that describe how the JWS Operator builds the web application that you want to add to the application image
If you do not specify the
This parameter contains |
| The name of the web application file
The default name is
For example: |
| The URL where the application source files are located
The source should contain a Maven
For example: |
| The branch of the source repository that the JWS Operator uses
For example: |
|
The subdirectory in the source repository where the
For example: |
| The URL of the images where the JWS Operator pushes the built image |
| The name of the secret that the JWS Operator uses to push images to the repository
The secret must contain the key
If the JWS Operator uses a pull secret to pull images from the repository, you must specify the name of the pull secret as the value for the
For example: |
| A set of parameters that describe how the JWS Operator builds the web application and creates and pushes the image to the image repository Note
To ensure that the builder can operate successfully and run commands with different user IDs, the builder must have access to the
This parameter contains |
| The image of the container where the JWS Operator builds the web application
For example: |
| The name of the secret (if specified) that the JWS Operator uses to pull the builder image from the repository
The secret must contain the key
The
For example: |
|
The script that the builder image uses to build the application If you do not specify a value for this parameter, the builder image uses a default script that uses Maven and Buildah. |
| The health check that the JWS Operator uses The default behavior is to use the health valve, which does not require any parameters.
This parameter contains |
| A string that specifies the logic for the pod readiness health check
If this parameter is not specified, the JWS Operator uses the default health check by using the OpenShift internal registry to check
For example: |
| A string that specifies the logic for the pod liveness health check This parameter is optional. |
| A set of parameters that control how the JWS Operator uses an image stream that provides images to run or to build upon The JWS Operator uses the latest image in the image stream.
This parameter contains |
| The name of the image stream that you have created to allow the JWS Operator to find the base images
For example: |
| The namespace or project where you have created the image stream
For example: |
| A set of parameters that describe where the application source files are located and how to build them
If you do not specify the
This parameter contains |
| The URL where the application source files are located
The source should contain a Maven
For example: |
| The branch of the source repository that the JWS Operator uses
For example: |
|
The subdirectory in the source repository where the
For example: |
| A set of parameters that specify secret names for triggering a build through a webhook
This parameter contains |
| The name of a secret for a generic webhook that can trigger a build For more information about creating a secret, see Creating a secret for a webhook. For more information about using generic webhooks, see Webhook Triggers.
For example: |
| The name of a secret for a GitHub webhook that can trigger a build For more information about creating a secret, see Creating a secret for a webhook. For more information about using GitHub webhooks, see Webhook Triggers.
For example: |
| The name of a secret for a GitLab webhook that can trigger a build For more information about creating a secret, see Creating a secret for a webhook. For more information about using GitLab webhooks, see Webhook Triggers.
For example: |
| A set of parameters that describe how to build the application images This parameter is optional.
This parameter contains Note
The |
| The Maven proxy URL that Maven uses to build the web application This parameter is required if the cluster does not have internet access. |
|
The directory where Maven stores the
The contents of this directory are copied to the
The default value is |
| Important
This parameter is deprecated in the 2.1 release. Use the A webhook secret string For more information about creating a secret, see Creating a secret for a webhook. For more information about using generic webhooks, see Webhook Triggers.
For example: |
| Important
This parameter is deprecated in the 2.1 release. Use the A webhook secret string specific to GitHub For more information about creating a secret, see Creating a secret for a webhook. For more information about using GitHub webhooks, see Webhook Triggers. Note You cannot perform manual tests of a GitHub webhook. GitHub generates the payload and it is not empty. |
| The health check that the JWS Operator uses The default behavior is to use the health valve, which does not require any parameters.
This parameter contains |
| A string that specifies the logic for the pod readiness health check
If this parameter is not specified, the JWS Operator uses the default health check by using the OpenShift internal registry to check
For example: |
| A string that specifies the logic for the pod liveness health check This parameter is optional. |
| A set of parameters that specify the TLS configuration for a web server
This parameter contains |
| Indicates whether the Operator should create a route or whether the route uses TLS
Supported values are
For example: |
| Indicates whether the Operator should use the TLS connector with a client certificate
Supported values are
For more information, see the Apache Tomcat HTTP Connector documentation about the
For example: |
|
The secret to use for the server certificate (
For example: |
|
The passphrase used to protect the server key (
For example: |
| Environment variables for deployment |
| A set of parameters that specify persistent volume and logging configuration
This parameter contains |
|
Indicates whether the
Supported values are
For example: |
|
Indicates whether the
Supported values are
For example: |
| Name of the persistent volume that is used to store the log files
For example: |
| Name of the storage class of the persistent volume that is used to store the log files
For example: |
| Specifies the configuration of the CPU and memory resources that the web server uses
These values must be categorized under For example:
These values are used for autoscaling. For more information about autoscaling, see Automatically scaling pods with the horizontal pod autoscaler. |
| Defines the security capabilities that are required to run the application |
| A set of parameters that specify the volumes to be mounted
This parameter contains |
|
A list of the names of persistent volume claims (PVCs) that are to be mounted to the
For example: |
|
A list of the names of secrets that are to be mounted to the
For example: |
|
A list of the names of config maps that are to be mounted to the
For example: |
|
A list of
For more information about |
| Indicates whether to create a connection with the runtimes inventory operator that Red Hat provides
Supported values are
For example:
You can enable debug logging for the Insights client by setting the Note
The |