Add system namespace filtering
- Add configuration to exclude system namespaces by default - Add UI checkbox to include system namespaces when needed - Update API endpoints to accept include_system_namespaces parameter - Update Kubernetes client to apply namespace filtering - Update ConfigMap and deployment with new environment variables - Fix Dockerfile to install dependencies globally - Test functionality with both filtered and unfiltered results
This commit is contained in:
@@ -29,11 +29,9 @@ RUN groupadd -r appuser && useradd -r -g appuser appuser
|
||||
RUN mkdir -p /app /tmp/reports && \
|
||||
chown -R appuser:appuser /app /tmp/reports
|
||||
|
||||
# Copiar dependências Python do stage anterior
|
||||
COPY --from=builder /root/.local /home/appuser/.local
|
||||
|
||||
# Definir PATH para incluir dependências locais
|
||||
ENV PATH=/home/appuser/.local/bin:$PATH
|
||||
# Instalar dependências Python globalmente
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Definir diretório de trabalho
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user