Skip to content

Commit

Permalink
[Feature] [ML] Use Scheduler API
Browse files Browse the repository at this point in the history
  • Loading branch information
ajanikow committed Mar 14, 2024
1 parent 2eb83f3 commit a4dd670
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 199 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- (Feature) Add Core fields to the Scheduler Container Spec
- (Feature) Add Metadata fields to the Scheduler Pod Spec
- (Feature) Extend Backup Details in DebugPackage
- (Feature) (ML) Use Scheduler API

## [1.2.39](https://github.com/arangodb/kube-arangodb/tree/1.2.39) (2024-03-11)
- (Feature) Extract Scheduler API
Expand Down
84 changes: 0 additions & 84 deletions pkg/ml/container_auth_jwt.go

This file was deleted.

51 changes: 0 additions & 51 deletions pkg/ml/container_ca.go

This file was deleted.

55 changes: 0 additions & 55 deletions pkg/ml/container_jwt.go

This file was deleted.

9 changes: 0 additions & 9 deletions pkg/util/k8sutil/helpers/service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,12 +383,3 @@ func EnsureServiceAccount(ctx context.Context, client kubernetes.Interface, owne

return false, nil
}

func AppendServiceAccount(obj *sharedApi.ServiceAccount, spec *core.PodTemplateSpec) {
if obj == nil || obj.Object == nil || spec == nil {
return
}

spec.Spec.ServiceAccountName = obj.Object.GetName()
spec.Spec.AutomountServiceAccountToken = util.NewType(true)
}

0 comments on commit a4dd670

Please sign in to comment.