Skip to content

Commit bb012a3

Browse files
catalogsource: update dir name (#294)
Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent 039d150 commit bb012a3

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

crds/operators.coreos.com_catalogsources.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -535,14 +535,12 @@ spec:
535535
extractContent:
536536
description: ExtractContent configures the gRPC catalog Pod to extract catalog metadata from the provided index image and use a well-known version of the `opm` server to expose it. The catalog index image that this CatalogSource is configured to use *must* be using the file-based catalogs in order to utilize this feature.
537537
type: object
538-
required:
539-
- configDir
540538
properties:
541539
cacheDir:
542540
description: CacheDir is the directory storing the pre-calculated API cache.
543541
type: string
544-
configDir:
545-
description: ConfigDir is the directory storing the file-based catalog contents.
542+
catalogDir:
543+
description: CatalogDir is the directory storing the file-based catalog contents.
546544
type: string
547545
memoryTarget:
548546
description: "MemoryTarget configures the $GOMEMLIMIT value for the gRPC catalog Pod. This is a soft memory limit for the server, which the runtime will attempt to meet but makes no guarantees that it will do so. If this value is set, the Pod will have the following modifications made to the container running the server: - the $GOMEMLIMIT environment variable will be set to this value in bytes - the memory request will be set to this value \n This field should be set if it's desired to reduce the footprint of a catalog server as much as possible, or if a catalog being served is very large and needs more than the default allocation. If your index image has a file- system cache, determine a good approximation for this value by doubling the size of the package cache at /tmp/cache/cache/packages.json in the index image. \n This field is best-effort; if unset, no default will be used and no Pod memory limit or $GOMEMLIMIT value will be set."

0 commit comments

Comments
 (0)