Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test kk push image to harbor. #2457

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

redscholar
Copy link
Collaborator

@redscholar redscholar commented Nov 15, 2024

What type of PR is this?

What this PR does / why we need it:

run command kk artifact images -c conf.yaml
test config:

apiVersion: kubekey.kubesphere.io/v1
kind: Config
metadata:
  name: default
spec:
  image_manifests:
    - registry.cn-beijing.aliyuncs.com/kubesphereio/cni:v3.27.4
    - registry.cn-beijing.aliyuncs.com/kubesphereio/coredns:1.8.6
    - registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache:1.22.20
    - registry.cn-beijing.aliyuncs.com/kubesphereio/kube-apiserver:v1.23.17
    - registry.cn-beijing.aliyuncs.com/kubesphereio/kube-controller-manager:v1.23.17
    - registry.cn-beijing.aliyuncs.com/kubesphereio/kube-controllers:v3.27.4
    - registry.cn-beijing.aliyuncs.com/kubesphereio/kube-proxy:v1.23.17
    - registry.cn-beijing.aliyuncs.com/kubesphereio/kube-scheduler:v1.23.17
    - registry.cn-beijing.aliyuncs.com/kubesphereio/node:v3.27.4
    - registry.cn-beijing.aliyuncs.com/kubesphereio/pause:3.6
    - registry.cn-beijing.aliyuncs.com/kubesphereio/pod2daemon-flexvol:v3.27.4
  image_registry:
    images_dir: /tmp/kubekey/images/
    auth:
      registry: harbor.orb.local
      username: admin
      password: Harbor12345

it will push image to harbor
image

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:


Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: redscholar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubesphere-prow kubesphere-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 15, 2024
Copy link

sonarcloud bot commented Nov 15, 2024

@liangzai006
Copy link
Collaborator

/lgtm

@kubesphere-prow kubesphere-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2024
Copy link

LGTM label has been added.

Git tree hash: a017c67b5186526a2e5f0534a4f475bc17edc27d

@ks-ci-bot ks-ci-bot merged commit 3e56b09 into kubesphere:feature-gitops Nov 19, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants