Skip to content

Commit 367f2a6

Browse files
stevekuznetsovci-robot
authored andcommitted
catalogsource: update dir name (#294)
Signed-off-by: Steve Kuznetsov <[email protected]> Upstream-repository: api Upstream-commit: bb012a3b9b2573023a6cee00c0ea2badb413022e
1 parent 286b054 commit 367f2a6

File tree

7 files changed

+12
-18
lines changed

7 files changed

+12
-18
lines changed

manifests/0000_50_olm_00-catalogsources.crd.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,14 +537,12 @@ spec:
537537
extractContent:
538538
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.
539539
type: object
540-
required:
541-
- configDir
542540
properties:
543541
cacheDir:
544542
description: CacheDir is the directory storing the pre-calculated API cache.
545543
type: string
546-
configDir:
547-
description: ConfigDir is the directory storing the file-based catalog contents.
544+
catalogDir:
545+
description: CatalogDir is the directory storing the file-based catalog contents.
548546
type: string
549547
memoryTarget:
550548
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."

staging/api/crds/operators.coreos.com_catalogsources.yaml

Lines changed: 2 additions & 4 deletions
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."

staging/api/crds/zz_defs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/api/pkg/operators/v1alpha1/catalogsource_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ type GrpcPodConfig struct {
173173
type ExtractContentConfig struct {
174174
// CacheDir is the directory storing the pre-calculated API cache.
175175
CacheDir string `json:"cacheDir,omitempty"`
176-
// ConfigDir is the directory storing the file-based catalog contents.
177-
ConfigDir string `json:"configDir,omitempty "`
176+
// CatalogDir is the directory storing the file-based catalog contents.
177+
CatalogDir string `json:"catalogDir,omitempty"`
178178
}
179179

180180
// UpdateStrategy holds all the different types of catalog source update strategies

vendor/github.com/operator-framework/api/crds/operators.coreos.com_catalogsources.yaml

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/operator-framework/api/crds/zz_defs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/operator-framework/api/pkg/operators/v1alpha1/catalogsource_types.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)