Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
harbor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
harbor
Commits
d64ce040
Commit
d64ce040
authored
Apr 19, 2021
by
舒成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.1.3 fix bug
parent
05ab1f62
Pipeline
#45608
passed with stage
Changes
15
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
23 additions
and
28 deletions
+23
-28
templates/_helpers.tpl
templates/_helpers.tpl
+4
-4
templates/chartmuseum/chartmuseum-dpl.yaml
templates/chartmuseum/chartmuseum-dpl.yaml
+1
-1
templates/clair/clair-dpl.yaml
templates/clair/clair-dpl.yaml
+2
-2
templates/core/core-dpl.yaml
templates/core/core-dpl.yaml
+1
-1
templates/database/database-ss.yaml
templates/database/database-ss.yaml
+3
-3
templates/jobservice/jobservice-dpl.yaml
templates/jobservice/jobservice-dpl.yaml
+1
-1
templates/nginx/deployment.yaml
templates/nginx/deployment.yaml
+1
-1
templates/notary/notary-server.yaml
templates/notary/notary-server.yaml
+1
-1
templates/notary/notary-signer.yaml
templates/notary/notary-signer.yaml
+1
-1
templates/portal/deployment.yaml
templates/portal/deployment.yaml
+1
-1
templates/redis/statefulset.yaml
templates/redis/statefulset.yaml
+1
-1
templates/registry/registry-dpl.yaml
templates/registry/registry-dpl.yaml
+2
-2
templates/trivy/trivy-sts.yaml
templates/trivy/trivy-sts.yaml
+1
-1
values-operator.yaml
values-operator.yaml
+2
-7
values.yaml
values.yaml
+1
-1
No files found.
templates/_helpers.tpl
View file @
d64ce040
{{
/*
Create
chart
a
rch
suffix
.
Create
chart
imageA
rch
suffix
.
*/
}}
{{- define "beagle.
a
rch" -}}
{{- if not (eq "amd64" .Values.global.
a
rch) -}}
{{- print "-" .Values.global.
a
rch -}}
{{- define "beagle.
imageA
rch" -}}
{{- if not (eq "amd64" .Values.global.
imageA
rch) -}}
{{- print "-" .Values.global.
imageA
rch -}}
{{- else -}}
{{- print "" -}}
{{- end -}}
...
...
templates/chartmuseum/chartmuseum-dpl.yaml
View file @
d64ce040
...
...
@@ -49,7 +49,7 @@ spec:
{{
- if contains "/" .Values.chartmuseum.image.repository
}}
image
:
"
{{
.Values.chartmuseum.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.chartmuseum.image.hub
|
default
.Values.global.hub
}}/{{
.Values.chartmuseum.image.repository
}}:{{
.Values.chartmuseum.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.chartmuseum.image.hub
|
default
.Values.global.hub
}}/{{
.Values.chartmuseum.image.repository
}}:{{
.Values.chartmuseum.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/clair/clair-dpl.yaml
View file @
d64ce040
...
...
@@ -42,7 +42,7 @@ spec:
{{
- if contains "/" .Values.clair.clair.image.repository
}}
image
:
"
{{
.Values.clair.clair.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.clair.clair.image.hub
|
default
.Values.global.hub
}}/{{
.Values.clair.clair.image.repository
}}:{{
.Values.clair.clair.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.clair.clair.image.hub
|
default
.Values.global.hub
}}/{{
.Values.clair.clair.image.repository
}}:{{
.Values.clair.clair.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
@@ -88,7 +88,7 @@ spec:
{{
- if contains "/" .Values.clair.adapter.image.repository
}}
image
:
"
{{
.Values.clair.adapter.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.clair.adapter.image.hub
|
default
.Values.global.hub
}}/{{
.Values.clair.adapter.image.repository
}}:{{
.Values.clair.adapter.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.clair.adapter.image.hub
|
default
.Values.global.hub
}}/{{
.Values.clair.adapter.image.repository
}}:{{
.Values.clair.adapter.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/core/core-dpl.yaml
View file @
d64ce040
...
...
@@ -43,7 +43,7 @@ spec:
{{
- if contains "/" .Values.core.image.repository
}}
image
:
"
{{
.Values.core.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.core.image.hub
|
default
.Values.global.hub
}}/{{
.Values.core.image.repository
}}:{{
.Values.core.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.core.image.hub
|
default
.Values.global.hub
}}/{{
.Values.core.image.repository
}}:{{
.Values.core.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
{{
- if .Values.core.startupProbe.enabled
}}
...
...
templates/database/database-ss.yaml
View file @
d64ce040
...
...
@@ -39,7 +39,7 @@ spec:
{{
- if contains "/" .Values.database.internal.image.repository
}}
image
:
"
{{
.Values.database.internal.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
command
:
[
"
/bin/sh"
]
...
...
@@ -52,7 +52,7 @@ spec:
{{
- if contains "/" .Values.database.internal.image.repository
}}
image
:
"
{{
.Values.database.internal.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
command
:
[
"
rm"
,
"
-Rf"
,
"
/var/lib/postgresql/data/lost+found"
]
...
...
@@ -65,7 +65,7 @@ spec:
{{
- if contains "/" .Values.database.internal.image.repository
}}
image
:
"
{{
.Values.database.internal.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.database.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.database.internal.image.repository
}}:{{
.Values.database.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/jobservice/jobservice-dpl.yaml
View file @
d64ce040
...
...
@@ -49,7 +49,7 @@ spec:
{{
- if contains "/" .Values.jobservice.image.repository
}}
image
:
"
{{
.Values.jobservice.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.jobservice.image.hub
|
default
.Values.global.hub
}}/{{
.Values.jobservice.image.repository
}}:{{
.Values.jobservice.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.jobservice.image.hub
|
default
.Values.global.hub
}}/{{
.Values.jobservice.image.repository
}}:{{
.Values.jobservice.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/nginx/deployment.yaml
View file @
d64ce040
...
...
@@ -44,7 +44,7 @@ spec:
{{
- if contains "/" .Values.nginx.image.repository
}}
image
:
"
{{
.Values.nginx.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.nginx.image.hub
|
default
.Values.global.hub
}}/{{
.Values.nginx.image.repository
}}:{{
.Values.nginx.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.nginx.image.hub
|
default
.Values.global.hub
}}/{{
.Values.nginx.image.repository
}}:{{
.Values.nginx.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
{{
- $_
:
= set . "scheme" "HTTP" -
}}
...
...
templates/notary/notary-server.yaml
View file @
d64ce040
...
...
@@ -38,7 +38,7 @@ spec:
{{
- if contains "/" .Values.notary.server.image.repository
}}
image
:
"
{{
.Values.notary.server.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.notary.server.image.hub
|
default
.Values.global.hub
}}/{{
.Values.notary.server.image.repository
}}:{{
.Values.notary.server.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.notary.server.image.hub
|
default
.Values.global.hub
}}/{{
.Values.notary.server.image.repository
}}:{{
.Values.notary.server.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
{{
- if .Values.notary.server.resources
}}
...
...
templates/notary/notary-signer.yaml
View file @
d64ce040
...
...
@@ -34,7 +34,7 @@ spec:
{{
- if contains "/" .Values.notary.signer.image.repository
}}
image
:
"
{{
.Values.notary.signer.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.notary.signer.image.hub
|
default
.Values.global.hub
}}/{{
.Values.notary.signer.image.repository
}}:{{
.Values.notary.signer.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.notary.signer.image.hub
|
default
.Values.global.hub
}}/{{
.Values.notary.signer.image.repository
}}:{{
.Values.notary.signer.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
{{
- if .Values.notary.signer.resources
}}
...
...
templates/portal/deployment.yaml
View file @
d64ce040
...
...
@@ -38,7 +38,7 @@ spec:
{{
- if contains "/" .Values.portal.image.repository
}}
image
:
"
{{
.Values.portal.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.portal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.portal.image.repository
}}:{{
.Values.portal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.portal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.portal.image.repository
}}:{{
.Values.portal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
{{
- if .Values.portal.resources
}}
...
...
templates/redis/statefulset.yaml
View file @
d64ce040
...
...
@@ -38,7 +38,7 @@ spec:
{{
- if contains "/" .Values.redis.internal.image.repository
}}
image
:
"
{{
.Values.redis.internal.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.redis.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.redis.internal.image.repository
}}:{{
.Values.redis.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.redis.internal.image.hub
|
default
.Values.global.hub
}}/{{
.Values.redis.internal.image.repository
}}:{{
.Values.redis.internal.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/registry/registry-dpl.yaml
View file @
d64ce040
...
...
@@ -49,7 +49,7 @@ spec:
{{
- if contains "/" .Values.registry.registry.image.repository
}}
image
:
"
{{
.Values.registry.registry.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.registry.registry.image.hub
|
default
.Values.global.hub
}}/{{
.Values.registry.registry.image.repository
}}:{{
.Values.registry.registry.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.registry.registry.image.hub
|
default
.Values.global.hub
}}/{{
.Values.registry.registry.image.repository
}}:{{
.Values.registry.registry.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
@@ -137,7 +137,7 @@ spec:
{{
- if contains "/" .Values.registry.controller.image.repository
}}
image
:
"
{{
.Values.registry.controller.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.registry.controller.image.hub
|
default
.Values.global.hub
}}/{{
.Values.registry.controller.image.repository
}}:{{
.Values.registry.controller.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.registry.controller.image.hub
|
default
.Values.global.hub
}}/{{
.Values.registry.controller.image.repository
}}:{{
.Values.registry.controller.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.global.imagePullPolicy
}}"
livenessProbe
:
...
...
templates/trivy/trivy-sts.yaml
View file @
d64ce040
...
...
@@ -47,7 +47,7 @@ spec:
{{
- if contains "/" .Values.trivy.image.repository
}}
image
:
"
{{
.Values.trivy.image.repository
}}"
{{
- else
}}
image
:
"
{{
.Values.trivy.image.hub
|
default
.Values.global.hub
}}/{{
.Values.trivy.image.repository
}}:{{
.Values.trivy.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
a
rch" . }}"
image
:
"
{{
.Values.trivy.image.hub
|
default
.Values.global.hub
}}/{{
.Values.trivy.image.repository
}}:{{
.Values.trivy.image.tag
|
default
.Values.global.tag
}}{{
template
"beagle.
imageA
rch" . }}"
{{
- end
}}
imagePullPolicy
:
"
{{
.Values.imagePullPolicy
|
default
.Values.global.imagePullPolicy
}}"
securityContext
:
...
...
values-operator.yaml
View file @
d64ce040
global
:
hub
:
registry.cn-qingdao.aliyuncs.com/wod
imagePullPolicy
:
"
IfNotPresent"
arch
:
amd64
host
:
wodcloud.local
persistence
:
persistentVolumeClaim
:
registry
:
size
:
50Gi
\ No newline at end of file
imageArch
:
amd64
host
:
wodcloud.local
\ No newline at end of file
values.yaml
View file @
d64ce040
...
...
@@ -201,7 +201,7 @@ persistence:
storageClass
:
"
hostpath"
subPath
:
"
"
accessMode
:
ReadWriteOnce
size
:
5
00
Gi
size
:
5Gi
chartmuseum
:
existingClaim
:
"
"
storageClass
:
"
hostpath"
...
...
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