Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2e935893
Commit
2e935893
authored
Oct 25, 2021
by
Brad Davidson
Committed by
Brad Davidson
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add dashboard annotations to Traefik helm chart
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
8271d98a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Chart.yaml
scripts/chart-templates/crd-base/Chart.yaml
+1
-1
download
scripts/download
+6
-0
No files found.
scripts/chart-templates/crd-base/Chart.yaml
View file @
2e935893
...
...
@@ -4,4 +4,4 @@ description: Installs the CRDs for ${name}.
name
:
${name}-crd
type
:
application
annotations
:
catalog.cattle.io/hidden
:
"
true"
fleet.cattle.io/bundle-id
:
k3s
scripts/download
View file @
2e935893
...
...
@@ -97,6 +97,12 @@ download_and_package_traefik () {
echo
-e
'global:\n systemDefaultRegistry: ""'
>>
${
TRAEFIK_TMP_CHART
}
/values.yaml
find
${
TRAEFIK_TMP_CHART
}
-type
f | xargs
sed
-i
's/{{ .Values.image.name }}/{{ template "system_default_registry" .}}&/g'
# Add dashboard annotations to main chart
cat
<<
EOF
>>
${
TRAEFIK_TMP_CHART
}
/Chart.yaml
annotations:
fleet.cattle.io/bundle-id: k3s
EOF
# Move CRDs from main chart to CRD chart
mkdir
-p
${
TRAEFIK_TMP_CRD
}
/templates
mv
${
TRAEFIK_TMP_CHART
}
/crds/
*
${
TRAEFIK_TMP_CRD
}
/templates
...
...
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