Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Fix invalid secret name, fixes #620 #621

Conversation

rvesse
Copy link

@rvesse rvesse commented Mar 2, 2018

As reported in #620 invalid secret names are being generated by Spark on K8S. This commit adds atoLowerCase to the generated name to pass the validation regex. The specific problem is that the current name generation creates a segment containing K8S requires that each segment start with an alphabetic character.

How was this patch tested?

Tested against a secure HDFS cluster to verify successful mounting of the Hadoop Kerberos secret volume

As reported to apache-spark-on-k8s#620
invalid secret names are being generated by Spark on K8S.  This commit
adds a toLowerCase to the generated name to pass the validation
regex
@rvesse
Copy link
Author

rvesse commented Mar 5, 2018

Already fixed by #612

@rvesse rvesse closed this Mar 5, 2018
@rvesse rvesse deleted the bugfix/invalid-k8s-secret branch October 31, 2018 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant