Skip to content
Snippets Groups Projects
Commit cd926d66 authored by Abhay Joshi's avatar Abhay Joshi
Browse files

trying helm approach

parent e6fe3a3c
No related branches found
No related tags found
1 merge request!486M18 service and CICD updates
......@@ -30,6 +30,10 @@ environmentVariables:
value: "{{ default `dynamodb` .Values.global.coreDbProvider }}"
- name: TMP_VOLUME_PATH
value: "/tmp"
- name: DISABLE_USER_AGENT
value: "{{ .Values.global.disableUserAgent }}"
- name: OSDU_VERSION
value: "3.18.0"
# Resource Config
replicaCount: 1
......
......@@ -26,7 +26,8 @@ LOG_PREFIX=schema
aws.ssm=${SSM_ENABLED:True}
aws.parameter.prefix=/osdu/${ENVIRONMENT}
aws.environment=${ENVIRONMENT}
aws.disableUserAgent=${DISABLE_USER_AGENT}
aws.osduVersion=${OSDU_VERSION}
## AWS s3 Configuraiton
#Tenant Specific S3 Bucket Configuration
......
......@@ -21,6 +21,7 @@ import com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement
import com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagementClientBuilder;
import com.amazonaws.services.simplesystemsmanagement.model.GetParameterRequest;
import com.amazonaws.services.simplesystemsmanagement.model.GetParameterResult;
import org.opengroup.osdu.core.aws.configurationsetup.ConfigSetup;
import org.opengroup.osdu.core.aws.entitlements.ServicePrincipal;
import org.opengroup.osdu.core.aws.iam.IAMConfig;
import org.opengroup.osdu.core.aws.secrets.SecretsManager;
......@@ -35,6 +36,7 @@ public class AwsServicePrincipalUtil {
private static final AWSSimpleSystemsManagement ssmManager = AWSSimpleSystemsManagementClientBuilder.standard()
.withCredentials(amazonAWSCredentials)
.withRegion(amazonRegion)
.withClientConfiguration(ConfigSetup.setUpConfig())
.build();
private static final SecretsManager sm = new SecretsManager();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment