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

Readme for dashboard operator and updates stable version #56

Merged
merged 2 commits into from
May 15, 2020

Conversation

somtochiama
Copy link
Member

No description provided.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 13, 2020
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 13, 2020
Copy link
Contributor

@stealthybox stealthybox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work on this -- I was able to create a new code-base following your instructions!

Comment on lines 306 to 310
apiVersion: app.k8s.io/v1beta1
kind: Application
metadata:
name: kubernetes-dashboard
namespace: kube-system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack removal of Application CustomResource

make run
```
Logs from the operator appear in the console.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's one more thing we can help the reader understand :)

Suggested change
Now in another terminal, create an instance of the Dashboard custom resource:
```bash
kubectl create ns kubernetes-dashboard
kubectl -n kubernetes-dashboard apply -f config/samples/addons_v1alpha1_dashboard.yaml
```
You should see the operator respond and apply the resources from your package.

Comment on lines 32 to 44
Make a directory under `channels/packages/dashboard` with the version number. For the dashboard operator the stable
version was `2.0.0`
```bash
cd channels/packages/dashboard
mkdoir 2.0.0
```

Download the manifest yaml
```bash
cd 2.0.0
wget kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
mv recommended.yaml manifest.yaml
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caught some small typos here /w mkdoir and kubectl apply.

It can be a bit clunky to ask a user to cd into directories, because you need to instruct them to cd back out.
Here's a simpler method:

Suggested change
Make a directory under `channels/packages/dashboard` with the version number. For the dashboard operator the stable
version was `2.0.0`
```bash
cd channels/packages/dashboard
mkdoir 2.0.0
```
Download the manifest yaml
```bash
cd 2.0.0
wget kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
mv recommended.yaml manifest.yaml
```
Make a directory under `channels/packages/dashboard` for a stable version of the dashboard -- then download the manifest for it:
```bash
mkdir -p channels/packages/dashboard/2.0.0
wget -O channels/packages/dashboard/2.0.0/manifest.yaml https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
```

find . -name "*_test.go" -delete
```

# Determine the a stable version and include its manifest:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Determine the a stable version and include its manifest:
# Determine a stable version and include its manifest:

@stealthybox
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 15, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SomtochiAma, stealthybox

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 15, 2020
@k8s-ci-robot k8s-ci-robot merged commit 657eb5b into kubernetes-sigs:master May 15, 2020
@somtochiama somtochiama deleted the dashboard-readme branch June 3, 2020 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants