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

Make PersistentVolume local path configurable #1088

Merged
merged 3 commits into from
Sep 15, 2023

Conversation

codering
Copy link
Contributor

No description provided.

@@ -13,7 +13,7 @@ spec:
persistentVolumeReclaimPolicy: Delete
storageClassName: easegress-storage
local:
path: /opt/easegress
path: {{ $.Values.cluster.volumeLocalPath }}
Copy link
Contributor

@suchen-sci suchen-sci Sep 14, 2023

Choose a reason for hiding this comment

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

suggest to remove the $ sign and use {{ .Values.cluster.volumeLocalPath }} instead. To keep same format in all yamls.

Copy link
Contributor Author

@codering codering Sep 14, 2023

Choose a reason for hiding this comment

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

In the range block, {{ .Values.xxx }} doesn't work. I change to define another variable.

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, lesson learned. Look good to me.

@suchen-sci suchen-sci added this pull request to the merge queue Sep 15, 2023
Merged via the queue into easegress-io:main with commit dbf1cef Sep 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants