Commit 4c2f9de0 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Updating HELM chart with application.yml values

parent 7da820bf
Loading
Loading
Loading
Loading
Loading
+19 −4
Original line number Original line Diff line number Diff line
@@ -33,10 +33,25 @@ spec:
              value: >-
              value: >-
                {
                {
                  "logging.level.org.springframework" : "{{ .Values.spring.logLevel | default "INFO" }}",
                  "logging.level.org.springframework" : "{{ .Values.spring.logLevel | default "INFO" }}",
                  "logging.level.org.etsi.osl.controllers.oslcapif" : "{{ .Values.logLevel | default "INFO" }}" 
                  "logging.level.org.etsi.osl.controllers.capif.invoker.*" : "{{ .Values.logLevel | default "INFO" }}"
                  "spring.activemq.brokerUrl": "{{ .Values.activemq.brokerUrl }}", 
                  "spring.activemq.user": "{{ .Values.activemq.user }}", 
                  "spring.activemq.password": "{{ .Values.activemq.password }}",
                  "capif.REGISTER_HOSTNAME": "{{ .Values.capif.registerHostname }}",
                  "capif.REGISTER_PORT": "{{ .Values.capif.registerPort }}",
                  "capif.USER_NAME": "{{ .Values.capif.userName }}",
                  "capif.USER_PASSWORD": "{{ .Values.capif.userPassword }}",
                  "capif.CAPIF_HOSTNAME": "{{ .Values.capif.hostname }}",
                  "capif.CAPIF_PORT": "{{ .Values.capif.port }}",
                  "capif.ONBOARDING_URL": "{{ .Values.capif.onboardingUrl }}",
                  "capif.ONBOARDING_URL_INVOKER": "{{ .Values.capif.onboardingUrlInvoker }}",
                  "capif.DISCOVER_URL": "{{ .Values.capif.discoveryUrl }}",
                  "capif.ALLOW_INSECURE": "{{ .Values.capif.allowInsecure }}",
                  "capif.TRUSTSTORE_PATH": "{{ .Values.capif.TrustorePath }}",
                  "capif.TRUSTSTORE_PASSWORD": "{{ .Values.capif.TrustorePassword }}",
                  "capif.authRefreshTokensPeriod": "{{ .Values.capif.authRefreshTokensPeriod }}",
                  "capif.processBearerRefreshTokenPeriod": "{{ .Values.capif.processBearerRefreshTokenPeriod }}"
                }
                }
          resources:
          resources:
            {{- toYaml .Values.resources | nindent 12 }}
            {{- toYaml .Values.resources | nindent 12 }}
      restartPolicy: Always
      restartPolicy: Always
 No newline at end of file

      
 No newline at end of file
+25 −1
Original line number Original line Diff line number Diff line
@@ -9,10 +9,34 @@ image:
    # Overrides the image tag whose default is the chart appVersion.
    # Overrides the image tag whose default is the chart appVersion.
    tag: "latest"
    tag: "latest"


logLevel: INFO
logLevel: DEBUG
spring:
spring:
  loglevel: INFO
  loglevel: INFO


activemq:
  brokerUrl: tcp://osl.etsi.org:61616?jms.watchTopicAdvisories=false
  user: artemis
  password: artemis

capif:
  registerHostname: localhost
  registerPort: 8084
  userName: custom_user
  userPassword: user_pass
  hostname: capifcore
  port: 443
  onboardingUrl: api-provider-management/v1/registrations
  onboardingUrlInvoker: api-invoker-management/v1/onboardedInvokers
  discoveryUrl: service-apis/v1/allServiceAPIs
  allowInsecure: true
  TrustorePath: none
  TrustorePassword: none
  authRefreshTokensPeriod: 36000
  processBearerRefreshTokenPeriod: 180000

# need to add dynamic invokers


autoscaling:
autoscaling:
  enabled: false
  enabled: false
  minReplicas: 1
  minReplicas: 1