https://github.com/commonjava/indy-sidecar-init
https://github.com/commonjava/indy-sidecar-init
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/commonjava/indy-sidecar-init
- Owner: Commonjava
- Created: 2021-11-04T09:14:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T04:09:50.000Z (about 1 year ago)
- Last Synced: 2025-07-27T01:32:46.333Z (5 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Indy sidecar init
**Deployment**
The sidecar init container is meant to be init-container part of builder and sidecar pod, provides sidecar with initial repos downloaded from archive service.
1. Make sure you have right application.yaml from [indy-sidecar](https://github.com/commonjava/indy-sidecar) container, you must set `sidecar.archive-api` and `sidecar.local-repository` for this to work.
2. mount the same application.yaml across this sidecar-init container as well as the sidecar container.
3. Add init-container part to the pod deploymentconfig and mount preSeedRepo volume as the sidecar does (or whatever defined it in application.yaml config file)
Template of the deployment can be found in template/template-sidecar.yaml
---
**Build container image**
Use Dockerfile or BuildConfig.yaml(for Openshift) to build the container