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
60a29597
Commit
60a29597
authored
Jan 13, 2021
by
舒成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ingresshost
parent
0f8f5920
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
templates/ingress/ingresshost.yaml
templates/ingress/ingresshost.yaml
+28
-0
No files found.
templates/ingress/ingresshost.yaml
0 → 100644
View file @
60a29597
{{
- if .Capabilities.APIVersions.Has "bcc.bd-apaas.com/v1alpha1/IngressHost" -
}}
---
apiVersion
:
bcc.bd-apaas.com/v1alpha1
kind
:
IngressHost
metadata
:
name
:
"
{{
template
"harbor.ingress" . }}-core"
annotations
:
{{
- with .Values.expose.ingress.annotations
}}
{{
- toYaml . | nindent 4
}}
{{
- end
}}
labels
:
{{
include "harbor.labels" . | nindent 4
}}
spec
:
host
:
"
{{
.Values.expose.ingress.hosts.core
}}"
---
apiVersion
:
bcc.bd-apaas.com/v1alpha1
kind
:
IngressHost
metadata
:
name
:
"
{{
template
"harbor.ingress" . }}-notary"
annotations
:
{{
- with .Values.expose.ingress.annotations
}}
{{
- toYaml . | nindent 4
}}
{{
- end
}}
labels
:
{{
include "harbor.labels" . | nindent 4
}}
spec
:
host
:
"
{{
.Values.expose.ingress.hosts.notary
}}"
{{
- end -
}}
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