-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-1447: split alfresco-common into a library chart of its own (#773
- Loading branch information
Showing
29 changed files
with
208 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
apiVersion: v2 | ||
name: alfresco-common | ||
description: | | ||
A helper subchart to avoid duplication in alfresco charts and set common | ||
external dependencies | ||
type: library | ||
version: 0.1.0 | ||
dependencies: | ||
- name: common | ||
repository: >- | ||
https://github.com/bitnami/charts/archive-full-index/bitnami/ | ||
version: 1.x.x | ||
icon: https://avatars0.githubusercontent.com/u/391127?s=200&v=4 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
helm/alfresco-content-services/charts/alfresco-content-common/Chart.yaml
This file was deleted.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
helm/alfresco-content-services/charts/alfresco-elasticsearch-connector/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
apiVersion: v2 | ||
name: alfresco-elasticsearch-connector | ||
description: A Helm chart for deploying Alfresco Elasticsearch connector | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "3.0.0" | ||
appVersion: 3.0.0 | ||
dependencies: | ||
- name: alfresco-content-common | ||
version: 0.1.0 | ||
repository: "file://../alfresco-content-common" | ||
- name: alfresco-common | ||
version: 0.1.0-SNAPSHOT | ||
repository: https://kubernetes-charts.alfresco.com/incubator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
73 changes: 73 additions & 0 deletions
73
helm/alfresco-content-services/tests/alfresco-common_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# alfresco-common is a library so can only be tested from | ||
# another chart | ||
--- | ||
suite: test alfresco-common library | ||
templates: | ||
- ingress-repository.yaml | ||
- secret-repo-jtoolopt.yaml | ||
- config-transform-router.yaml | ||
- deployment-repository.yaml | ||
- config-repository.yaml | ||
- secret-database.yaml | ||
- secret-s3.yaml | ||
- config-dev-log4j-properties.yaml | ||
tests: | ||
- it: should render with default value alfresco-cs | ||
values: &testvalues | ||
- test-values.yml | ||
asserts: | ||
- equal: | ||
path: data.JAVA_TOOL_OPTIONS | ||
# harcoded value. Can't encode on the fly | ||
value: | | ||
LURzb2xyLnNoYXJlZFNlY3JldD1kdW1teSA= | ||
template: secret-repo-jtoolopt.yaml | ||
- matchRegex: | ||
path: metadata.name | ||
pattern: ^RELEASE-NAME-alfresco-cs- | ||
- it: should render with value set | ||
values: *testvalues | ||
set: | ||
NameOverride: myacstest | ||
asserts: | ||
- matchRegex: | ||
path: metadata.name | ||
pattern: ^RELEASE-NAME-myacstest- | ||
- it: should render default activeMQ vars | ||
values: | ||
- test-values.yml | ||
asserts: | ||
- equal: | ||
path: data.ACTIVEMQ_URL | ||
value: nio://RELEASE-NAME-activemq-broker:61616 | ||
template: config-transform-router.yaml | ||
- equal: | ||
path: data.ACTIVEMQ_USER | ||
value: admin | ||
template: config-transform-router.yaml | ||
- equal: | ||
path: data.ACTIVEMQ_PASSWORD | ||
value: admin | ||
template: config-transform-router.yaml | ||
- it: should render custom activeMQ vars | ||
values: | ||
- test-values.yml | ||
- externalBroker-values.yml | ||
asserts: | ||
- contains: | ||
path: spec.template.spec.imagePullSecrets | ||
content: | ||
name: secretsecret | ||
template: deployment-repository.yaml | ||
- equal: | ||
path: data.ACTIVEMQ_URL | ||
value: failover(nio://somebroker:61616) | ||
template: config-transform-router.yaml | ||
- equal: | ||
path: data.ACTIVEMQ_USER | ||
value: alfresco | ||
template: config-transform-router.yaml | ||
- equal: | ||
path: data.ACTIVEMQ_PASSWORD | ||
value: alfresco | ||
template: config-transform-router.yaml |
10 changes: 10 additions & 0 deletions
10
helm/alfresco-content-services/tests/externalBroker-values.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
global: | ||
tracking: | ||
sharedsecret: dummy | ||
activemq: | ||
enabled: false | ||
messageBroker: | ||
url: failover(nio://somebroker:61616) | ||
user: alfresco | ||
password: alfresco |
Oops, something went wrong.