Skip to content

sat0yu/k3s-with-private-container-images-in-gcr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The minimum file set for

    1. Build and push a container image to GHCR
    1. Pull the container image from GHCR into your k3s cluster

Note that your k3s cluster needs a configuration file /etc/rancher/k3s/registries.yaml for the authentication.

mirrors:
  ghcr:
    endpoint:
      - "https://ghcr.io"
configs:
  "ghcr.io":
    auth:
      username: $YOUR_USERNAME
      password: $YOUR_PRIVATE_ACCESS_TOKEN

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published