Skip to content

Documentation discrepancy over make run and make install #219

@tmshort

Description

@tmshort

In README.md the following is the specified behavior of make run:

Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running)

This is the README.md specified behavior of make install:

Install the CRDs into the cluster

This is the make help of those two commands:

  install          Install CRDs into the K8s cluster specified in ~/.kube/config.
  run              Build the operator-controller then deploy it into a new kind cluster.

But in actuality, run build a kind cluster and then does an install to it, which installs the whole of operator-controller:

run: docker-build kind-cluster kind-load install ## Build the operator-controller then deploy it into a new kind cluster.

install: export MANIFEST="./operator-controller.yaml"
install: manifests kustomize generate ## Install CRDs into the K8s cluster specified in ~/.kube/config.
	kubectl kustomize config/default > operator-controller.yaml
	envsubst '$$CATALOGD_VERSION,$$CERT_MGR_VERSION,$$RUKPAK_VERSION,$$MANIFEST' < scripts/install.tpl.sh | bash -s

So, there's inconsistency, and we need to fix it. Not sure if this means we should add new targets, fix the documentation, fix the targets, or a combination.

We should also look at the rukpak and catalogd (and possibly deppy) to see what their targets are, so we can have consistency in the OLM ecosystem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions