Skip to content
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

chore: add more documentation for checking configmaps #19

Merged
merged 1 commit into from
May 13, 2022

Conversation

smlx
Copy link
Member

@smlx smlx commented May 13, 2022

No description provided.

@smlx smlx added the documentation Improvements or additions to documentation label May 13, 2022
@smlx smlx force-pushed the validate-configmap-doc branch from 311a65b to decaf4e Compare May 13, 2022 01:22
@smlx smlx enabled auto-merge May 13, 2022 01:23
@smlx smlx merged commit 481db72 into main May 13, 2022
@smlx smlx deleted the validate-configmap-doc branch May 13, 2022 01:23
```
for cluster in abc1 xyz2; do
# assuming kconfig switches kubectl contexts
kconfig myname-$cluster && kubectl get configmap -Ao json > ~/download/lagoon-yml-audit/amazeeio-$cluster.cm.json;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we field-selector the name in here, it'll cut the dump size down hugely

Suggested change
kconfig myname-$cluster && kubectl get configmap -Ao json > ~/download/lagoon-yml-audit/amazeeio-$cluster.cm.json;
kconfig myname-$cluster && kubectl get configmap --field-selector metadata.name=lagoon-yaml -Ao json > ~/download/lagoon-yml-audit/amazeeio-$cluster.cm.json;

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants