databricks-cli/libs/template
Anton Nekipelov 428e730c9e
Set default data_security_mode to "SINGLE_USER" in bundle templates (#2372)
## Changes
1. Change the **default-python** bundle template to set
`data_security_mode` of a cluster to SINGLE_USER
2. Change the **experimental-jobs-as-code** bundle template to set
`data_security_mode` of a cluster to SINGLE_USER

## Why
Explicitly adding this field saves experienced users from confusion onto
what security mode is applied to the cluster

## Tests
Changed existing unit and integration tests to pass with this change
2025-02-26 13:19:38 +01:00
..
templates Set default data_security_mode to "SINGLE_USER" in bundle templates (#2372) 2025-02-26 13:19:38 +01:00
testdata Add the `bundle_uuid` helper function for templates (#1947) 2024-12-02 10:29:29 +00:00
builtin.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
builtin_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
config.go Enable perfsprint linter and apply autofix (#2071) 2025-01-07 10:49:23 +00:00
config_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
file.go Use `filer.Filer` to write template instantiation (#1911) 2024-11-20 11:11:31 +01:00
file_test.go Set the write bit for files written during template initialization (#2068) 2025-01-08 13:18:28 +00:00
helpers.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
helpers_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
reader.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
reader_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
renderer.go Set the write bit for files written during template initialization (#2068) 2025-01-08 13:18:28 +00:00
renderer_test.go Set the write bit for files written during template initialization (#2068) 2025-01-08 13:18:28 +00:00
resolver.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
resolver_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
template.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
template_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
writer.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00
writer_test.go Refactor `bundle init` (#2074) 2025-01-20 12:09:28 +00:00