Skip to content

Conversation

@fr-sarker
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Dec 9, 2025

CLA assistant check
All committers have signed the CLA.

@ArnobKumarSaha
Copy link
Member

Not needed.
Use different names.

@ArnobKumarSaha
Copy link
Member

Needed for neo4j volumeMounts

   - mountPath: /config/neo4j-auth
      name: neo4j-auth
    - mountPath: /backups
      name: data
      subPathExpr: backups
    - mountPath: /data
      name: data
      subPathExpr: data
    - mountPath: /import
      name: data
      subPathExpr: import
    - mountPath: /licenses
      name: data
      subPathExpr: licenses
    - mountPath: /logs
      name: data
      subPathExpr: logs/$(POD_NAME)
    - mountPath: /metrics
      name: data
      subPathExpr: metrics/$(POD_NAME)

@ArnobKumarSaha ArnobKumarSaha changed the title update condition Use mountPath while upserting volumeMounts Dec 9, 2025
Signed-off-by: Fazle Rabbi Sarker <fazlerabbi@appscode.com>
Signed-off-by: Fazle Rabbi Sarker <fazlerabbi@appscode.com>
@tamalsaha
Copy link
Contributor

tamalsaha commented Dec 9, 2025

https://github.com/kubernetes/api/blob/382014e64b8e968a848ca4fa97d63addcb6af126/core/v1/types.go#L3014-L3021

Screenshot 2025-12-09 at 7 28 39 PM

I think we should probably merge just based on mountPath. That is what k8s itself is doing.

wdyt?

@fr-sarker
Copy link
Contributor Author

Agreed. Sticking to how k8s handles it is the best approach.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha merged commit 0558d1d into master Dec 9, 2025
3 checks passed
@tamalsaha tamalsaha deleted the update-condition branch December 9, 2025 15:10
tamalsaha added a commit that referenced this pull request Dec 9, 2025
Signed-off-by: Fazle Rabbi Sarker <fazlerabbi@appscode.com>
Signed-off-by: Tamal Saha <tamal@appscode.com>
Co-authored-by: Tamal Saha <tamal@appscode.com>
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.

5 participants