Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OCM-Engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
xfsc
Organization Credential Manager
OCM-Engine
Merge requests
!30
Helm charts
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Helm charts
tsabolov/ocm-engine:chore/helm-charts
into
main
Overview
0
Commits
31
Pipelines
0
Changes
81
Merged
Konstantin Tsabolov
requested to merge
tsabolov/ocm-engine:chore/helm-charts
into
main
1 year ago
Overview
0
Commits
31
Pipelines
0
Changes
21
Expand
0
0
Merge request reports
Compare
version 1
version 9
2563507b
1 year ago
version 8
41c3ddb1
1 year ago
version 7
62e77633
1 year ago
version 6
62e77633
1 year ago
version 5
62e77633
1 year ago
version 4
5b6b64f4
1 year ago
version 3
6106679d
1 year ago
version 2
6cd5e59e
1 year ago
version 1
6e3a8d8f
1 year ago
main (base)
and
version 2
latest version
2563507b
31 commits,
1 year ago
version 9
2563507b
35 commits,
1 year ago
version 8
41c3ddb1
27 commits,
1 year ago
version 7
62e77633
26 commits,
1 year ago
version 6
62e77633
36 commits,
1 year ago
version 5
62e77633
37 commits,
1 year ago
version 4
5b6b64f4
19 commits,
1 year ago
version 3
6106679d
18 commits,
1 year ago
version 2
6cd5e59e
16 commits,
1 year ago
version 1
6e3a8d8f
13 commits,
1 year ago
Show latest version
21 files
+
527
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
21
Search (e.g. *.vue) (Ctrl+P)
apps/credential-manager/deployment/helm/templates/_helpers.tpl
0 → 100644
+
62
−
0
Options
{{
/*
Expand
the
name
of
the
chart
.
*/
}}
{{- define "deployment.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 "deployment.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 "deployment.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{
{
/*
Common
labels
*/
}
}
{{- define "deployment.labels" -}}
helm.sh/chart: {{ include "deployment.chart" . }}
{{ include "deployment.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{
{
/*
Selector
labels
*/
}
}
{{- define "deployment.selectorLabels" -}}
app.kubernetes.io/name: {{ include "deployment.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{
{
/*
Create
the
name
of
the
service
account
to
use
*/
}
}
{{- define "deployment.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "deployment.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
Loading