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

Change persistentVolume spec to persistentVolumeClaim and change samples #83

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

BuddhiWathsala
Copy link
Contributor

@BuddhiWathsala BuddhiWathsala commented Aug 16, 2019

Purpose

Refactor persistentVolume to persistentVolumeClaim in Siddhi CRD

Goals

Within the Siddhi Operator, persistentVolume spec of Siddhi CRD is being used to create the PVCs. Hence, refactoring the naming to persistentVolumeClaim.

Approach

Change the SiddhiProcess spec and use default corev1.PersistentVolumeClaimSpec as the mapping object. From that, we can directly map the user given entries to the PVC struct.

Also, change the specs of the sample to use persistentVolumeClaim. The samples contained an unused environmental variable BASIC_AUTH_ENABLED. So add use that env inside each Siddhi app sample.

Samples

deploy/examples

Related PRs

#34

Related Issues

#82

Test environment

minikube version: v1.2.0

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