Skip to content

Commit

Permalink
Fix spelling errors (#47)
Browse files Browse the repository at this point in the history
* Add new words

Signed-off-by: Babak K. Shandiz <[email protected]>

* Fix spelling errors

Signed-off-by: Babak K. Shandiz <[email protected]>

---------

Signed-off-by: Babak K. Shandiz <[email protected]>
  • Loading branch information
babakks authored May 29, 2024
1 parent 6c05465 commit df86572
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,20 @@ juju
Juju
K8s
Keystore
Kratos
Kubeflow
Kubernetes
Launchpad
ldap
LDAP
LTS
MacOS
Makefile
Matrix
Mattermost
MicroK
MicroK8s
Multipass
MyST
namespace
namespaces
Expand All @@ -63,6 +67,7 @@ OLM
OpenFGA
OpenID
OpenLDAP
Ory
Permalink
PostgreSQL
pre
Expand All @@ -74,18 +79,22 @@ reStructuredText
roadmap
RTD
Skype
Snapcraft
SSH
subdirectories
subfolders
subtree
Terraform
TLS
Traefik
Ubuntu
UbuntuSSO
UI
URI
UUID
VM
VM's
VMs
webhook
Websocket
Xbox
Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The following document describes missing JAAS documentation as well as any docs
- ~~Deploy JAAS tutorial~~ (completed in deploy_jimm_microk8s.rst)
- JAAS architecture
- ~~Explain the difference between Juju, JAAS and jimmctl CLI tools.~~ (completed in cli_tools.rst)
- Auth doc explaining JIMM's authentication and authorization.
- Auth doc explaining JIMM's authentication and authorisation.
- How to enable/deploy/use the dashboard.
- JAAS Limitations - potentially (As an example, cross-controller relations don't work with JAAS currently)
- Relating JIMM and COS stack - general observability.
Expand Down
8 changes: 4 additions & 4 deletions explanation/cli_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Summary
- A plugin to add more commands to the Juju CLI
- A tool for admins of the JIMM server
* - Installation Link
- `juju <https://snapcraft.io/juju>`__
- `jaas <https://snapcraft.io/jaas>`__
- `jimmctl <https://snapcraft.io/jimmctl>`__
- `Snap package <https://snapcraft.io/juju>`__
- `Snap package <https://snapcraft.io/jaas>`__
- `Snap package <https://snapcraft.io/jimmctl>`__
* - Use
- ``juju <command>``
- ``juju jaas -h`` and ``juju <command>``
Expand Down Expand Up @@ -52,7 +52,7 @@ However, JIMM offers some extra functionality and that is where ``jaas`` comes i

The ``jaas`` CLI tool acts as a plugin for the Juju CLI. It is distributed as `a Snap <https://snapcraft.io/jaas>`__.
When you install both the Juju and JAAS snaps, they automatically connect via
Snapcraft's `content-interface <https://snapcraft.io/docs/content-interface>`__ enabling new commands on the Juju CLI.
`content-interface <https://snapcraft.io/docs/content-interface>`__ enabling new commands on the Juju CLI.

To view a list of all the newly available commands run ``juju jaas -h``.

Expand Down
22 changes: 11 additions & 11 deletions tutorial/deploy_jimm_microk8s.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For this tutorial you will need the following:

Setup Multipass (Optional)
--------------------------
Multipass is a tool to launch Ubuntu VMs from Windows, Linux and MacOS. The remainder of this guide can be run from within a multipass VM to avoid affecting the host machine.
Multipass is a tool to launch Ubuntu VMs from Windows, Linux and MacOS. The remainder of this guide can be run from within a Multipass VM to avoid affecting the host machine.

Start by running the following commands to install and start a Multipass VM, the optional section will define the VM's memory/CPU/disk usage.

Expand All @@ -44,10 +44,10 @@ Now we can install our dependencies, note that Juju 3+ only works with a strictl
sudo snap install juju --channel=3.5/stable
Once you have the Juju CLI installed, you will need to bootstrap a Juju controller to your cloud.
We will be using Microk8s as our cloud. The Juju documentation has detailed instructions on how to bootstrap a controller
We will be using MicroK8s as our cloud. The Juju documentation has detailed instructions on how to bootstrap a controller
for various clouds and machine types.

To begin, run the following commands to setup Microk8s.
To begin, run the following commands to setup MicroK8s.

.. code:: bash
Expand Down Expand Up @@ -92,7 +92,7 @@ Watch the deployment by running:
juju status --watch 1s
Eventually all application should reach an ``active`` state except for the ``kratos-external-idp-integrator`` application. This application allows you to connect your identity platform
to an external identity provider like Google, Github, Microsoft, etc. This is necessary because the identity provider only acts as an identity broker.
to an external identity provider like Google, GitHub, Microsoft, etc. This is necessary because the identity provider only acts as an identity broker.

We recommend using the following `how-to <https://charmhub.io/topics/canonical-identity-platform/how-to/integrate-external-identity-provider>`__ and choosing your preferred identity provider.
Note that you can temporarily skip this step and return to it later, JIMM can still run without integrating the identity bundle to an external identity provider but login to JIMM will not work.
Expand All @@ -110,10 +110,10 @@ Deploy JIMM
-----------
Now we will deploy JIMM and its dependencies into a new model. Let's first explore however what JIMM's dependencies are and what they are used for.

- OpenFGA: The OpenFGA charm provides authorization, defining who is allowed to access what.
- PostgreSQL: PostgreSQL is JIMM's database of choice and stores persistent state. This Postgres instance is used by both JIMM and OpenFGA.
- Vault: The Vault charm is used for storing sensitive user secrets. JIMM can be configured to store in plain-text in Postgres but this is not recommended for a production environment.
- Ingress: There are various charms that provide ingress into a K8s cluster. JIMM supports `traefik-k8s <https://charmhub.io/traefik-k8s>`__ and `nginx-ingress-integrator <https://charmhub.io/nginx-ingress-integrator>`__, this tutorial will use the latter.
- OpenFGA: The OpenFGA charm provides authorisation, defining who is allowed to access what.
- PostgreSQL: PostgreSQL is JIMM's database of choice and stores persistent state. This PostgreSQL instance is used by both JIMM and OpenFGA.
- Vault: The Vault charm is used for storing sensitive user secrets. JIMM can be configured to store in plain-text in PostgreSQL but this is not recommended for a production environment.
- Ingress: There are various charms that provide ingress into a K8s cluster. JIMM supports `Traefik Ingress <https://charmhub.io/traefik-k8s>`__ and `Nginx Ingress Integrator <https://charmhub.io/nginx-ingress-integrator>`__, this tutorial will use the latter.

.. note::
In a production environment you may want to structure your deployment slightly differently.
Expand Down Expand Up @@ -150,7 +150,7 @@ Move onto the next step to initialise Vault.

Initialise Vault
----------------
The Vault charm has documentation on how to initiliaze it `here <https://charmhub.io/vault-k8s/docs/h-getting-started?channel=1.15/beta>`__. But an abridged version of the steps are provided here.
The Vault charm has documentation on how to initialise it `here <https://charmhub.io/vault-k8s/docs/h-getting-started?channel=1.15/beta>`__. But an abridged version of the steps are provided here.

Install the Vault CLI client and the ``yq`` tool.

Expand Down Expand Up @@ -240,7 +240,7 @@ Run the following commands:
# A final redirect URL for login, normally set to the URL of the Juju dashboard.
juju config jimm final-redirect-url="http://test-jimm.localhost/auth/whoami"
Note that the public and private key pairs must be generated by the `go macaroon bakery repo <https://github.com/go-macaroon-bakery/macaroon-bakery>`__.
Note that the public and private key pairs must be generated by the `go macaroon bakery repository <https://github.com/go-macaroon-bakery/macaroon-bakery>`__.
To do this briefly run the following command, ensuring you have the ``go`` tool installed:

.. code:: bash
Expand All @@ -258,7 +258,7 @@ These values are only used internally between JIMM and Juju controllers.
}
At this point you can run ``juju status`` and you should observe JIMM is active.
Navigate to `http://test-jimm.localhost/debug/info <http://test-jimm.localhost/debug/info>`__ to verify your JIMM deployment.
Navigate to ``http://test-jimm.localhost/debug/info`` to verify your JIMM deployment.

Using Your JIMM Deployment
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ This is a collection of tutorials covering JAAS.

JAAS Basics <jaas_basics>
Group and access management <group_management>
Deploy JIMM on Microk8s <deploy_jimm_microk8s>
Deploy JIMM on MicroK8s <deploy_jimm_microk8s>

0 comments on commit df86572

Please sign in to comment.