Skip to content

Commit

Permalink
Rename package cert-generator with certgenerator
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
  • Loading branch information
tenzen-y committed Aug 3, 2023
1 parent 9b905e9 commit 64f207f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/katib-controller/v1beta1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

configv1beta1 "github.com/kubeflow/katib/pkg/apis/config/v1beta1"
apis "github.com/kubeflow/katib/pkg/apis/controller"
cert "github.com/kubeflow/katib/pkg/cert-generator/v1beta1"
cert "github.com/kubeflow/katib/pkg/certgenerator/v1beta1"
"github.com/kubeflow/katib/pkg/controller.v1beta1"
"github.com/kubeflow/katib/pkg/controller.v1beta1/consts"
"github.com/kubeflow/katib/pkg/util/v1beta1/katibconfig"
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Once Katib is deployed in the Kubernetes cluster, the `cert-generator` follows t

Once the `cert-generator` finished, the Katib controller starts to register controllers such as `experiment-controller` to the manager.

You can find the `cert-generator` source code [here](../pkg/cert-generator/v1beta1).
You can find the `cert-generator` source code [here](../pkg/certgenerator/v1beta1).

## Implement a new algorithm and use it in Katib

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1beta1
package certgenerator

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1beta1
package certgenerator

const (
Webhook = "katib.kubeflow.org"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1beta1
package certgenerator

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1beta1
package certgenerator

import (
"context"
Expand Down
5 changes: 0 additions & 5 deletions pkg/controller.v1beta1/consts/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ const (
// suggestion client implementation in experiment controller.
ConfigExperimentSuggestionName = "experiment-suggestion-name"

// ConfigCertLocalFS is the config name which indicates if we
// should store the cert in file system.
// TODO (andreyvelich): Currently is is not possible to store webhook cert in the local file system
// ConfigCertLocalFS = "cert-local-filesystem"

// CertDir is the location saved certs for the webhooks.
CertDir = "/tmp/cert"

Expand Down

0 comments on commit 64f207f

Please sign in to comment.