-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
namePrefix ignores storageClassName reference in volumeClaimTemplates #1347
Comments
@trajakovic It looks like @yujunz fixed the issue last month. We did reproduce your environment here and the bug seems to be fixed. |
@jbrette ok, will try it again with feedback. and thx guys for excellent work |
Is there any workaround for this? I am using kubectl 1.1.14 |
@thiagoalvessilva Just download kustomize 3.1.0here and run: kustomize build <myapp> | kubectl apply -f - instead of kubectl apply -k <myapp> |
@jbrette I can confirm that latest released version Thank you once again |
Adding a namePrefix or nameSuffix ignores
storageClassName
inside StatefulSetspec.volumeClaimTemplates
.Version
Version: {KustomizeVersion:3.0.2 GitCommit:aa2313c2825a7712b12309c1cd7798f371a0bb18 BuildDate:2019-07-12T20:43:56Z GoOs:darwin GoArch:amd64}
Input
base/demo.yaml
kustomization.yaml
Result
Expectation
storageClassName
inspec.volumeClaimTemplates
with correctprefix-
-suffix
name.The text was updated successfully, but these errors were encountered: