Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
Quotation-App-Backend
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Waleed Naeem
Quotation-App-Backend
Commits
add03489
Commit
add03489
authored
Mar 09, 2022
by
Waleed Naeem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
helmchart
parent
ee7b7798
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
139 additions
and
0 deletions
+139
-0
.helmignore
kubernetes/backend/.helmignore
+21
-0
Chart.yaml
kubernetes/backend/Chart.yaml
+5
-0
_helpers.tpl
kubernetes/backend/templates/_helpers.tpl
+32
-0
deployment.yml
kubernetes/backend/templates/deployment.yml
+24
-0
service.yml
kubernetes/backend/templates/service.yml
+12
-0
values.yaml
kubernetes/backend/values.yaml
+45
-0
No files found.
kubernetes/backend/.helmignore
0 → 100644
View file @
add03489
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
kubernetes/backend/Chart.yaml
0 → 100644
View file @
add03489
engine
:
v1
appVersion
:
"
2.0"
description
:
A Helm chart for Kubernetes
name
:
backend
version
:
1.1.0
kubernetes/backend/templates/_helpers.tpl
0 → 100644
View file @
add03489
{{
/*
vim
:
set
filetype
=
mustache
:
*/
}}
{
{
/*
Expand
the
name
of
the
chart
.
*/
}
}
{{- define "sayarapp.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{
{
/*
Create
a
default
fully
qualified
app
name
.
We
truncate
at
63
chars
because
some
Kubernetes
name
fields
are
limited
to
this
(
by
the
DNS
naming
spec
).
If
release
name
contains
chart
name
it
will
be
used
as
a
full
name
.
*/
}
}
{{- define "sayarapp.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{
{
/*
Create
chart
name
and
version
as
used
by
the
chart
label
.
*/
}
}
{{- define "sayarapp.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
kubernetes/backend/templates/deployment.yml
0 → 100644
View file @
add03489
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
backend
labels
:
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
backend
template
:
metadata
:
labels
:
app
:
backend
spec
:
containers
:
-
name
:
backend
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
ports
:
-
containerPort
:
8080
imagePullPolicy
:
Always
imagePullSecrets
:
-
name
:
harbor
kubernetes/backend/templates/service.yml
0 → 100644
View file @
add03489
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
backend
spec
:
type
:
LoadBalancer
ports
:
-
port
:
80
targetPort
:
8080
nodePort
:
30286
selector
:
app
:
backend
kubernetes/backend/values.yaml
0 → 100644
View file @
add03489
# Default values for sayarapp.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount
:
1
image
:
repository
:
NULL
tag
:
NULL
pullPolicy
:
IfNotPresent
service
:
type
:
ClusterIP
port
:
8080
ingress
:
enabled
:
false
annotations
:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
path
:
/
hosts
:
-
chart-example.local
tls
:
[]
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources
:
{}
# 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
nodeSelector
:
{}
tolerations
:
[]
affinity
:
{}
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