-
-
Save jonchen727/52b69b3e6a317f257022af000eb9d030 to your computer and use it in GitHub Desktop.
example organizr deployment with cifs share
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
name: organizr | |
namespace: default | |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: organizr | |
strategy: | |
rollingUpdate: | |
maxSurge: 0 | |
maxUnavailable: 100% | |
type: RollingUpdate | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: organizr | |
io.portainer.kubernetes.application.name: organizr | |
spec: | |
containers: | |
- env: | |
- name: PGID | |
value: "1000" | |
- name: PUID | |
value: "1000" | |
image: organizr/organizr | |
imagePullPolicy: Always | |
name: organizr | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /config | |
name: config | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
volumes: | |
- flexVolume: | |
driver: fstab/cifs | |
fsType: cifs | |
options: | |
mountOptions: dir_mode=0777,file_mode=0777,iocharset=utf8,noperm,nounix,rw | |
networkPath: <CIFS_SHARE_PATH> | |
secretRef: | |
name: cifs-secret | |
name: config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment