Skip to content

Commit

Permalink
AAE-3904 fix M11 release (#95)
Browse files Browse the repository at this point in the history
* AAE-3904 replay M11 release

* replace custom script for internal registry with link to external tool
  • Loading branch information
mteodori authored Dec 11, 2020
1 parent 8c0a12d commit cf3fdda
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 180 deletions.
91 changes: 0 additions & 91 deletions Makefile

This file was deleted.

12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,12 @@ kubectl get secret \
realm-secret -o jsonpath="{['data']['alfresco-realm\.json']}" | base64 -D > alfresco-realm.json
```
### override Docker images with internal Docker Registry
### Use an internal Docker Registry
Upload images to your internal registry and generate a values file with the new image locations for helm with:
In an [air gapped](https://en.wikipedia.org/wiki/Air_gap_(networking)) environment where the Kubernetes cluster has no direct access to external image repositories, use a tool like [helm-image-mirror](https://github.com/shashankv02/helm-image-mirror) to tag and push images to your internal registry and modify helm charts with the new image locations.
```bash
export REGISTRY_HOST=internal.registry.io
make login
make values-registry.yaml
export HELM_OPTS+=" -f values-registry.yaml"
```
### use an external PostgreSQL database
### Use an external PostgreSQL database
Modify the file values-external-postgresql.yaml providing values for your external database per each service, then run:
Expand Down
4 changes: 2 additions & 2 deletions helm/alfresco-process-infrastructure/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: alfresco-process-infrastructure
version: 7.1.0-M12
appVersion: 7.1.0-M12
version: 7.1.0-M11
appVersion: 7.1.0-M11
kubeVersion: '>=1.15.0-0'
description: A Helm chart for Alfresco Activiti Enterprise infrastructure
keywords:
Expand Down
30 changes: 15 additions & 15 deletions helm/alfresco-process-infrastructure/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# alfresco-process-infrastructure

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

A Helm chart for Alfresco Activiti Enterprise infrastructure

Expand All @@ -19,10 +19,10 @@ Kubernetes: `>=1.15.0-0`
| https://activiti.github.io/activiti-cloud-helm-charts | common | 7.1.0-M11 |
| https://charts.bitnami.com/bitnami | postgresql | 8.9.6 |
| https://charts.bitnami.com/bitnami | rabbitmq | 7.8.0 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-adf-app | 7.1.0-M12 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-adf-app | 7.1.0-M12 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-process-springboot-service | 7.1.0-M12 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-process-springboot-service | 7.1.0-M12 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-adf-app | 7.1.0-M11 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-adf-app | 7.1.0-M11 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-process-springboot-service | 7.1.0-M11 |
| https://kubernetes-charts.alfresco.com/incubator | alfresco-process-springboot-service | 7.1.0-M11 |
| https://kubernetes-charts.alfresco.com/stable | alfresco-identity-service | 2.1.0 |

## Values
Expand All @@ -35,9 +35,9 @@ Kubernetes: `>=1.15.0-0`
| alfresco-admin-app.env.APP_CONFIG_BPM_HOST | string | `"{{ include \"common.gateway-url\" . }}"` | |
| alfresco-admin-app.env.APP_CONFIG_IDENTITY_HOST | string | `"{{ include \"common.keycloak-url\" . }}/admin/realms/{{ include \"common.keycloak-realm\" . }}"` | |
| alfresco-admin-app.extraEnv | string | `"- name: APP_ALLOW_CUSTOM_RESOURCES\n value: \"{{ .Values.applications.allowCustomResources }}\"\n{{- if .Values.global.acs.enabled }}\n- name: APP_CONFIG_ECM_HOST\n value: '{{ template \"alfresco-process-infrastructure.acs-url\" . }}'\n{{- end }}"` | |
| alfresco-admin-app.image.pullPolicy | string | `"Always"` | |
| alfresco-admin-app.image.pullPolicy | string | `"IfNotPresent"` | |
| alfresco-admin-app.image.repository | string | `"quay.io/alfresco/alfresco-admin-app"` | |
| alfresco-admin-app.image.tag | string | `"7.1.0-A13"` | |
| alfresco-admin-app.image.tag | string | `"7.1.0-M11"` | |
| alfresco-admin-app.ingress.hostName | string | `nil` | |
| alfresco-admin-app.ingress.path | string | `"/admin"` | |
| alfresco-admin-app.nameOverride | string | `"alfresco-admin-app"` | |
Expand All @@ -48,8 +48,8 @@ Kubernetes: `>=1.15.0-0`
| alfresco-deployment-service.applications.connectors.emailConnector.port | string | `""` | email port |
| alfresco-deployment-service.applications.connectors.emailConnector.username | string | `""` | email username |
| alfresco-deployment-service.applications.database.external | bool | `true` | |
| alfresco-deployment-service.applications.image.pullPolicy | string | `"Always"` | default pull policy for all images used in application |
| alfresco-deployment-service.applications.image.tag | string | `"7.1.0-A13"` | default tag for all images used in application |
| alfresco-deployment-service.applications.image.pullPolicy | string | `"IfNotPresent"` | default pull policy for all images used in application |
| alfresco-deployment-service.applications.image.tag | string | `"7.1.0-M11"` | default tag for all images used in application |
| alfresco-deployment-service.applications.maxNumber | int | 20 applications can be deployed by default | maximum number of application can be deployed |
| alfresco-deployment-service.applications.processStorageService.clientSecret | string | `"08102f0f-025c-4226-8a3e-674343bff231"` | client secret for process storage |
| alfresco-deployment-service.applications.rabbitmq.admin.url | string | `""` | RabbitMQ admin URL, derived from host if not set |
Expand All @@ -64,9 +64,9 @@ Kubernetes: `>=1.15.0-0`
| alfresco-deployment-service.extraInitContainers | string | `"{{- if not .Values.db.uri }}\n- name: wait-for-postgresql\n image: {{ .Values.init.image.repository }}:{{ .Values.init.image.tag }}\n imagePullPolicy: {{ .Values.init.image.pullPolicy }}\n command:\n - sh\n - -c\n - |-\n until printf \".\" && nc -z -w 2 {{ .Release.Name }}-{{ .Values.postgres.name }}.{{ .Release.Namespace }} {{ .Values.postgres.port }}; do\n sleep 2;\n done;\n echo 'PostgreSQL OK ✓'\n{{- end }}"` | |
| alfresco-deployment-service.extraVolumeMounts | string | `"- name: license\n mountPath: \"/root/.activiti/enterprise-license/\"\n readOnly: true"` | |
| alfresco-deployment-service.extraVolumes | string | `"- name: config\n configMap:\n name: {{ .Release.Name }}-deployment-config\n defaultMode: 0744\n- name: license\n secret:\n secretName: licenseaps"` | |
| alfresco-deployment-service.image.pullPolicy | string | `"Always"` | |
| alfresco-deployment-service.image.pullPolicy | string | `"IfNotPresent"` | |
| alfresco-deployment-service.image.repository | string | `"quay.io/alfresco/alfresco-deployment-service"` | |
| alfresco-deployment-service.image.tag | string | `"7.1.0-A13"` | |
| alfresco-deployment-service.image.tag | string | `"7.1.0-M11"` | |
| alfresco-deployment-service.ingress.enabled | bool | `true` | |
| alfresco-deployment-service.ingress.path | string | `"/deployment-service"` | |
| alfresco-deployment-service.nameOverride | string | `"alfresco-deployment-service"` | |
Expand Down Expand Up @@ -292,9 +292,9 @@ Kubernetes: `>=1.15.0-0`
| alfresco-modeling-app.env.APP_CONFIG_BPM_HOST | string | `"{{ include \"common.gateway-url\" . }}"` | |
| alfresco-modeling-app.env.APP_CONFIG_ECM_HOST | string | `"{{ template \"alfresco-process-infrastructure.acs-url\" . }}"` | |
| alfresco-modeling-app.env.APP_CONFIG_IDENTITY_HOST | string | `"{{ include \"common.keycloak-url\" . }}/admin/realms/{{ include \"common.keycloak-realm\" . }}"` | |
| alfresco-modeling-app.image.pullPolicy | string | `"Always"` | |
| alfresco-modeling-app.image.pullPolicy | string | `"IfNotPresent"` | |
| alfresco-modeling-app.image.repository | string | `"quay.io/alfresco/alfresco-modeling-app"` | |
| alfresco-modeling-app.image.tag | string | `"7.1.0-A13"` | |
| alfresco-modeling-app.image.tag | string | `"7.1.0-M11"` | |
| alfresco-modeling-app.ingress.path | string | `"/modeling"` | |
| alfresco-modeling-app.nameOverride | string | `"alfresco-modeling-app"` | |
| alfresco-modeling-service.activiti.keycloak.clientPassword | string | `"client"` | activiti keycloak client password |
Expand All @@ -305,9 +305,9 @@ Kubernetes: `>=1.15.0-0`
| alfresco-modeling-service.extraEnv | string | `"- name: SERVER_PORT\n value: \"8080\"\n- name: SERVER_USEFORWARDHEADERS\n value: \"true\"\n- name: SERVER_TOMCAT_INTERNALPROXIES\n value: \".*\"\n- name: MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE\n value: \"*\"\n- name: CONTENT_CLIENT_ID\n value: \"{{ .Values.content.client.id }}\"\n- name: CONTENT_CLIENT_SECRET\n value: \"{{ .Values.content.client.secret }}\"\n- name: CONTENT_SERVICE_URL\n value: '{{ template \"alfresco-process-infrastructure.acs-url\" . }}'\n- name: CONTENT_SERVICE_PATH\n value: \"{{ .Values.content.service.path }}\"\n{{- with .Values.activiti.keycloak.clientPassword }}\n- name: ACTIVITI_KEYCLOAK_CLIENT_PASSWORD\n value: \"{{ . }}\"\n{{- end }}"` | |
| alfresco-modeling-service.extraVolumeMounts | string | `"- name: license\n mountPath: \"/root/.activiti/enterprise-license/\"\n readOnly: true"` | |
| alfresco-modeling-service.extraVolumes | string | `"- name: license\n secret:\n secretName: licenseaps"` | |
| alfresco-modeling-service.image.pullPolicy | string | `"Always"` | |
| alfresco-modeling-service.image.pullPolicy | string | `"IfNotPresent"` | |
| alfresco-modeling-service.image.repository | string | `"quay.io/alfresco/alfresco-modeling-service"` | |
| alfresco-modeling-service.image.tag | string | `"7.1.0-A13"` | |
| alfresco-modeling-service.image.tag | string | `"7.1.0-M11"` | |
| alfresco-modeling-service.ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$1"` | |
| alfresco-modeling-service.ingress.enabled | bool | `true` | |
| alfresco-modeling-service.ingress.path | string | `""` | |
Expand Down
8 changes: 4 additions & 4 deletions helm/alfresco-process-infrastructure/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
condition: alfresco-identity-service.enabled
- name: alfresco-process-springboot-service
alias: alfresco-modeling-service
version: 7.1.0-M12
version: 7.1.0-M11
repository: https://kubernetes-charts.alfresco.com/incubator
condition: alfresco-modeling-service.enabled
- name: postgresql
Expand All @@ -21,16 +21,16 @@ dependencies:
condition: rabbitmq.enabled
- name: alfresco-adf-app
alias: alfresco-modeling-app
version: 7.1.0-M12
version: 7.1.0-M11
repository: https://kubernetes-charts.alfresco.com/incubator
condition: alfresco-modeling-app.enabled
- name: alfresco-process-springboot-service
alias: alfresco-deployment-service
version: 7.1.0-M12
version: 7.1.0-M11
repository: https://kubernetes-charts.alfresco.com/incubator
condition: alfresco-deployment-service.enabled
- name: alfresco-adf-app
alias: alfresco-admin-app
version: 7.1.0-M12
version: 7.1.0-M11
repository: https://kubernetes-charts.alfresco.com/incubator
condition: alfresco-admin-app.enabled
20 changes: 10 additions & 10 deletions helm/alfresco-process-infrastructure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ alfresco-modeling-service:
readOnly: true
image:
repository: quay.io/alfresco/alfresco-modeling-service
tag: 7.1.0-A13
pullPolicy: Always
tag: 7.1.0-M11
pullPolicy: IfNotPresent
postgres:
enabled: true
name: postgresql
Expand Down Expand Up @@ -446,8 +446,8 @@ alfresco-modeling-app:
path: /modeling
image:
repository: quay.io/alfresco/alfresco-modeling-app
tag: 7.1.0-A13
pullPolicy: Always
tag: 7.1.0-M11
pullPolicy: IfNotPresent
env:
APP_CONFIG_AUTH_TYPE: OAUTH
APP_CONFIG_ECM_HOST: '{{ template "alfresco-process-infrastructure.acs-url" . }}'
Expand All @@ -461,8 +461,8 @@ alfresco-deployment-service:
enabled: false
image:
repository: quay.io/alfresco/alfresco-deployment-service
tag: 7.1.0-A13
pullPolicy: Always
tag: 7.1.0-M11
pullPolicy: IfNotPresent
postgres:
# workaround to use the namespace qualified postgres hostname
enabled: false
Expand All @@ -472,9 +472,9 @@ alfresco-deployment-service:
applications:
image:
# alfresco-deployment-service.applications.image.tag -- default tag for all images used in application
tag: 7.1.0-A13
tag: 7.1.0-M11
# alfresco-deployment-service.applications.image.pullPolicy -- default pull policy for all images used in application
pullPolicy: Always
pullPolicy: IfNotPresent
maxNumber: 20
# alfresco-deployment-service.applications.maxNumber -- maximum number of application can be deployed
# @default -- 20 applications can be deployed by default
Expand Down Expand Up @@ -665,8 +665,8 @@ alfresco-admin-app:
path: /admin
image:
repository: quay.io/alfresco/alfresco-admin-app
tag: 7.1.0-A13
pullPolicy: Always
tag: 7.1.0-M11
pullPolicy: IfNotPresent
applications:
allowCustomResources: true
env:
Expand Down
49 changes: 0 additions & 49 deletions values-registry.tmpl

This file was deleted.

0 comments on commit cf3fdda

Please sign in to comment.