forked from confidential-containers/cloud-api-adaptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provisioner: Add method to update patchesStrategicMerge
- This commit adds a method that allows updating the list of the `patchesStrategicMerge` list with additional patch files. - Add a patch file that will add the workload identity to the cloud-api-adaptor-daemonset and the service account cloud-api-adaptor. - Add code to provisioner that will update the patch file with the client id of the managed identity. Fixes confidential-containers#974 Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
- Loading branch information
Showing
3 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: cloud-api-adaptor-daemonset | ||
namespace: confidential-containers-system | ||
spec: | ||
template: | ||
metadata: | ||
labels: | ||
azure.workload.identity/use: "true" | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: cloud-api-adaptor | ||
namespace: confidential-containers-system | ||
labels: | ||
azure.workload.identity/use: "true" | ||
annotations: | ||
azure.workload.identity/client-id: "00000000-0000-0000-0000-000000000000" |
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
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