|
26889 | 26889 | }
|
26890 | 26890 | }
|
26891 | 26891 | },
|
| 26892 | + "com.github.openshift.api.operator.v1.ConfigMapFileReference": { |
| 26893 | + "description": "ConfigMapFileReference references a specific file within a ConfigMap.", |
| 26894 | + "type": "object", |
| 26895 | + "required": [ |
| 26896 | + "name", |
| 26897 | + "key" |
| 26898 | + ], |
| 26899 | + "properties": { |
| 26900 | + "key": { |
| 26901 | + "description": "key is the logo key inside the referenced ConfigMap. Must consist only of alphanumeric characters, dashes (-), underscores (_), and periods (.). Must be at most 253 characters in length. Must end in a valid file extension. A valid file extension must consist of a period followed by 2 to 5 alpha characters.", |
| 26902 | + "type": "string", |
| 26903 | + "default": "" |
| 26904 | + }, |
| 26905 | + "name": { |
| 26906 | + "description": "name is the name of the ConfigMap. name is a required field. Must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character. Must be at most 253 characters in length.", |
| 26907 | + "type": "string", |
| 26908 | + "default": "" |
| 26909 | + } |
| 26910 | + } |
| 26911 | + }, |
26892 | 26912 | "com.github.openshift.api.operator.v1.ConfigSpec": {
|
26893 | 26913 | "type": "object",
|
26894 | 26914 | "required": [
|
|
27023 | 27043 | }
|
27024 | 27044 | },
|
27025 | 27045 | "com.github.openshift.api.operator.v1.ConsoleCustomization": {
|
27026 |
| - "description": "ConsoleCustomization defines a list of optional configuration for the console UI.", |
| 27046 | + "description": "ConsoleCustomization defines a list of optional configuration for the console UI. Ensure that Logos and CustomLogoFile cannot be set at the same time.", |
27027 | 27047 | "type": "object",
|
27028 | 27048 | "properties": {
|
27029 | 27049 | "addPage": {
|
|
27048 | 27068 | "x-kubernetes-list-type": "map"
|
27049 | 27069 | },
|
27050 | 27070 | "customLogoFile": {
|
27051 |
| - "description": "customLogoFile replaces the default OpenShift logo in the masthead and about dialog. It is a reference to a ConfigMap in the openshift-config namespace. This can be created with a command like 'oc create configmap custom-logo --from-file=/path/to/file -n openshift-config'. Image size must be less than 1 MB due to constraints on the ConfigMap size. The ConfigMap key should include a file extension so that the console serves the file with the correct MIME type. Recommended logo specifications: Dimensions: Max height of 68px and max width of 200px SVG format preferred", |
| 27071 | + "description": "customLogoFile replaces the default OpenShift logo in the masthead and about dialog. It is a reference to a Only one of customLogoFile or logos can be set at a time. ConfigMap in the openshift-config namespace. This can be created with a command like 'oc create configmap custom-logo --from-file=/path/to/file -n openshift-config'. Image size must be less than 1 MB due to constraints on the ConfigMap size. The ConfigMap key should include a file extension so that the console serves the file with the correct MIME type. The recommended file format for the logo is SVG, but other file formats are allowed if supported by the browser. Deprecated: Use logos instead.", |
27052 | 27072 | "default": {},
|
27053 | 27073 | "$ref": "#/definitions/com.github.openshift.api.config.v1.ConfigMapFileReference"
|
27054 | 27074 | },
|
|
27065 | 27085 | "description": "documentationBaseURL links to external documentation are shown in various sections of the web console. Providing documentationBaseURL will override the default documentation URL. Invalid value will prevent a console rollout.",
|
27066 | 27086 | "type": "string"
|
27067 | 27087 | },
|
| 27088 | + "logos": { |
| 27089 | + "description": "logos is used to replace the OpenShift Masthead and Favicon logos in the console UI with custom logos. logos is an optional field that allows a list of logos. Only one of logos or customLogoFile can be set at a time. If logos is set, customLogoFile must be unset. When specified, there must be at least one entry and no more than 2 entries. Each type must appear only once in the list.", |
| 27090 | + "type": "array", |
| 27091 | + "items": { |
| 27092 | + "default": {}, |
| 27093 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.Logo" |
| 27094 | + }, |
| 27095 | + "x-kubernetes-list-map-keys": [ |
| 27096 | + "type" |
| 27097 | + ], |
| 27098 | + "x-kubernetes-list-type": "map" |
| 27099 | + }, |
27068 | 27100 | "perspectives": {
|
27069 | 27101 | "description": "perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.",
|
27070 | 27102 | "type": "array",
|
|
27896 | 27928 | }
|
27897 | 27929 | }
|
27898 | 27930 | },
|
| 27931 | + "com.github.openshift.api.operator.v1.FileReferenceSource": { |
| 27932 | + "description": "FileReferenceSource is used by the console to locate the specified file containing a custom logo.", |
| 27933 | + "type": "object", |
| 27934 | + "required": [ |
| 27935 | + "from" |
| 27936 | + ], |
| 27937 | + "properties": { |
| 27938 | + "configMap": { |
| 27939 | + "description": "configMap specifies the ConfigMap sourcing details such as the name of the ConfigMap and the key for the file. The ConfigMap must exist in the openshift-config namespace. Required when from is \"ConfigMap\", and forbidden otherwise.", |
| 27940 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.ConfigMapFileReference" |
| 27941 | + }, |
| 27942 | + "from": { |
| 27943 | + "description": "from is a required field to specify the source type of the file reference. Allowed values are ConfigMap. When set to ConfigMap, the file will be sourced from a ConfigMap in the openshift-config namespace. The configMap field must be set when from is set to ConfigMap.\n\nPossible enum values:\n - `\"ConfigMap\"` represents a ConfigMap source.", |
| 27944 | + "type": "string", |
| 27945 | + "default": "", |
| 27946 | + "enum": [ |
| 27947 | + "ConfigMap" |
| 27948 | + ] |
| 27949 | + } |
| 27950 | + } |
| 27951 | + }, |
27899 | 27952 | "com.github.openshift.api.operator.v1.ForwardPlugin": {
|
27900 | 27953 | "description": "ForwardPlugin defines a schema for configuring the CoreDNS forward plugin.",
|
27901 | 27954 | "type": "object",
|
|
29805 | 29858 | }
|
29806 | 29859 | ]
|
29807 | 29860 | },
|
| 29861 | + "com.github.openshift.api.operator.v1.Logo": { |
| 29862 | + "description": "Logo defines a configuration based on theme modes for the console UI logo.", |
| 29863 | + "type": "object", |
| 29864 | + "required": [ |
| 29865 | + "type", |
| 29866 | + "themes" |
| 29867 | + ], |
| 29868 | + "properties": { |
| 29869 | + "themes": { |
| 29870 | + "description": "themes specifies the themes for the console UI logo. themes is a required field that allows a list of themes. Each item in the themes list must have a unique mode and a source field. Each mode determines whether the logo is for the dark or light mode of the console UI. If a theme is not specified, the default OpenShift logo will be displayed for that theme. There must be at least one entry and no more than 2 entries.", |
| 29871 | + "type": "array", |
| 29872 | + "items": { |
| 29873 | + "default": {}, |
| 29874 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.Theme" |
| 29875 | + }, |
| 29876 | + "x-kubernetes-list-map-keys": [ |
| 29877 | + "mode" |
| 29878 | + ], |
| 29879 | + "x-kubernetes-list-type": "map" |
| 29880 | + }, |
| 29881 | + "type": { |
| 29882 | + "description": "type specifies the type of the logo for the console UI. It determines whether the logo is for the masthead or favicon. type is a required field that allows values of Masthead and Favicon. When set to \"Masthead\", the logo will be used in the masthead and about modal of the console UI. When set to \"Favicon\", the logo will be used as the favicon of the console UI.\n\nPossible enum values:\n - `\"Favicon\"` Favicon represents the favicon logo.\n - `\"Masthead\"` Masthead represents the logo in the masthead.", |
| 29883 | + "type": "string", |
| 29884 | + "default": "", |
| 29885 | + "enum": [ |
| 29886 | + "Favicon", |
| 29887 | + "Masthead" |
| 29888 | + ] |
| 29889 | + } |
| 29890 | + } |
| 29891 | + }, |
29808 | 29892 | "com.github.openshift.api.operator.v1.MTUMigration": {
|
29809 | 29893 | "description": "MTUMigration contains infomation about MTU migration.",
|
29810 | 29894 | "type": "object",
|
|
32663 | 32747 | }
|
32664 | 32748 | }
|
32665 | 32749 | },
|
| 32750 | + "com.github.openshift.api.operator.v1.Theme": { |
| 32751 | + "description": "Theme defines a theme mode for the console UI.", |
| 32752 | + "type": "object", |
| 32753 | + "required": [ |
| 32754 | + "mode", |
| 32755 | + "source" |
| 32756 | + ], |
| 32757 | + "properties": { |
| 32758 | + "mode": { |
| 32759 | + "description": "mode is used to specify what theme mode a logo will apply to in the console UI. mode is a required field that allows values of Dark and Light. When set to Dark, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Dark mode. When set to Light, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Light mode.\n\nPossible enum values:\n - `\"Dark\"` represents the dark mode for a console theme.\n - `\"Light\"` represents the light mode for a console theme.", |
| 32760 | + "type": "string", |
| 32761 | + "default": "", |
| 32762 | + "enum": [ |
| 32763 | + "Dark", |
| 32764 | + "Light" |
| 32765 | + ] |
| 32766 | + }, |
| 32767 | + "source": { |
| 32768 | + "description": "source is used by the console to locate the specified file containing a custom logo. source is a required field that references a ConfigMap name and key that contains the custom logo file in the openshift-config namespace. You can create it with a command like: - 'oc create configmap custom-logos-config --namespace=openshift-config --from-file=/path/to/file' The ConfigMap key must include the file extension so that the console serves the file with the correct MIME type. The recommended file format for the Masthead and Favicon logos is SVG, but other file formats are allowed if supported by the browser. The logo image size must be less than 1 MB due to constraints on the ConfigMap size. For more information, see the documentation: https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/web_console/customizing-web-console#customizing-web-console", |
| 32769 | + "default": {}, |
| 32770 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.FileReferenceSource" |
| 32771 | + } |
| 32772 | + } |
| 32773 | + }, |
32666 | 32774 | "com.github.openshift.api.operator.v1.Upstream": {
|
32667 | 32775 | "description": "Upstream can either be of type SystemResolvConf, or of type Network.\n\n - For an Upstream of type SystemResolvConf, no further fields are necessary:\n The upstream will be configured to use /etc/resolv.conf.\n - For an Upstream of type Network, a NetworkResolver field needs to be defined\n with an IP address or IP:port if the upstream listens on a port other than 53.",
|
32668 | 32776 | "type": "object",
|
|
0 commit comments