We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7af32 commit 3bc3b32Copy full SHA for 3bc3b32
api/v1alpha1/smbcommonconfig_types.go
@@ -17,6 +17,7 @@ limitations under the License.
17
package v1alpha1
18
19
import (
20
+ corev1 "k8s.io/api/core/v1"
21
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
22
)
23
@@ -54,6 +55,10 @@ type SmbCommonNetworkSpec struct {
54
55
type SmbCommonConfigPodSettings struct {
56
// NodeSelector values will be assigned to a PodSpec's NodeSelector.
57
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
58
+
59
+ // Affinity values will be used as defaults for pods created by the
60
+ // samba operator.
61
+ Affinity *corev1.Affinity `json:"affinity,omitempty"`
62
}
63
64
// SmbCommonConfigStatus defines the observed state of SmbCommonConfig
0 commit comments