Commit c3eb3bf
committed
refactor(swap_encryption): use kubernetes_commands.ApplyManifest and fix imports
Replace the manual temp-file + kubectl apply pattern in _deploy_daemonset()
with PKB's kubernetes_commands.ApplyManifest(), which is the standard PKB
mechanism for rendering Jinja2 manifests and applying them:
- Remove _daemonset_yaml() helper (its logic now lives inside ApplyManifest)
- _deploy_daemonset() delegates to kubernetes_commands.ApplyManifest(
'cluster/swap_encryption_daemonset.yaml.j2', **kwargs)
- Add kubernetes_commands import
- Remove vm_util import (now unused)
- Fix import order: providers.gcp before resources.container_service
(alphabetical within the perfkitbenchmarker import group)1 parent 09acb31 commit c3eb3bf
1 file changed
Lines changed: 18 additions & 27 deletions
Lines changed: 18 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | 78 | | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | 408 | | |
428 | 409 | | |
429 | 410 | | |
| |||
665 | 646 | | |
666 | 647 | | |
667 | 648 | | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
674 | 665 | | |
675 | 666 | | |
676 | 667 | | |
| |||
0 commit comments