From e26360c515dd8f73f2fe3baeaef59c80f4f9aa1d Mon Sep 17 00:00:00 2001 From: Sten Storgaard Date: Mon, 6 Dec 2021 10:17:14 +0100 Subject: [PATCH] Add Sitecore Salesforce CRM Connector Container Deployment 7.0.0.01480.302 --- compose/sfcrm/7.0/2009/xp0/.env-example | 3 +++ .../7.0/2009/xp0/docker-compose.override.yml | 9 ++++++++ compose/sfcrm/7.0/2009/xp1/.env-example | 3 +++ .../7.0/2009/xp1/docker-compose.override.yml | 11 +++++++++ compose/sfcrm/7.0/ltsc2019/xp0/.env-example | 3 +++ .../ltsc2019/xp0/docker-compose.override.yml | 9 ++++++++ compose/sfcrm/7.0/ltsc2019/xp1/.env-example | 3 +++ .../ltsc2019/xp1/docker-compose.override.yml | 11 +++++++++ .../ltsc2019/overrides/xp1/kustomization.yaml | 22 ++++++++++++++++++ .../7.0/ltsc2019/overrides/xp1/patch-cm.yaml | 23 +++++++++++++++++++ .../overrides/xp1/secrets/kustomization.yaml | 13 +++++++++++ ...ecore-salesforce-crm-connection-string.txt | 1 + 12 files changed, 111 insertions(+) create mode 100644 compose/sfcrm/7.0/2009/xp0/.env-example create mode 100644 compose/sfcrm/7.0/2009/xp0/docker-compose.override.yml create mode 100644 compose/sfcrm/7.0/2009/xp1/.env-example create mode 100644 compose/sfcrm/7.0/2009/xp1/docker-compose.override.yml create mode 100644 compose/sfcrm/7.0/ltsc2019/xp0/.env-example create mode 100644 compose/sfcrm/7.0/ltsc2019/xp0/docker-compose.override.yml create mode 100644 compose/sfcrm/7.0/ltsc2019/xp1/.env-example create mode 100644 compose/sfcrm/7.0/ltsc2019/xp1/docker-compose.override.yml create mode 100644 k8s/sfcrm/7.0/ltsc2019/overrides/xp1/kustomization.yaml create mode 100644 k8s/sfcrm/7.0/ltsc2019/overrides/xp1/patch-cm.yaml create mode 100644 k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/kustomization.yaml create mode 100644 k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/sitecore-salesforce-crm-connection-string.txt diff --git a/compose/sfcrm/7.0/2009/xp0/.env-example b/compose/sfcrm/7.0/2009/xp0/.env-example new file mode 100644 index 0000000..cda06e0 --- /dev/null +++ b/compose/sfcrm/7.0/2009/xp0/.env-example @@ -0,0 +1,3 @@ +#Connection string for Salesforce Marketing Cloud. +#Example: client id=[client id];client secret=[client secret];auth endpoint=[auth endpoint];rest endpoint=[rest endpoint];soap endpoint=[soap endpoint] +MYSF_CONNECTIONSTRING=user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken] diff --git a/compose/sfcrm/7.0/2009/xp0/docker-compose.override.yml b/compose/sfcrm/7.0/2009/xp0/docker-compose.override.yml new file mode 100644 index 0000000..2929e94 --- /dev/null +++ b/compose/sfcrm/7.0/2009/xp0/docker-compose.override.yml @@ -0,0 +1,9 @@ +services: + cm: + image: sitecore-sfcrm-xp0-cm:${SITECORE_VERSION} + environment: + Sitecore_ConnectionStrings_mysf: ${MYSF_CONNECTIONSTRING} + xdbsearchworker: + image: sitecore-sfcrm-xp0-xdbsearchworker:${SITECORE_VERSION} + xconnect: + image: sitecore-sfcrm-xp0-xconnect:${SITECORE_VERSION} diff --git a/compose/sfcrm/7.0/2009/xp1/.env-example b/compose/sfcrm/7.0/2009/xp1/.env-example new file mode 100644 index 0000000..cda06e0 --- /dev/null +++ b/compose/sfcrm/7.0/2009/xp1/.env-example @@ -0,0 +1,3 @@ +#Connection string for Salesforce Marketing Cloud. +#Example: client id=[client id];client secret=[client secret];auth endpoint=[auth endpoint];rest endpoint=[rest endpoint];soap endpoint=[soap endpoint] +MYSF_CONNECTIONSTRING=user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken] diff --git a/compose/sfcrm/7.0/2009/xp1/docker-compose.override.yml b/compose/sfcrm/7.0/2009/xp1/docker-compose.override.yml new file mode 100644 index 0000000..98ffb09 --- /dev/null +++ b/compose/sfcrm/7.0/2009/xp1/docker-compose.override.yml @@ -0,0 +1,11 @@ +services: + cm: + image: sitecore-sfcrm-xp1-cm:${SITECORE_VERSION} + environment: + Sitecore_ConnectionStrings_mysf: ${MYSF_Connectionstring} + xdbsearchworker: + image: sitecore-sfcrm-xp1-xdbsearchworker:${SITECORE_VERSION} + xdbcollection: + image: sitecore-sfcrm-xp1-xdbcollection:${SITECORE_VERSION} + xdbsearch: + image: sitecore-sfcrm-xp1-xdbsearch:${SITECORE_VERSION} diff --git a/compose/sfcrm/7.0/ltsc2019/xp0/.env-example b/compose/sfcrm/7.0/ltsc2019/xp0/.env-example new file mode 100644 index 0000000..cda06e0 --- /dev/null +++ b/compose/sfcrm/7.0/ltsc2019/xp0/.env-example @@ -0,0 +1,3 @@ +#Connection string for Salesforce Marketing Cloud. +#Example: client id=[client id];client secret=[client secret];auth endpoint=[auth endpoint];rest endpoint=[rest endpoint];soap endpoint=[soap endpoint] +MYSF_CONNECTIONSTRING=user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken] diff --git a/compose/sfcrm/7.0/ltsc2019/xp0/docker-compose.override.yml b/compose/sfcrm/7.0/ltsc2019/xp0/docker-compose.override.yml new file mode 100644 index 0000000..2929e94 --- /dev/null +++ b/compose/sfcrm/7.0/ltsc2019/xp0/docker-compose.override.yml @@ -0,0 +1,9 @@ +services: + cm: + image: sitecore-sfcrm-xp0-cm:${SITECORE_VERSION} + environment: + Sitecore_ConnectionStrings_mysf: ${MYSF_CONNECTIONSTRING} + xdbsearchworker: + image: sitecore-sfcrm-xp0-xdbsearchworker:${SITECORE_VERSION} + xconnect: + image: sitecore-sfcrm-xp0-xconnect:${SITECORE_VERSION} diff --git a/compose/sfcrm/7.0/ltsc2019/xp1/.env-example b/compose/sfcrm/7.0/ltsc2019/xp1/.env-example new file mode 100644 index 0000000..cda06e0 --- /dev/null +++ b/compose/sfcrm/7.0/ltsc2019/xp1/.env-example @@ -0,0 +1,3 @@ +#Connection string for Salesforce Marketing Cloud. +#Example: client id=[client id];client secret=[client secret];auth endpoint=[auth endpoint];rest endpoint=[rest endpoint];soap endpoint=[soap endpoint] +MYSF_CONNECTIONSTRING=user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken] diff --git a/compose/sfcrm/7.0/ltsc2019/xp1/docker-compose.override.yml b/compose/sfcrm/7.0/ltsc2019/xp1/docker-compose.override.yml new file mode 100644 index 0000000..98ffb09 --- /dev/null +++ b/compose/sfcrm/7.0/ltsc2019/xp1/docker-compose.override.yml @@ -0,0 +1,11 @@ +services: + cm: + image: sitecore-sfcrm-xp1-cm:${SITECORE_VERSION} + environment: + Sitecore_ConnectionStrings_mysf: ${MYSF_Connectionstring} + xdbsearchworker: + image: sitecore-sfcrm-xp1-xdbsearchworker:${SITECORE_VERSION} + xdbcollection: + image: sitecore-sfcrm-xp1-xdbcollection:${SITECORE_VERSION} + xdbsearch: + image: sitecore-sfcrm-xp1-xdbsearch:${SITECORE_VERSION} diff --git a/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/kustomization.yaml b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/kustomization.yaml new file mode 100644 index 0000000..bf7d924 --- /dev/null +++ b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/kustomization.yaml @@ -0,0 +1,22 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +bases: + - ../../k8s-sitecore-xp1 + +images: +- name: scr.sitecore.com/sxp/sitecore-xp1-cm + newName: "{registry}/sitecore-sfcrm-xp1-cm" + newTag: tag +- name: scr.sitecore.com/sxp/sitecore-xp1-xdbcollection + newName: "{registry}/sitecore-sfcrm-xp1-xdbcollection" + newTag: tag +- name: scr.sitecore.com/sxp/sitecore-xp1-xdbsearch + newName: "{registry}/sitecore-sfcrm-xp1-xdbsearch" + newTag: tag +- name: scr.sitecore.com/sxp/sitecore-xp1-xdbsearchworker + newName: "{registry}/sitecore-sfcrm-xp1-xdbsearchworker" + newTag: tag + +patchesStrategicMerge: +- patch-cm.yaml diff --git a/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/patch-cm.yaml b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/patch-cm.yaml new file mode 100644 index 0000000..56c5168 --- /dev/null +++ b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/patch-cm.yaml @@ -0,0 +1,23 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cm +spec: + selector: + matchLabels: + app: cm + template: + metadata: + labels: + app: cm + spec: + nodeSelector: + kubernetes.io/os: windows + containers: + - name: sitecore-xp1-cm + env: + - name: Sitecore_ConnectionStrings_mysf + valueFrom: + secretKeyRef: + name: salesforce-crm + key: sitecore-salesforce-crm-connection-string.txt \ No newline at end of file diff --git a/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/kustomization.yaml b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/kustomization.yaml new file mode 100644 index 0000000..6e4c671 --- /dev/null +++ b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/kustomization.yaml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +bases: + - ../../../k8s-sitecore-xp1/secrets + +generatorOptions: + disableNameSuffixHash: true + +secretGenerator: +- name: salesforce-crm + files: + - sitecore-salesforce-crm-connection-string.txt \ No newline at end of file diff --git a/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/sitecore-salesforce-crm-connection-string.txt b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/sitecore-salesforce-crm-connection-string.txt new file mode 100644 index 0000000..74bcf85 --- /dev/null +++ b/k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/sitecore-salesforce-crm-connection-string.txt @@ -0,0 +1 @@ +user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken]