-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resources: reconcile openshift elems by smbshare
When deploying over OpenShift cluster, samba-operator should deploy the SeviceAccount, Role and RoleBinding which link the SmbShare pod to samba-SCC within the namespace of the SmbShare itself (unlike previous code, which deploy them once with the namespace of the operator). In addition, starting of OpenShift 4.12 certain annotations needs to be associated with the namespace on which the SmbShare pod runs in order to elevate its privileges. The patch is a refactoring to the existing code. The creation of the relevant objects is done from within the reconcile loop of the SmbShare itself. It assumes that the user already deployed a well known SCC with the name 'samba' on the cluster. Signed-off-by: Shachar Sharon <[email protected]>
- Loading branch information
1 parent
5903b74
commit 70df8a1
Showing
6 changed files
with
198 additions
and
222 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
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
Oops, something went wrong.