Skip to content

Commit

Permalink
Merge pull request #5 from lengrongfu/feat/update-group
Browse files Browse the repository at this point in the history
update group to x-copilot.io
  • Loading branch information
lengrongfu committed May 15, 2023
2 parents c3545e1 + ce99a47 commit 36de789
Show file tree
Hide file tree
Showing 17 changed files with 812 additions and 453 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@ on:
pull_request:

jobs:
# golangci:
# name: Lint with golangci-lint
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Install Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.19
# - uses: golangci/golangci-lint-action@v3
# with:
# version: v1.49.0
vertify:
name: Vertify import alias, vendor, codegen, crds
runs-on: ubuntu-latest
Expand All @@ -36,6 +23,7 @@ jobs:
with:
go-version: 1.19
- run: go mod tidy && go mod vendor
- run: hack/verify-staticcheck.sh
- run: hack/verify-import-aliases.sh
- run: hack/verify-vendor.sh
- run: hack/verify-crds.sh
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
# Go workspace file
go.work
./bin/*
./bin
bin/
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
# runtime-copilot
The main function of the runtime copilot is to assist the operation of the container runtime component (containerd), specifically for adding or deleting non-safe registries.

## Introduction

This project is a runtime copilot, auxiliary manager runtime, current function introduce the config insecure registry to runtime(such as: containerd、docker、cri-o), It mainly has the following functions:

[ ] Manager insecure registry in runtime.
[ ] Upgrade runtime version.
[ ] Replace runtime with another runtime.
[ ] Manager runtime plugins.

### Manager insecure registry

| Runtime | Support |
| --- | --- |
| containerd | Yes |
| docker | No |
| cri-o | No |

## Usage

[Helm](https://helm.sh) must be installed to use the charts. Please refer to
Expand Down Expand Up @@ -30,7 +47,7 @@ To uninstall the chart:
We add `10.6..112.191` this insecret registry to containerd, we can define yaml content follow file.

```yaml
apiVersion: config.registry.runtime.copilot.io/v1alpha1
apiVersion: registry.runtime.x-copilot.io/v1alpha1
kind: RegistryConfigs
metadata:
name: registryconfigs-sample
Expand Down
7 changes: 0 additions & 7 deletions config.toml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 36de789

Please sign in to comment.