Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM base AS dev
WORKDIR /workdir
RUN apk add --no-cache gcc linux-headers musl-dev make
RUN python -m venv /opt/venv
RUN pip install --upgrade pip
RUN python -m pip install --upgrade pip

# =========
FROM dev AS deps
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ coverage:
coverage html
coverage report

checks: format-check lint mypy test
#checks: format-check lint mypy test
checks: format-check test

image:
DOCKER_BUILDKIT=1 docker build --progress=plain -t gitopscli:latest .
Expand Down
2 changes: 2 additions & 0 deletions docs/commands/sync-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ root-config-repo/
└── bootstrap
└── values.yaml
```
### app specific values
app specific values may be set using a values.yaml file directly in the app directory. gitopscli will process these values and remove key that would be blacklisted for security purpose and then store them in the result files under app key.

**bootstrap/values.yaml**
```yaml
Expand Down
Empty file.
6 changes: 6 additions & 0 deletions gitopscli/appconfig_api/traverse_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def traverse_config(data, configver):
path = configver[1]
lookup = data
for key in path:
lookup = lookup[key]
return lookup
Loading