Skip to content

Commit

Permalink
docs: update examples to new helm install command format (#2369)
Browse files Browse the repository at this point in the history
Tried example with helm 3.5.2 and it does not support `--name` flag. So I moved name and repository to first line of commands.
  • Loading branch information
humb1t committed Mar 1, 2021
1 parent eb5c530 commit f006556
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
12 changes: 4 additions & 8 deletions docs/docs/guides/kubernetes-helm-chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,10 @@ running Kubernetes locally, please adjust the hostnames accordingly.
Let's install the Login and Consent App first

```bash
$ helm install \
$ helm install hydra-example-idp ory/example-idp \
--set 'hydraAdminUrl=http://hydra-example-admin:4445/' \
--set 'hydraPublicUrl=http://public.hydra.localhost/' \
--set 'ingress.enabled=true' \
--name hydra-example-idp \
ory/example-idp
--set 'ingress.enabled=true'
```

with hostnames
Expand All @@ -166,7 +164,7 @@ outside of `localhost` and only for testing and demonstration purposes. Install
the ORY Hydra Helm Chart

```bash
$ helm install \
$ helm install hydra-example ory/hydra \
--set 'hydra.config.secrets.system=$(LC_ALL=C tr -dc 'A-Za-z0-9' < /dev/urandom | base64 | head -c 32)' \
--set 'hydra.config.dsn=memory' \
--set 'hydra.config.urls.self.issuer=http://public.hydra.localhost/' \
Expand All @@ -175,9 +173,7 @@ $ helm install \
--set 'hydra.config.urls.logout=http://example-idp.localhost/logout' \
--set 'ingress.public.enabled=true' \
--set 'ingress.admin.enabled=true' \
--set 'hydra.dangerousForceHttp=true' \
--name hydra-example \
ory/hydra
--set 'hydra.dangerousForceHttp=true'
```

with hostnames
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,10 @@ running Kubernetes locally, please adjust the hostnames accordingly.
Let's install the Login and Consent App first

```bash
$ helm install \
$ helm install hydra-example-idp ory/example-idp \
--set 'hydraAdminUrl=http://hydra-example-admin:4445/' \
--set 'hydraPublicUrl=http://public.hydra.localhost/' \
--set 'ingress.enabled=true' \
--name hydra-example-idp \
ory/example-idp
--set 'ingress.enabled=true'
```

with hostnames
Expand All @@ -166,7 +164,7 @@ outside of `localhost` and only for testing and demonstration purposes. Install
the ORY Hydra Helm Chart

```bash
$ helm install \
$ helm install hydra-example ory/hydra \
--set 'hydra.config.secrets.system=$(LC_ALL=C tr -dc 'A-Za-z0-9' < /dev/urandom | base64 | head -c 32)' \
--set 'hydra.config.dsn=memory' \
--set 'hydra.config.urls.self.issuer=http://public.hydra.localhost/' \
Expand All @@ -175,9 +173,7 @@ $ helm install \
--set 'hydra.config.urls.logout=http://example-idp.localhost/logout' \
--set 'ingress.public.enabled=true' \
--set 'ingress.admin.enabled=true' \
--set 'hydra.dangerousForceHttp=true' \
--name hydra-example \
ory/hydra
--set 'hydra.dangerousForceHttp=true'
```

with hostnames
Expand Down

0 comments on commit f006556

Please sign in to comment.