-
Notifications
You must be signed in to change notification settings - Fork 47
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
Readme for dashboard operator and updates stable version #56
Conversation
There was a problem hiding this 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!
apiVersion: app.k8s.io/v1beta1 | ||
kind: Application | ||
metadata: | ||
name: kubernetes-dashboard | ||
namespace: kube-system |
There was a problem hiding this comment.
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. | ||
|
There was a problem hiding this comment.
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 :)
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. | |
dashboard/README.md
Outdated
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 | ||
``` |
There was a problem hiding this comment.
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:
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 | |
``` | |
dashboard/README.md
Outdated
find . -name "*_test.go" -delete | ||
``` | ||
|
||
# Determine the a stable version and include its manifest: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Determine the a stable version and include its manifest: | |
# Determine a stable version and include its manifest: |
/lgtm |
[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 |
No description provided.