add universal pipeline
This commit is contained in:
2
deploy/.env
Normal file
2
deploy/.env
Normal file
@@ -0,0 +1,2 @@
|
||||
SERVICE_REPLICAS=3
|
||||
SERVICE_PORT=8080
|
||||
16
deploy/values.template.yaml
Normal file
16
deploy/values.template.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
app:
|
||||
fullName: ${CI_PROJECT_TITLE}
|
||||
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
|
||||
server:
|
||||
port: ${SERVICE_PORT}
|
||||
|
||||
replicas: ${SERVICE_REPLICAS}
|
||||
|
||||
images:
|
||||
pullSecret: regcred
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
@@ -1,48 +0,0 @@
|
||||
# Default values for astra-frontend.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
|
||||
app:
|
||||
fullName: astra-users
|
||||
image: docker-registry.dopcore.com/andrusyakka/astra-users
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
replicas: 3
|
||||
|
||||
images:
|
||||
pullSecret: regcred
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
className: ""
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 10
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
Reference in New Issue
Block a user