adding TrustServerCertificate=True to ConnectionString in Helm templates
This commit is contained in:
		
							parent
							
								
									7cf90e06fd
								
							
						
					
					
						commit
						bb554c1706
					
				| @ -13,7 +13,7 @@ metadata: | |||||||
|     release: {{ .Release.Name }} |     release: {{ .Release.Name }} | ||||||
|     heritage: {{ .Release.Service }} |     heritage: {{ .Release.Service }} | ||||||
| data: | data: | ||||||
|   catalog__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.catalog.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }}; |   catalog__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.catalog.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};TrustServerCertificate={{ .Values.inf.sql.common.TrustServerCertificate }}; | ||||||
|   catalog__PicBaseUrl: {{ $protocol }}://{{ $webshoppingapigw }}/c/api/v1/catalog/items/[0]/pic/ |   catalog__PicBaseUrl: {{ $protocol }}://{{ $webshoppingapigw }}/c/api/v1/catalog/items/[0]/pic/ | ||||||
|   catalog__AzureStorageEnabled: "{{ .Values.inf.misc.useAzureStorage }}" |   catalog__AzureStorageEnabled: "{{ .Values.inf.misc.useAzureStorage }}" | ||||||
|   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} |   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ metadata: | |||||||
|     release: {{ .Release.Name }} |     release: {{ .Release.Name }} | ||||||
|     heritage: {{ .Release.Service }} |     heritage: {{ .Release.Service }} | ||||||
| data: | data: | ||||||
|   identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }}; |   identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};TrustServerCertificate={{ .Values.inf.sql.common.TrustServerCertificate }}; | ||||||
|   identity__keystore: {{ .Values.inf.redis.keystore.constr }} |   identity__keystore: {{ .Values.inf.redis.keystore.constr }} | ||||||
|   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" |   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" | ||||||
|   mvc_e: http://{{ $mvc_url }} |   mvc_e: http://{{ $mvc_url }} | ||||||
|  | |||||||
| @ -13,6 +13,7 @@ inf: | |||||||
|       user: sa              # SQL user |       user: sa              # SQL user | ||||||
|       pwd: Pass@word        # SQL pwd |       pwd: Pass@word        # SQL pwd | ||||||
|       pid: Developer |       pid: Developer | ||||||
|  |       TrustServerCertificate: true | ||||||
|     catalog:                # inf.sql.catalog: settings for the catalog-api sql (user, pwd, db) |     catalog:                # inf.sql.catalog: settings for the catalog-api sql (user, pwd, db) | ||||||
|       db: CatalogDb         # Catalog API SQL db name |       db: CatalogDb         # Catalog API SQL db name | ||||||
|     ordering:               # inf.sql.ordering: settings for the ordering-api sql (user, pwd, db) |     ordering:               # inf.sql.ordering: settings for the ordering-api sql (user, pwd, db) | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ metadata: | |||||||
|     release: {{ .Release.Name }} |     release: {{ .Release.Name }} | ||||||
|     heritage: {{ .Release.Service }} |     heritage: {{ .Release.Service }} | ||||||
| data: | data: | ||||||
|   ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }}; |   ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};TrustServerCertificate={{ .Values.inf.sql.common.TrustServerCertificate }}; | ||||||
|   urls__IdentityUrl: http://{{ .Values.app.svc.identity }} |   urls__IdentityUrl: http://{{ .Values.app.svc.identity }} | ||||||
|   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} |   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} | ||||||
|   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" |   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ metadata: | |||||||
|     release: {{ .Release.Name }} |     release: {{ .Release.Name }} | ||||||
|     heritage: {{ .Release.Service }} |     heritage: {{ .Release.Service }} | ||||||
| data: | data: | ||||||
|   ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }}; |   ordering__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.ordering.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};TrustServerCertificate={{ .Values.inf.sql.common.TrustServerCertificate }}; | ||||||
|   ordering__EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}" |   ordering__EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}" | ||||||
|   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} |   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} | ||||||
|   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" |   all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}" | ||||||
|  | |||||||
| @ -13,7 +13,7 @@ metadata: | |||||||
|     release: {{ .Release.Name }} |     release: {{ .Release.Name }} | ||||||
|     heritage: {{ .Release.Service }} |     heritage: {{ .Release.Service }} | ||||||
| data: | data: | ||||||
|   webhooks__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.webhooks.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }}; |   webhooks__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.webhooks.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};TrustServerCertificate={{ .Values.inf.sql.common.TrustServerCertificate }}; | ||||||
|   urls__IdentityUrl: http://{{ $identity }} |   urls__IdentityUrl: http://{{ $identity }} | ||||||
|   urls__IdentityUrlExternal: {{ $protocol }}://{{ $identity }} |   urls__IdentityUrlExternal: {{ $protocol }}://{{ $identity }} | ||||||
|   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} |   all__EventBusConnection: {{ .Values.inf.eventbus.constr }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user