chore: Allow to run che-server on OpenShift with FIPS enabled (#1597)

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/1600/head
Anatolii Bazko 2023-01-11 14:59:57 +02:00 committed by GitHub
parent c0e1de8079
commit 6110221447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -63,10 +63,12 @@ const (
DefaultServerTrustStoreConfigMapName = "ca-certs"
DefaultProxyCredentialsSecret = "proxy-credentials"
DefaultGitSelfSignedCertsConfigMapName = "che-git-self-signed-cert"
DefaultJavaOpts = "-XX:MaxRAMPercentage=85.0"
DefaultSecurityContextFsGroup = 1724
DefaultSecurityContextRunAsUser = 1724
DefaultCheServiceAccountName = "che"
// -Dcom.redhat.fips=false workaround allows to run che-server on OpenShift with FIPS enabled
// See https://issues.redhat.com/browse/CRW-3301
DefaultJavaOpts = "-XX:MaxRAMPercentage=85.0 -Dcom.redhat.fips=false"
DefaultSecurityContextFsGroup = 1724
DefaultSecurityContextRunAsUser = 1724
DefaultCheServiceAccountName = "che"
// OAuth
BitBucketOAuthConfigClientIdFileName = "id"