Prepare the Deployment
Add library Repository for the OSLC Connector for
...
PREEvision
You will need a username and password to download the helm chart and containers from MID's repository. You will receive username and password from your MID contact or from cops@mid.de.
...
Change to your user's home directory on the server and create a new text file
preevision_values.yaml
with the following content:
Code Block | breakoutMode | wide
---|
genoslcToolServiceVersionOverride: "" #use this to overwrite the default OSLC Connector for PREEvision version
global:
domain: "<base domain>"
instance: "<instance name"
registry: "repo.mid.de"
repologin: "<base64 encoded; provided by MID>"
cert:
crtFullChain: "<base64 encoded certificate chain>"
key: "<base64 encoded key>"
oidc:
clientId: "<oauth2.0 client ID>"
clientSecret: "<oauth2.0 client secret>"
hosts:
genoslc:
subdomain: "<subdomain where the OSLC Connector for PREEvision is accessible>"
secrets:
oauth2:
wellknown: "<well known URL of the oauth2.0 provider; usually ends with /.well-known/openid-configuration>"
identity:
OIDC_ISSUER: "<identity URL of the oauth2.0 provider>"
ingress:
enabled: true
# if you use nginx as ingress controller please uncomment in this line:
#ingressClassType: "nginx"
toolservice:
livenessProbe:
enabled: false
startupProbe:
enabled: false
readinessProbe:
enabled: false
env:
clientScope: "openid <space spearated scopes>" #default value is openid
userNameAttribute: "<username attribute in the JWT token>" #default is preferred_username
allowedCorsOrigins: "<comma separated URLs of apps that can make REST calls to the OSLC Connector for PREEvision"
loggingLevelSpringFramework: "INFO" # ERROR, WARN, INFO, DEBUG, TRACE
linkValidityProvider: ""
tool:
type: "preevision"
adaptedToolApiUri: "<API URL of the PREEvision instance>"
adaptedToolRootUri: "<base URL of the PREEvision API" # usually the same as the adaptedToolApiUri
#technical role to be used for authentication for building TRS feed;
technicalUser: ""
technicalPassword: ""
technicalRole: ""
adaptedModel: "<PREEvision Model name>"
adaptedToolRoles: "<list of comma separated roles users can have/select for authentication"
adaptedToolToolTimeZone: UTC
getProductLine: "<metric for retrieving product lines>"
getProductlinesRequs: "<metric for retrieving product lines requs"
getReqTable: "<metric for retrieving req table"
getReqTree: "<metric for retrieving req tree"
configuration:
# Give a list of up to 5 usernames of users which will have the administration right to change settings in OSLC Connector for PREEvision.
# At leas one administrator user must be stated here.
administrators:
- <administrator1> # replace this value with the username of the person who should configure the oauth10a information for the OSLC Connector for PREEvision
# technical role to be used for authentication# key used to encrypt the oauth10a configuration data
oauth10aEncryptionKey: "" # define the key which is used to encrypt the oauth10a informatin in the database
mongodb:
enabled: true
certtool:
enabled: true |
...
Code Block |
---|
sudo helm upgrade --install genoslc-preevision library/genoslc -f preevision_values.yaml --version 3.0.0 -n genoslc-preevision --create-namespace |
...