Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
ShoppingCartProjectxyz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
snamdeo
ShoppingCartProjectxyz
Commits
c9709d0f
Commit
c9709d0f
authored
Sep 07, 2022
by
snamdeo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commiting after changing the project name in the respective file
parent
614b943f
Pipeline
#2317
failed with stages
in 3 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
17 deletions
+20
-17
Dockerfile
Dockerfile
+3
-2
Chart.yaml
helm/service/Chart.yaml
+2
-1
deployment.yaml
helm/service/templates/deployment.yaml
+5
-5
ingress.yaml
helm/service/templates/ingress.yaml
+3
-3
service.yaml
helm/service/templates/service.yaml
+5
-4
values.yaml
helm/service/values.yaml
+2
-2
No files found.
Dockerfile
View file @
c9709d0f
...
...
@@ -3,9 +3,9 @@ COPY package.json package-lock.json ./
RUN
npm i
&&
mkdir
/ng-app
&&
mv
./node_modules ./ng-app
WORKDIR
/ng-app
COPY
. .
RUN $(
npm bin
)
/ng build
--prod
--output-path
=
dist
--base-href
/
project1204
/
RUN $(
npm bin
)
/ng build
--prod
--output-path
=
dist
--base-href
/
ShoppingCartProjectxyz
/
FROM
nginx:1.14.1-alpine
COPY
nginx/default.conf /etc/nginx/conf.d/
RUN
rm
-rf
/usr/share/nginx/html/
*
COPY
--from=builder /ng-app/dist /usr/share/nginx/html/
project1204
COPY
--from=builder /ng-app/dist /usr/share/nginx/html/
ShoppingCartProjectxyz
CMD
["nginx", "-g", "daemon off;"]
\ No newline at end of file
helm/service/Chart.yaml
View file @
c9709d0f
apiVersion
:
v1
appVersion
:
"
1.0"
description
:
A Helm chart for Kubernetes
name
:
project1204
name
:
ShoppingCartProjectxyz
version
:
0.1.0
\ No newline at end of file
helm/service/templates/deployment.yaml
View file @
c9709d0f
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
{{
include "
project1204
.fullname" .
}}
name
:
{{
include "
ShoppingCartProjectxyz
.fullname" .
}}
labels
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
helm.sh/chart
:
{{
include "
project1204
.chart" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
helm.sh/chart
:
{{
include "
ShoppingCartProjectxyz
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
spec
:
replicas
:
{{
.Values.replicaCount
}}
selector
:
matchLabels
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
template
:
metadata
:
labels
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
spec
:
containers
:
...
...
helm/service/templates/ingress.yaml
View file @
c9709d0f
{{
- if .Values.ingress.enabled -
}}
{{
- $fullName
:
= include "
project1204
.fullname" . -
}}
{{
- $fullName
:
= include "
ShoppingCartProjectxyz
.fullname" . -
}}
{{
- $ingressPaths
:
= .Values.ingress.paths -
}}
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
{{
$fullName
}}
labels
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
helm.sh/chart
:
{{
include "
project1204
.chart" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
helm.sh/chart
:
{{
include "
ShoppingCartProjectxyz
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
{{
- with .Values.ingress.annotations
}}
...
...
helm/service/templates/service.yaml
View file @
c9709d0f
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
{{
include "
project1204
.fullname" .
}}
name
:
{{
include "
ShoppingCartProjectxyz
.fullname" .
}}
labels
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
helm.sh/chart
:
{{
include "
project1204
.chart" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
helm.sh/chart
:
{{
include "
ShoppingCartProjectxyz
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
spec
:
...
...
@@ -15,5 +15,5 @@ spec:
protocol
:
TCP
name
:
http
selector
:
app.kubernetes.io/name
:
{{
include "
project1204
.name" .
}}
app.kubernetes.io/name
:
{{
include "
ShoppingCartProjectxyz
.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
\ No newline at end of file
helm/service/values.yaml
View file @
c9709d0f
...
...
@@ -21,10 +21,10 @@ ingress:
enabled
:
true
annotations
:
kubernetes.io/ingress.class
:
nginx
nginx.ingress.kubernetes.io/rewrite-target
:
/
project1204
nginx.ingress.kubernetes.io/rewrite-target
:
/
ShoppingCartProjectxyz
#kubernetes.io/tls-acme: "true"
paths
:
path
:
/
project1204
path
:
/
ShoppingCartProjectxyz
hosts
:
-
pgsandbox.altimetrik.com
tls
:
...
...
Write
Preview
Markdown
is supported
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