Skip to content

Commit

Permalink
fix: invalid configmap key conversion (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
indrif authored Apr 15, 2024
1 parent 1eaeb9b commit b2fd373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/kubernetes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ export const getKubectlForContext = (

export const getContext = (clusterName: string) => `do-fra1-${clusterName}`;

export const getConfigMapKey = (key: string) => key.replace(/[^a-z0-9]/g, "_");
export const getConfigMapKey = (key: string) => key.replace(/[^A-z0-9\-_\.]/g, "_");

0 comments on commit b2fd373

Please sign in to comment.