Skip to content

Commit

Permalink
Merge pull request #51 from ministryofjustice/NIT-1270-alfresco-creat…
Browse files Browse the repository at this point in the history
…e-helm-template

Test untarred chart for helm CR workflow
  • Loading branch information
georgepstaylor authored May 10, 2024
2 parents 42f0718 + d5667cd commit 7a5eb0b
Show file tree
Hide file tree
Showing 70 changed files with 3,172 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dependencies:
- name: alfresco-insight-zeppelin
repository: ""
version: 2.0.0
- name: alfresco-common
repository: https://alfresco.github.io/alfresco-helm-charts/
version: 2.0.0
digest: sha256:73ceeccdb51e1b757c9e7067759f748f716667efb9084b456fad43c3367a8cec
generated: "2023-03-09T11:30:13.663069+01:00"
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v2
appVersion: 2.0.7
dependencies:
- condition: alfresco-insight-zeppelin.enabled
name: alfresco-insight-zeppelin
repository: ""
version: 2.0.0
- name: alfresco-common
repository: https://alfresco.github.io/alfresco-helm-charts/
version: 2.0.0
description: A Helm chart for deploying Alfresco Search Service
home: https://www.alfresco.com
icon: https://avatars0.githubusercontent.com/u/391127?s=200&v=4
keywords:
- search
- search services
- alfresco search services
- insight
- insight engine
- alfresco insight engine
- solr
- alfresco solr
name: alfresco-search-service
sources:
- https://github.com/Alfresco/alfresco-helm-charts
version: 1.1.0
75 changes: 75 additions & 0 deletions alfresco-content-services/charts/alfresco-search-service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# alfresco-search-service

![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 2.0.7](https://img.shields.io/badge/AppVersion-2.0.7-informational?style=flat-square)

A Helm chart for deploying Alfresco Search Service

Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/README.md) for information on the Helm charts and deployment instructions.

**Homepage:** <https://www.alfresco.com>

## Source Code

* <https://github.com/Alfresco/alfresco-helm-charts>

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| | alfresco-insight-zeppelin | 2.0.0 |
| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-common | 2.0.0 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| PvNodeAffinity | string | `nil` | Define PVNodeAffinity for scheduling SOLR |
| affinity | string | `nil` | Define Affinity for scheduling SOLR |
| alfresco-insight-zeppelin.enabled | bool | `false` | |
| environment.SOLR_CREATE_ALFRESCO_DEFAULTS | string | `"alfresco,archive"` | |
| global.alfrescoRegistryPullSecrets | string | `"quay-registry-secret"` | |
| global.tracking.auth | string | `"secret"` | Select how solr and repo authenticate to each other none: work only prior to acs 7.2 (and was the default) secret: use a shared secret (to specify using `tracking.sharedsecret`) https: to use mTLS auth (require appropriate certificate configuration) |
| global.tracking.sharedsecret | string | `nil` | Shared secret to authenticate repo/solr traffic |
| ingress.basicAuth | string | `nil` | Default solr basic auth user/password: admin / admin You can create your own with htpasswd utilility & encode it with base640. Example: `echo -n "$(htpasswd -nbm admin admin)" | base64 | tr -d '\n'` basicAuth: YWRtaW46JGFwcjEkVVJqb29uS00kSEMuS1EwVkRScFpwSHB2a3JwTDd1Lg== |
| ingress.enabled | bool | `false` | Expose the solr admin console behind basic auth |
| ingress.existingSecretName | string | `nil` | An existing secret that contains an `auth` key with a value in the same format of `ingress.basicAuth` |
| ingress.path | string | `"/solr"` | |
| ingress.tls | list | `[]` | |
| ingress.whitelist_ips | string | `"0.0.0.0/0"` | Comma separated list of CIDR to restrict search endpoint access. |
| initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
| initContainer.image.repository | string | `"busybox"` | |
| initContainer.image.tag | string | `"1.35.0"` | |
| initContainer.resources.limits.memory | string | `"10Mi"` | |
| initContainer.resources.requests.memory | string | `"5Mi"` | |
| insightEngineImage.internalPort | string | `nil` | container's port search service is listening on change if your custom image use a different port. |
| insightEngineImage.pullPolicy | string | `"IfNotPresent"` | |
| insightEngineImage.repository | string | `"quay.io/alfresco/insight-engine"` | |
| insightEngineImage.tag | string | `"2.0.7"` | |
| livenessProbe.initialDelaySeconds | int | `130` | |
| livenessProbe.periodSeconds | int | `20` | |
| livenessProbe.timeoutSeconds | int | `10` | |
| nodeSelector | object | `{}` | Define the alfresco-search properties to use in the k8s cluster This is the search provider used by alfresco-content-repository |
| persistence | object | `{"EbsPvConfiguration":{"fsType":"ext4"},"VolumeSizeRequest":"10Gi","enabled":true,"search":{"data":{"mountPath":"/opt/alfresco-search-services/data","subPath":"alfresco-content-services/solr-data"}}}` | Defines the persistence |
| persistence.VolumeSizeRequest | string | `"10Gi"` | Only define if you have a specific claim already created existingClaim: "search-master-claim" |
| persistence.enabled | bool | `true` | If set to false data will be lost with pods |
| podSecurityContext.fsGroup | int | `33007` | |
| podSecurityContext.runAsGroup | int | `33007` | |
| podSecurityContext.runAsNonRoot | bool | `true` | |
| podSecurityContext.runAsUser | int | `33007` | |
| readinessProbe.initialDelaySeconds | int | `60` | |
| readinessProbe.periodSeconds | int | `20` | |
| readinessProbe.timeoutSeconds | int | `10` | |
| repository.host | string | `nil` | ACS repository hostname |
| repository.port | string | `nil` | ACS repository port |
| resources.limits.cpu | string | `"4"` | |
| resources.limits.memory | string | `"2000Mi"` | |
| resources.requests.cpu | string | `"0.50"` | |
| resources.requests.memory | string | `"1200Mi"` | |
| searchServicesImage.internalPort | string | `nil` | container's port search service is listening on change if your custom image use a different port. |
| searchServicesImage.pullPolicy | string | `"IfNotPresent"` | |
| searchServicesImage.repository | string | `"quay.io/alfresco/search-services"` | |
| searchServicesImage.tag | string | `"2.0.7"` | |
| service.name | string | `"solr"` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | string | `nil` | Define Tolerations for scheduling SOLR |
| type | string | `"search-services"` | set alfresco-insight-zeppelin.enabled=true As the Docker Image for Insight Engine is not publicly available the alfrescoRegistryPullSecrets has to be set More information can be found on https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/registry-authentication.md |
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}

{{ template "chart.badgesSection" . }}

{{ template "chart.description" . }}

Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/README.md) for information on the Helm charts and deployment instructions.

{{ template "chart.homepageLine" . }}

{{ template "chart.maintainersSection" . }}

{{ template "chart.sourcesSection" . }}

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Helm unit tests
tests
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami/
version: 1.17.1
digest: sha256:f5dd11ccf8726befd217545b84a48b02c49d68f03a75e4e102b971ad2e4f0fec
generated: "2022-10-05T16:55:42.662007+02:00"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v2
dependencies:
- name: common
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami/
version: 1.x.x
description: 'A helper subchart to avoid duplication in alfresco charts and set common
external dependencies '
icon: https://avatars0.githubusercontent.com/u/391127?s=200&v=4
name: alfresco-common
type: library
version: 2.0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# alfresco-common

![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)

A helper subchart to avoid duplication in alfresco charts and set common
external dependencies

Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/README.md) for information on the Helm charts and deployment instructions.

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami/ | common | 1.x.x |

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}

{{ template "chart.badgesSection" . }}

{{ template "chart.description" . }}

Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/README.md) for information on the Helm charts and deployment instructions.

{{ template "chart.homepageLine" . }}

{{ template "chart.maintainersSection" . }}

{{ template "chart.sourcesSection" . }}

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
annotations:
category: Infrastructure
apiVersion: v2
appVersion: 1.17.1
description: A Library Helm Chart for grouping common logic between bitnami charts.
This chart is not deployable by itself.
home: https://github.com/bitnami/charts/tree/master/bitnami/common
icon: https://bitnami.com/downloads/logos/bitnami-mark.png
keywords:
- common
- helper
- template
- function
- bitnami
maintainers:
- name: Bitnami
url: https://github.com/bitnami/charts
name: common
sources:
- https://github.com/bitnami/charts
- https://www.bitnami.com/
type: library
version: 1.17.1
Loading

0 comments on commit 7a5eb0b

Please sign in to comment.