janhoy commented on PR #485: URL: https://github.com/apache/solr-operator/pull/485#issuecomment-1298538512
Digging some more, I see that in the spec, `corev1.ProjectedVolumeSource` is alredy a child of `corev1.VolumeSource`, so perhaps this already is supported by nesting `projected` inside `source` instead of the shortcut form documented in https://kubernetes.io/docs/concepts/storage/projected-volumes/#example-configuration-secret-downwardapi-configmap? ```yaml solr: podOptions: volumes: # Map service account JWT token onto a volume - name: sa-token-vol defaultContainerMount: mountPath: /var/run/secrets/tokens name: sa-token-vol source: projected: sources: - serviceAccountToken: path: sa-token expirationSeconds: 86400 audience: myAudience ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
