Skip to content
GitLab
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
Data Flow
Data Enrichment
wks
Commits
af29ae17
Commit
af29ae17
authored
Sep 27, 2021
by
Mykola Zamkovyi (EPAM)
Browse files
Add helm configmap & delpoy
parent
1fde2cc1
Pipeline
#68117
passed with stages
in 12 minutes and 9 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devops/gcp/configmap/Chart.yaml
0 → 100644
View file @
af29ae17
apiVersion
:
v2
name
:
gcp-wks-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.
appVersion
:
1.16.0
devops/gcp/configmap/templates/variables.yml
0 → 100644
View file @
af29ae17
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
labels
:
app
:
"
{{
.Values.conf.app_name
}}"
annotations
:
rollme
:
{{
randAlphaNum 5 | quote
}}
name
:
"
{{
.Values.conf.configmap
}}"
namespace
:
"
{{
.Release.Namespace
}}"
data
:
LOG_LEVEL
:
"
{{
.Values.data.log_level
}}"
WKS_GCP_AUDIENCES
:
"
{{
.Values.data.wks_gcp_audiences
}}"
WKS_GCP_ENTITLEMENTS_URL
:
"
{{
.Values.data.wks_gcp_entitlements_url
}}"
GOOGLE_CLOUD_PROJECT
:
"
{{
.Values.data.google_cloud_project
}}"
WKS_GCP_DATASTORE_MAPPING_INFO_KIND
:
"
{{
.Values.data.wks_gcp_datastore_mapping_info_kind
}}"
WKS_GCP_TENANT_NAME
:
"
{{
.Values.data.wks_gcp_tenant_name
}}"
WKS_GCP_STORAGE_BUCKET_NAME
:
"
{{
.Values.data.wks_gcp_storage_bucket_name
}}"
PARTITION_API
:
"
{{
.Values.data.partition_api
}}"
SEARCH_API
:
"
{{
.Values.data.search_api
}}"
STORAGE_API
:
"
{{
.Values.data.storage_api
}}"
SCHEMA_API
:
"
{{
.Values.data.schema_api
}}"
WKS_GCP_SUBSCRIBER_MODE
:
"
{{
.Values.data.wks_gcp_subscriber_mode
}}"
WKS_GCP_REDIS_HOST
:
"
{{
.Values.data.wks_gcp_redis_host
}}"
devops/gcp/configmap/values.yaml
0 → 100644
View file @
af29ae17
data
:
log_level
:
"
INFO"
wks_gcp_audiences
:
"
689762842995-pv217jo3k8j803kk6gqf52qb5amos3a9.apps.googleusercontent.com"
wks_gcp_entitlements_url
:
"
https://community.osdu-gcp.go3-nrg.projects.epam.com/api/entitlements/v2/"
google_cloud_project
:
"
nice-etching-277309"
wks_gcp_datastore_mapping_info_kind
:
"
WksMapping"
wks_gcp_tenant_name
:
"
osdu"
wks_gcp_storage_bucket_name
:
"
nice-etching-277309-wks-mapping-definitions"
partition_api
:
"
https://community.osdu-gcp.go3-nrg.projects.epam.com/api/partition/v1/"
search_api
:
"
https://os-search-attcrcktoa-uc.a.run.app/api/search/v2"
storage_api
:
"
https://community.osdu-gcp.go3-nrg.projects.epam.com/api/storage/v2"
schema_api
:
"
https://community.osdu-gcp.go3-nrg.projects.epam.com/api/schema-service/v1"
wks_gcp_subscriber_mode
:
"
push"
wks_gcp_redis_host
:
"
10.99.138.107"
conf
:
configmap
:
"
wks-config"
app_name
:
"
wks"
devops/gcp/deploy/Chart.yaml
0 → 100644
View file @
af29ae17
apiVersion
:
v2
name
:
gcp-wks-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.
appVersion
:
1.16.0
devops/gcp/deploy/templates/deploy.yml
0 → 100644
View file @
af29ae17
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.yml
0 → 100644
View file @
af29ae17
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
"
{{
.Values.conf.app_name
}}"
namespace
:
"
{{
.Release.Namespace
}}"
annotations
:
cloud.google.com/neg
:
'
{"ingress":
true}'
spec
:
ports
:
-
port
:
80
targetPort
:
8080
protocol
:
TCP
name
:
http
selector
:
app
:
"
{{
.Values.conf.app_name
}}"
devops/gcp/deploy/templates/virtual-service.yml
0 → 100644
View file @
af29ae17
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/wks"
route
:
-
destination
:
port
:
number
:
80
host
:
"
{{
.Values.conf.app_name
}}.{{
.Release.Namespace
}}.svc.cluster.local"
devops/gcp/deploy/values.yaml
0 → 100644
View file @
af29ae17
data
:
requests_cpu
:
"
0.25"
requests_memory
:
"
256M"
limits_cpu
:
"
1"
limits_memory
:
"
1G"
serviceAccountName
:
"
"
image
:
"
"
cloud_sql_proxy_version
:
"
1.20.0"
sql_connection_string
:
"
"
conf
:
configmap
:
"
wks-config"
app_name
:
"
wks"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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