Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Oct 27, 2023
1 parent 76da749 commit ace69d6
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs/getting-started-with-alfresco-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ Alfresco charts depend on a common library chart called
[named templates](https://helm.sh/docs/chart_template_guide/named_templates)
one can use in order to build his own content platform chart.

Named templates are similar to functions in a programing language expect they
can only return strings and always take a single argument (which can be an
object).
For example the [URL helper](../charts/alfresco-comon/templates/_helper-url.tpl)
file provides functions to extract vairous elements from a given URL.
For example:
Named templates are reusable functions that can only return strings and always
take a single argument, which eventually can be an object. For example the [URL
helper](../charts/alfresco-comon/templates/_helper-url.tpl) file provides
functions to extract various elements from a given URL. For example:

* `{{ template "alfresco-common.url.scheme" "https://hub.alfresco.com/" }}`
will return "https"
Expand Down Expand Up @@ -87,11 +85,11 @@ dependencies:
alias: repo
```
> In the example above we use `repo` as an alis so any value in our chart that
lives under the `$.repo` YAML path will actually be passed to the
`alfresco-repository` chart. In other words, values documented for the
`alfresco-repository` chart such as `replicaCount` will be used from your chart
as `repo.replicaCount`.
> In the example above we use `repo` as an alias so any value in our chart that
> lives under the `$.repo` YAML path will actually be passed to the
> `alfresco-repository` chart. In other words, values documented for the
> `alfresco-repository` chart such as `replicaCount` will be used from your
> chart as `repo.replicaCount`.

#### Configuring the chart

Expand Down

0 comments on commit ace69d6

Please sign in to comment.