repository

command module
v0.0.0-...-d90a480 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

README

repository

Repository is a repo that contains a controller that handles the lifecycle of repositories in gitea. It acts on a CRS repository.infra.nephio.org

Based on the Repository CR the following child resources are managed:

  • repo in gitea
  • access token to access the repo in gitea
  • secret in k8s cluster with the access token retrieved from gitea

The secret child resource is created in the namespace where the pod is running in.

TBD: how to find the pointer to the gitea server? right now hardcoded to gitea namespace and svc gitea-http

build

dcoker build; docker push

install

kpt pkg apply blueprint/repository

exmaple

apiVersion: infra.nephio.org/v1alpha1
kind: Repository
metadata:
  name: edge
spec:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apis
infra/v1alpha1
Package v1alpha1 contains API Schema definitions for the automation v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.nephio.org
Package v1alpha1 contains API Schema definitions for the automation v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.nephio.org
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL