@@ -77,21 +77,15 @@ func (o StashOptions) Config() (*server.StashConfig, error) {
77
77
serverConfig .OpenAPIConfig .IgnorePrefixes = []string {
78
78
"/swaggerapi" ,
79
79
"/apis/admission.stash.appscode.com/v1alpha1" ,
80
- "/apis/admission.stash.appscode.com/v1alpha1/restics" ,
81
- "/apis/admission.stash.appscode.com/v1alpha1/recoveries" ,
82
- "/apis/admission.stash.appscode.com/v1alpha1/repositories" ,
83
- "/apis/admission.stash.appscode.com/v1alpha1/deployments" ,
84
- "/apis/admission.stash.appscode.com/v1alpha1/daemonsets" ,
85
- "/apis/admission.stash.appscode.com/v1alpha1/statefulsets" ,
86
- "/apis/admission.stash.appscode.com/v1alpha1/replicationcontrollers" ,
87
- "/apis/admission.stash.appscode.com/v1alpha1/replicasets" ,
88
- // v1beta1 apis
89
- "/apis/admission.stash.appscode.com/v1beta1/backupconfigurationtemplates" ,
90
- "/apis/admission.stash.appscode.com/v1beta1/backupconfigurations" ,
91
- "/apis/admission.stash.appscode.com/v1beta1/backupsessions" ,
92
- "/apis/admission.stash.appscode.com/v1beta1/functions" ,
93
- "/apis/admission.stash.appscode.com/v1beta1/restoresessions" ,
94
- "/apis/admission.stash.appscode.com/v1beta1/tasks" ,
80
+ "/apis/admission.stash.appscode.com/v1alpha1/resticvalidators" ,
81
+ "/apis/admission.stash.appscode.com/v1alpha1/recoveryvalidators" ,
82
+ "/apis/admission.stash.appscode.com/v1alpha1/repositoryvalidators" ,
83
+ "/apis/admission.stash.appscode.com/v1alpha1/deploymentmutators" ,
84
+ "/apis/admission.stash.appscode.com/v1alpha1/daemonsetmutators" ,
85
+ "/apis/admission.stash.appscode.com/v1alpha1/statefulsetmutators" ,
86
+ "/apis/admission.stash.appscode.com/v1alpha1/replicationcontrollermutators" ,
87
+ "/apis/admission.stash.appscode.com/v1alpha1/replicasetmutators" ,
88
+ "/apis/admission.stash.appscode.com/v1alpha1/deploymentconfigmutators" ,
95
89
}
96
90
97
91
extraConfig := controller .NewConfig (serverConfig .ClientConfig )
0 commit comments