Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct olm install steps #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions frontend/src/pages/documentation/HowToInstallOperators.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { History } from 'history';

import { ExternalLink } from '../../components/ExternalLink';
import DocumentationPage from '../../components/page/DocumentationPage';
import { olm, olmArchitecture, manageOperatorWithOlm, operatorGroupDesign } from '../../utils/documentationLinks';
import { olm, olmArchitecture, manageOperatorWithOlm, operatorGroupDesign, olmLatest } from '../../utils/documentationLinks';

export interface HowToInstallOperatorsPageProps {
history: History
Expand Down Expand Up @@ -41,15 +41,13 @@ const HowToInstallOperators: React.FC<HowToInstallOperatorsPageProps> = ({ histo
<React.Fragment>
<p>
A quick way to install OLM on a Kubernetes cluster with default settings and appropriate permission is by
running this command:
running the scripted install step from the{' '}<ExternalLink href={olmLatest} text="operator-lifecycle-manager latest release" />. For example, from v0.26.0 the commands are:
</p>
<p className="oh-documentation-page__code_snippet">
<code>
kubectl create -f
https://raw.githubusercontent.com/operator-framework/operator-lifecycle-manager/master/deploy/upstream/quickstart/crds.yaml
<br />
kubectl create -f
https://raw.githubusercontent.com/operator-framework/operator-lifecycle-manager/master/deploy/upstream/quickstart/olm.yaml
curl -L https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh -o install.sh
chmod +x install.sh
./install.sh v0.26.0
</code>
</p>
<p>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/utils/documentationLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ export const kubernetesSlack = `https://kubernetes.slack.com/messages/kubernetes
export const hubTwitter = `https://twitter.com/operatorhubio`;
export const hubYoutube = 'https://www.youtube.com/watch?v=yzPvPJLxCl8&list=PLaR6Rq6Z4Iqcuu758T4YX6KRa1158v3Rb';
export const fileAnIssue = `${operatorsRepo}/issues`;
export const olmLatest = `https://github.com/operator-framework/operator-lifecycle-manager/releases/latest`;