-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: Replace EFS standalone resources with EFS module #1081
Conversation
@@ -216,3 +209,16 @@ resource "kubernetes_storage_class" "storage_class" { | |||
type = "gp3" | |||
} | |||
} | |||
|
|||
resource "kubernetes_storage_class_v1" "efs" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, what's the reason we need this now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like we didn't fill out the example completely/thoroughly (and there is still plenty of room for improvements) but we have the EFS CSI addon enabled but we never demonstrated how it maps to the StorageClass like we do between the EBS CSI driver and its associated StorageClass resource. So this just demonstrates one way of consuming the EFS system using the dynamic provisioner method
tl;dr - do we need it - the addon can be enabled without it but users wouldn't be able to utilize an EFS file share (sort of like creating a cluster without a data plane - you can, it just isn't very useful nor how its usually used)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I have 1 knowledge question regards kubernetes_storage_class_v1
. Thank you!
What does this PR do?
Motivation
More
pre-commit run -a
with this PRNote: Not all the PRs require a new example and/or doc page. In general:
docs/add-ons/*
is required for new a new addonFor Moderators
Additional Notes