edit pipeline

This commit is contained in:
Kirill Andrusyak
2023-07-03 20:56:50 +00:00
parent 5535753ea3
commit d3fc398e8e
4 changed files with 16 additions and 69 deletions

2
deploy/.env Normal file
View File

@@ -0,0 +1,2 @@
SERVICE_REPLICAS=3
SERVICE_PORT=8080

View File

@@ -0,0 +1,10 @@
app:
fullName: ${CI_PROJECT_TITLE}
image: docker-registry.dopcore.com/${CI_PROJECT_PATH}
server:
port: ${SERVICE_PORT}
replicas: ${SERVICE_REPLICAS}
images:
pullSecret: regcred

View File

@@ -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-api-gateway
image: docker-registry.dopcore.com/andrusyakka/astra-api-gateway
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