Skip to main content

SMB / CIFS

SMB (Server Message Block) / CIFS (Common Internet File System) connections enable integration with Windows file shares and network-attached storage for file operations and backup monitoring.

Used By

FieldDescriptionScheme
connection

The connection url to use, mutually exclusive with host, share, and credentials

Connection

domain

Windows Domain

host

The SMB host

string

password

EnvVar

port

integer

username

EnvVar

Example

smb-connection.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: windows-share
spec:
smb:
server: fileserver.example.com
share: backups
port: 445
username:
valueFrom:
secretKeyRef:
name: smb-credentials
key: username
password:
valueFrom:
secretKeyRef:
name: smb-credentials
key: password

For domain authentication, use the format DOMAIN\\username for the username field.