Code Monkey home page Code Monkey logo

Comments (3)

luoyucumt avatar luoyucumt commented on June 21, 2024

Is it possible to implement dashboard environment variables?

  • name: IMAGE_DASHBOARD_TEKTON_DASHBOARD
    value: "gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard:v0.39.0"

I think this is a very minor change.
in pkg/reconciler/common/transformers.go

DashboardImagePrefix          = "IMAGE_DASHBOARD_"

in pkg/reconciler/kubernetes/tektondashboard/transform.go

images := common.ToLowerCaseKeys(common.ImagesFromEnv(common.DashboardImagePrefix))
trns := extension.Transformers(dashboard)
extra := []mf.Transformer{
                        common.InjectOperandNameLabelOverwriteExisting(v1alpha1.OperandTektoncdDashboard),
                        common.DeploymentImages(images),
                        common.AddConfiguration(dashboard.Spec.Config),
                        common.AddDeploymentRestrictedPSA(),
 }

from operator.

piyush-garg avatar piyush-garg commented on June 21, 2024

@willzhang Can you please explain about the request here

from operator.

willzhang avatar willzhang commented on June 21, 2024

Purpose: Install tekton operator through helm in an isolated network environment within the intranet
when i use helm install tekton operator

helm repo add tektoncd "git+https://github.com/tektoncd/operator@charts?ref=main"

# Install the operator
helm install tekton-operator \
  -n tekton-operator \
  --create-namespace \
  --set installCRDs=true \
  tektoncd/tekton-operator

In order to achieve offline installation, I need to understand and solve two problems:

  • What dependent images does tekton operator require?
  • How do I configure the tekton operator to get the image from?

Perhaps it is more appropriate to extend the TektonConfig CRD to specify the image

apiVersion: operator.tekton.dev/v1alpha1
kind: TektonPipeline
metadata:
  name: pipeline
spec:
  proxy-webhookImage: 192.168.10.10:5000/tekton-releases/github.com/tektoncd/operator/cmd/kubernetes/proxy-webhook:v0.69.1
  eventsImage: 192.168.10.10:5000/tekton-releases/github.com/tektoncd/pipeline/cmd/events:v0.53.3


apiVersion: operator.tekton.dev/v1alpha1
kind: TektonTrigger
metadata:
  name: trigger
spec:
  triggersImage: 192.168.10.10:5000/tekton-releases/github.com/tektoncd/triggers/cmd/controller:v0.25.3

How can i let operator to pull image from my local harbor or zot docker registry?

from operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.