- Remove PVC volume mount from k8s/deployment.yaml - Delete k8s/mib-pvc.yaml (no longer needed) - Update .gitignore to commit MIB files to git - Add mix import_mibs task to copy MIBs from LibreNMS - Add all MIB files from priv/mibs/ to git This fixes the multi-attach volume error in Kubernetes where new pods couldn't start because the RWO (ReadWriteOnce) PVC was attached to the old pod. MIBs are now part of the Docker image and can be used by all pods simultaneously.
62 lines
1.4 KiB
Text
62 lines
1.4 KiB
Text
# The directory Mix will write compiled artifacts to.
|
|
/_build/
|
|
|
|
# If you run "mix test --cover", coverage assets end up here.
|
|
/cover/
|
|
|
|
# The directory Mix downloads your dependencies sources to.
|
|
/deps/
|
|
|
|
# Where 3rd-party dependencies like ExDoc output generated docs.
|
|
/doc/
|
|
|
|
# Ignore .fetch files in case you like to edit your project deps locally.
|
|
/.fetch
|
|
|
|
# If the VM crashes, it generates a dump, let's ignore it too.
|
|
erl_crash.dump
|
|
|
|
# Also ignore archive artifacts (built via "mix archive.build").
|
|
*.ez
|
|
|
|
# Temporary files, for example, from tests.
|
|
/tmp/
|
|
|
|
# Ignore package tarball (built via "mix hex.build").
|
|
towerops-*.tar
|
|
|
|
# Ignore assets that are produced by build tools.
|
|
/priv/static/assets/
|
|
|
|
# Ignore digested assets cache.
|
|
/priv/static/cache_manifest.json
|
|
|
|
# In case you use Node.js/npm, you want to ignore these.
|
|
npm-debug.log
|
|
/assets/node_modules/
|
|
|
|
# Dialyzer PLT files
|
|
/priv/plts/
|
|
|
|
# Environment variables (used by direnv and Kustomize secretGenerator)
|
|
.envrc
|
|
k8s/.envrc
|
|
|
|
/towerops-agent/
|
|
|
|
# TODO tracking (personal notes, not for version control)
|
|
TODOS.md
|
|
|
|
# SNMP profiles export (temporary/local data)
|
|
profiles.json
|
|
|
|
# Elixir language server and tooling
|
|
.elixir-tools/
|
|
.expert/
|
|
|
|
# MIB files directories (keep directory structure in git, ignore contents)
|
|
/mibs/*
|
|
!/mibs/.gitkeep
|
|
|
|
# Application MIB files (now committed to git and included in Docker image)
|
|
# Only ignore the top-level librenms mibs directory (symlink)
|