Skip to content

Commit

Permalink
Readme Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chukka committed Jul 23, 2020
1 parent ad65241 commit d5a689b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions stable/distribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,11 @@ Create trust between the nodes by copying the ca.crt from the Artifactory server
```

This will, in turn:
-* Create a configMap with the files you specified above
-* Create a volume pointing to the configMap with the name `distribution-configmaps`
+* Create a configMap with the files you specified above
+* Create a volume pointing to the configMap with the name `distribution-configmaps`
* Mount said configMap onto `/tmp` using a `customVolumeMounts`
* Using preStartCommand copy the `ca.crt` file to xray trusted keys folder `/etc/security/keys/trusted/ca.crt`
* `router.tlsEnabled` is set to true to add HTTPS scheme in liveness and readiness probes.
* Create a configMap with the files you specified above
* Create a volume pointing to the configMap with the name `distribution-configmaps`
* Mount said configMap onto `/tmp` using a `customVolumeMounts`
* Using preStartCommand copy the `ca.crt` file to xray trusted keys folder `/etc/security/keys/trusted/ca.crt`
* `router.tlsEnabled` is set to true to add HTTPS scheme in liveness and readiness probes.


## Custom init containers
Expand Down Expand Up @@ -328,13 +326,15 @@ The following table lists the configurable parameters of the distribution chart
| `logger.image.tag` | Tag for logger image | `1.31.1` |
| `common.uid` | Distribution and Distributor process user ID | `1020` |
| `common.gid` | Distribution and Distributor process group ID | `1020` |
| `common.customVolumes` | Custom Volumes for Distribution | see [values.yaml](values.yaml) |
| `common.customVolumes` | Custom Volumes | see [values.yaml](values.yaml) |
| `common.configMaps` | Custom configMaps | see [values.yaml](values.yaml) |
| `common.customInitContainers` | Custom InitContainers | see [values.yaml](values.yaml) |
| `common.customSidecarContainers` | Custom SidecarContainers | see [values.yaml](values.yaml) |
| `distribution.name` | Distribution name | `distribution` |
| `distribution.image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `distribution.image.repository` | Container image | `docker.bintray.io/jfrog/distribution-distribution` |
| `distribution.image.version` | Container image tag | `.Chart.AppVersion` |
| `distribution.service.type` | Distribution service type | `ClusterIP` |
| `distribution.customInitContainers` | Custom init containers for Distribution | |
| `distribution.customVolumeMounts` | Custom Volume Mounts for Distribution | see [values.yaml](values.yaml) |
| `distribution.externalPort` | Distribution service external port | `80` |
| `distribution.internalPort` | Distribution service internal port | `8080` |
Expand Down
8 changes: 4 additions & 4 deletions stable/distribution/templates/distribution-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ spec:
- name: distribution-data
mountPath: {{ .Values.distribution.persistence.mountPath | quote }}
{{- end }}
{{- if .Values.common.customInitContainers }}
{{ tpl .Values.common.customInitContainers . | indent 6}}
{{- with .Values.common.customInitContainers }}
{{ tpl . $ | indent 6}}
{{- end }}
containers:
- name: {{ .Values.distribution.name }}
Expand Down Expand Up @@ -403,8 +403,8 @@ spec:
{{ toYaml .Values.filebeat.resources | indent 10 }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
{{- end }}
{{- if .Values.common.customSidecarContainers }}
{{ tpl .Values.common.customSidecarContainers . | indent 6 }}
{{- with .Values.common.customSidecarContainers }}
{{ tpl . $ | indent 6 }}
{{- end }}
{{- with .Values.distribution.nodeSelector }}
nodeSelector:
Expand Down

0 comments on commit d5a689b

Please sign in to comment.