Guest User

Untitled

a guest
Mar 19th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. apiVersion: batch/v1
  2. kind: Job
  3. metadata:
  4. name: gdpr
  5. spec:
  6. template:
  7. spec:
  8. containers:
  9. - name: gdpr
  10. image: microsoft/mssql-tools
  11. command: ["/opt/mssql-tools/bin/sqlcmd"]
  12. args: [ "-S", "mysqlserver.database.windows.net", "-d", "mydatabase", "-U", "User", "-P", "PassWord", "-I", "-Q", "SELECT name FROM sys.tables" ]
  13. restartPolicy: Never
Add Comment
Please, Sign In to add comment