Skip to content

eoapi-k8s Cleanup Recommendations #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
5 tasks
emmanuelmathot opened this issue Apr 10, 2025 · 0 comments
Open
5 tasks

eoapi-k8s Cleanup Recommendations #210

emmanuelmathot opened this issue Apr 10, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@emmanuelmathot
Copy link
Contributor

Deprecated Components

  • Deprecated Database Configuration: (after Unified PostgreSQL Configuration #209)
    • The db section in values.yaml is explicitly marked as DEPRECATED with comments indicating it's only for backward compatibility
    • Default setting is db.enabled: false as the project now uses PostgreSQL Operator/Cluster approach
    • Related resources in helm-chart/eoapi/templates/db/ directory (deployment.yaml, service.yaml, etc.) could be removed or archived

Obsolete Files

  • Backup Ingress Configuration:
    • helm-chart/eoapi/ingress.bkup appears to be a backup of an old ingress template and is likely obsolete
    • Contains comments indicating it was the "ORIGINAL INGRESS TEMPLATE FROM helm create"
    • Not referenced elsewhere and can be safely removed

Documentation Issues

  • Outdated Documentation References:
    • docs/helm-install.md references specific old chart versions (0.2.14, 0.1.13, 0.1.2) while the current version in Chart.yaml is 0.6.0
    • Documentation should be updated to reflect current versions and practices

Resource Configuration Issues

  • Resource Naming Inconsistency: (fixed in Simplify PgSTAC Bootstrap Process #208)

    • In the pgstacboostrap job, there's a ConfigMap named pgstac-setup-config-{{ $.Release.Name }} which mounts Python scripts to /opt/initdb/python-scripts/
    • The ConfigMap populates from "initdb-data/*.py" files
    • This naming inconsistency could potentially lead to issues if files aren't found where expected
  • Multiple Ingress Configurations: (to be fixed in Consolidate Multiple Ingress Implementations into a Single Configuration #205)

    • The project contains both nginx and traefik ingress configurations
    • While this appears intentional to support different ingress controllers, it might be worth evaluating if both are still actively used or if one approach should be preferred

Additional Items

@emmanuelmathot emmanuelmathot added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant