Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Reference and Helper Services
CRS Catalog
Commits
6c27a8e0
Commit
6c27a8e0
authored
Aug 19, 2021
by
Armen Gasparyan (EPAM)
Committed by
Oleksandr Kosse (EPAM)
Aug 19, 2021
Browse files
Develop crs-catalog-service helms [GONRG-2485]
parent
0fac2a18
Changes
8
Hide whitespace changes
Inline
Side-by-side
devops/gcp/configmap/Chart.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
v2
name
:
gcp-crs-catalog-configmap
description
:
A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type
:
application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version
:
0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion
:
"
1.16.0"
devops/gcp/configmap/templates/crs-catalog-configmap.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
labels
:
app
:
"
{{
.Values.conf.app_name
}}"
name
:
"
{{
.Values.conf.configmap
}}"
namespace
:
"
{{
.Release.Namespace
}}"
data
:
LOG_LEVEL
:
"
{{
.Values.data.log_level
}}"
PROJECT_ID
:
"
{{
.Values.data.project_id
}}"
ENTITLEMENT_URL
:
"
{{
.Values.data.entitlement_url
}}"
CRS_CATALOG_HOSTNAME
:
"
{{
.Values.data.crs_catalog_host_name
}}"
AUDIENCES
:
"
{{
.Values.data.audiences
}}"
PARTITION_API
:
"
{{
.Values.data.partition_api
}}"
GOOGLE_AUDIENCES
:
"
{{
.Values.data.google_audiences
}}"
devops/gcp/configmap/values.yaml
0 → 100644
View file @
6c27a8e0
data
:
log_level
:
"
INFO"
project_id
:
"
nice-etching-277309"
entitlement_url
:
"
http://entitlements/api/entitlements/v2/"
crs_catalog_host_name
:
"
"
audiences
:
"
"
partition_api
:
"
http://partition/api/partition/v1/"
google_audiences
:
"
"
conf
:
configmap
:
"
crs-catalog-config"
app_name
:
"
crs-catalog"
devops/gcp/deploy/Chart.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
v2
name
:
gcp-crs-catalog-deploy
description
:
A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type
:
application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version
:
0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion
:
"
1.16.0"
devops/gcp/deploy/templates/deployment.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
labels
:
app
:
"
{{
.Values.conf.app_name
}}"
name
:
"
{{
.Values.conf.app_name
}}"
namespace
:
"
{{
.Release.Namespace
}}"
spec
:
selector
:
matchLabels
:
app
:
"
{{
.Values.conf.app_name
}}"
replicas
:
1
template
:
metadata
:
labels
:
app
:
"
{{
.Values.conf.app_name
}}"
annotations
:
rollme
:
"
{{
randAlphaNum
5
|
quote
}}"
spec
:
containers
:
-
name
:
"
{{
.Values.conf.app_name
}}"
image
:
"
{{
.Values.data.image
}}"
envFrom
:
-
configMapRef
:
name
:
"
{{
.Values.conf.configmap
}}"
securityContext
:
allowPrivilegeEscalation
:
false
runAsUser
:
0
ports
:
-
containerPort
:
8080
resources
:
requests
:
cpu
:
"
{{
.Values.data.requests_cpu
}}"
memory
:
"
{{
.Values.data.requests_memory
}}"
limits
:
cpu
:
"
{{
.Values.data.limits_cpu
}}"
memory
:
"
{{
.Values.data.limits_memory
}}"
serviceAccountName
:
"
{{
.Values.data.serviceAccountName
}}"
devops/gcp/deploy/templates/service.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
"
{{
.Values.conf.app_name
}}"
annotations
:
cloud.google.com/neg
:
'
{"ingress":
true}'
namespace
:
"
{{
.Release.Namespace
}}"
labels
:
app
:
"
{{
.Values.conf.app_name
}}"
service
:
"
{{
.Values.conf.app_name
}}"
spec
:
ports
:
-
protocol
:
TCP
port
:
80
targetPort
:
8080
name
:
http
selector
:
app
:
"
{{
.Values.conf.app_name
}}"
devops/gcp/deploy/templates/virtual-service.yaml
0 → 100644
View file @
6c27a8e0
apiVersion
:
networking.istio.io/v1alpha3
kind
:
VirtualService
metadata
:
name
:
"
{{
.Values.conf.app_name
}}"
namespace
:
"
{{
.Release.Namespace
}}"
spec
:
hosts
:
-
"
*"
gateways
:
-
service-gateway
http
:
-
match
:
-
uri
:
prefix
:
"
/api/crs/catalog"
route
:
-
destination
:
port
:
number
:
80
host
:
"
{{
.Values.conf.app_name
}}.{{
.Release.Namespace
}}.svc.cluster.local"
devops/gcp/deploy/values.yaml
0 → 100644
View file @
6c27a8e0
data
:
requests_cpu
:
"
0.25"
requests_memory
:
"
256M"
limits_cpu
:
"
1"
limits_memory
:
"
1G"
serviceAccountName
:
"
"
image
:
"
"
conf
:
configmap
:
"
crs-catalog-config"
app_name
:
"
crs-catalog"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment