Skip to content

Commit

Permalink
Merge pull request #65 from Sitecore/sfcrm/7.0.0.01480.302
Browse files Browse the repository at this point in the history
Add Sitecore Salesforce CRM Connector Container Deployment 7.0.0.01480.302
  • Loading branch information
sc-stenstorgaard authored Dec 6, 2021
2 parents 61cebb5 + e26360c commit 6537a1b
Show file tree
Hide file tree
Showing 12 changed files with 111 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compose/sfcrm/7.0/2009/xp0/.env-example
Original file line number Diff line number Diff line change
@@ -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]
9 changes: 9 additions & 0 deletions compose/sfcrm/7.0/2009/xp0/docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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}
3 changes: 3 additions & 0 deletions compose/sfcrm/7.0/2009/xp1/.env-example
Original file line number Diff line number Diff line change
@@ -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]
11 changes: 11 additions & 0 deletions compose/sfcrm/7.0/2009/xp1/docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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}
3 changes: 3 additions & 0 deletions compose/sfcrm/7.0/ltsc2019/xp0/.env-example
Original file line number Diff line number Diff line change
@@ -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]
9 changes: 9 additions & 0 deletions compose/sfcrm/7.0/ltsc2019/xp0/docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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}
3 changes: 3 additions & 0 deletions compose/sfcrm/7.0/ltsc2019/xp1/.env-example
Original file line number Diff line number Diff line change
@@ -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]
11 changes: 11 additions & 0 deletions compose/sfcrm/7.0/ltsc2019/xp1/docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -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}
22 changes: 22 additions & 0 deletions k8s/sfcrm/7.0/ltsc2019/overrides/xp1/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions k8s/sfcrm/7.0/ltsc2019/overrides/xp1/patch-cm.yaml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions k8s/sfcrm/7.0/ltsc2019/overrides/xp1/secrets/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user id=[userid];password=[password];client id=[clientid];secret key=[secretkey];security token=[securitytoken]

0 comments on commit 6537a1b

Please sign in to comment.