Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save swamibluedata/80bac11ffdcc124c63273f809c6930bf to your computer and use it in GitHub Desktop.
Save swamibluedata/80bac11ffdcc124c63273f809c6930bf to your computer and use it in GitHub Desktop.
apiVersion: settings.k8s.io/v1alpha1
kind: PodPreset
metadata:
name: tz-mount
namespace: hpecp
spec:
selector:
matchExpressions:
- key: kubedirector.hpe.com/role
operator: In
values:
- webterm
volumeMounts:
- mountPath: /etc/localtime
mountPropagation: HostToContainer
name: tz-mount
readOnly: true
volumes:
- hostPath:
path: /etc/localtime
type: File
name: tz-mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment