Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config for pms gitsync #14

Merged
merged 1 commit into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose/harness/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ services:
expose:
- '12001'
- '12011'
- '14002'
healthcheck:
test: "wget -q -O - http://localhost:12001/api/health"
start_period: 5m
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/harness/environment/ng-manager.env
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ NG_MANAGER_UI_URL=http://proxy/ng/#/
NG_VAULT_ITERATOR_THREAD_POOL_SIZE=2
NOTIFICATION_MONGO_URI=mongodb://mongo:27017/notifications
PMS_AUTHORITY=default-authority.harness.io
PMS_GITSYNC_AUTHORITY=default-authority.harness.io
PMS_GITSYNC_TARGET=pipeline-service:14002
PMS_MONGO_URI=mongodb://mongo:27017/pms-harness
PMS_SDK_EXECUTION_POOL_CORE_SIZE=1
PMS_SDK_EXECUTION_POOL_MAX_SIZE=2
Expand Down
2 changes: 2 additions & 0 deletions helm/harness/templates/ng-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ data:
NG_MANAGER_UI_URL: http://proxy/ng/#/
NG_VAULT_ITERATOR_THREAD_POOL_SIZE: '2'
PMS_AUTHORITY: default-authority.harness.io
PMS_GITSYNC_AUTHORITY: default-authority.harness.io
PMS_GITSYNC_TARGET: pipeline-service:14002
PMS_SDK_EXECUTION_POOL_CORE_SIZE: '1'
PMS_SDK_EXECUTION_POOL_MAX_SIZE: '2'
PMS_SDK_ORCHESTRATION_EVENT_POOL_CORE_SIZE: '1'
Expand Down
5 changes: 5 additions & 0 deletions helm/harness/templates/pipeline-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ spec:
port: 12011
- name: pms-http
port: 12001
- name: pms-gitsync
port: 14002
selector:
app: pipeline-service

Expand Down Expand Up @@ -119,6 +121,9 @@ spec:
- name: pms-http
containerPort: 12001
protocol: "TCP"
- name: pms-gitsync
containerPort: 14002
protocol: "TCP"
envFrom:
- configMapRef:
name: pipeline-service
Expand Down