Skip to content

Commit 62142e8

Browse files
committed
Drop auth config from shards
1 parent 54edbb4 commit 62142e8

File tree

7 files changed

+0
-35
lines changed

7 files changed

+0
-35
lines changed

internal/resources/rootshard/deployment.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ func DeploymentReconciler(rootShard *operatorv1alpha1.RootShard) reconciling.Nam
144144

145145
dep = utils.ApplyCommonShardConfig(dep, &rootShard.Spec.CommonShardSpec)
146146
dep = utils.ApplyDeploymentTemplate(dep, rootShard.Spec.DeploymentTemplate)
147-
dep = utils.ApplyAuthConfiguration(dep, rootShard.Spec.Auth)
148147

149148
return dep, nil
150149
}

internal/resources/shard/deployment.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ func DeploymentReconciler(shard *operatorv1alpha1.Shard, rootShard *operatorv1al
141141

142142
dep = utils.ApplyCommonShardConfig(dep, &shard.Spec.CommonShardSpec)
143143
dep = utils.ApplyDeploymentTemplate(dep, shard.Spec.DeploymentTemplate)
144-
dep = utils.ApplyAuthConfiguration(dep, shard.Spec.Auth)
145144

146145
return dep, nil
147146
}

sdk/apis/operator/v1alpha1/shard_types.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ type CommonShardSpec struct {
5454

5555
// Optional: DeploymentTemplate configures the Kubernetes Deployment created for this shard.
5656
DeploymentTemplate *DeploymentTemplate `json:"deploymentTemplate,omitempty"`
57-
58-
// Optional: Auth configures various aspects of Authentication and Authorization for this shard.
59-
Auth *AuthSpec `json:"auth,omitempty"`
6057
}
6158

6259
type AuditSpec struct {

sdk/apis/operator/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/applyconfiguration/operator/v1alpha1/commonshardspec.go

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/applyconfiguration/operator/v1alpha1/rootshardspec.go

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/applyconfiguration/operator/v1alpha1/shardspec.go

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)