-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker-compose update for local testing\n sync-deps.yaml config added…
… for testing the new feature
- Loading branch information
1 parent
a3c985f
commit 3da9e2e
Showing
3 changed files
with
68 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
version: '3.1' | ||
|
||
services: | ||
charts-syncer: | ||
build: . | ||
restart: "always" | ||
command: "sync --config /config/charts-syncer.yaml -v 4 --latest-version-only" | ||
command: "sync --config /config/sync-deps.yaml -v 4 --latest-version-only" | ||
# environment: | ||
# - TARGET_AUTH_USERNAME=oauth2accesstoken | ||
# - TARGET_AUTH_PASSWORD= | ||
volumes: | ||
- "./examples:/config" | ||
- "./localrepo:/localrepo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# | ||
# Example config file | ||
# | ||
|
||
# source includes relevant information about the source chart repository | ||
source: | ||
# Dependencies located in repos from this list will be considered as trusted, and also synced. | ||
# The entry format is the same as "repo" (see below) | ||
trustedSourceDeps: | ||
- kind: HELM | ||
url: https://grafana.github.io/helm-charts | ||
repo: | ||
# Kind specify the chart repository kind. Valid values are HELM, CHARTMUSEUM, and HARBOR | ||
kind: HELM | ||
# url is the url of the chart repository | ||
url: https://prometheus-community.github.io/helm-charts # local test source repo | ||
# target includes relevant information about the target chart repository | ||
target: | ||
# In case there is a need to mirror dependencies (from trustedSourceDeps list, see above) - this must be set to true | ||
replaceDependencyRepo: true | ||
repo: | ||
# Kind specify the chart repository kind. Valid values are HELM, CHARTMUSEUM, and HARBOR | ||
kind: LOCAL | ||
path: localrepo | ||
# charts is an OPTIONAL list to specify a subset of charts to be synchronized | ||
# It is mandatory if the source repo is OCI and not autodiscovery is supported in that repository | ||
# More info here https://github.com/bitnami-labs/charts-syncer#charts-index-for-oci-based-repositories | ||
charts: | ||
- kube-prometheus-stack | ||
# opt-out counterpart of "charts" property that explicit list the Helm charts to be skipped | ||
# either "charts" or "skipCharts" can be used at once | ||
# skipCharts: | ||
# - mariadb | ||
|
||
# Whether to also relocate the container images referenced by the Helm Chart | ||
# Note that this requires the Helm Chart to be compatible with relok8s tool by containing a .relok8s-images.yaml file | ||
# More info about the file here https://github.com/vmware-tanzu/asset-relocation-tool-for-kubernetes#image-hints-file | ||
relocateContainerImages: false |