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

Install tekton operator in air-gapped network #1910

Closed
lmgsaenz opened this issue Dec 23, 2023 · 1 comment · Fixed by #2262
Closed

Install tekton operator in air-gapped network #1910

lmgsaenz opened this issue Dec 23, 2023 · 1 comment · Fixed by #2262
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@lmgsaenz
Copy link

Feature request

Currently in tekton-operator deployment you can pass variables such as:

  • IMAGE_PIPELINES_TEKTON_PIPELINES_CONTROLLER
  • IMAGE_PIPELINES_WEBHOOK
  • etc...

And this way you can install all the necessary components except the dashboard, so the ideal would be to also add the logic to be able to define the dashboard image variable.

This configuration is necessary to be able to enjoy Tekton in more restrictive environments that do not have internet access.

Use case

Although images can be defined in this way, it should be possible to create a new flow that is more intuitive, using for example tektonConfig:

apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
  name: config
spec:
  profile: all
  targetNamespace: tekton-pipelines
  registry_url: localregistry.com/
  pipeline:
    controller_image: pipelines/controller:0.55.0
    webhook_image: pipelines/webhook:0.55.0
  dashboard:
    dashboard_image: dashboard/dashboard:0.42
@lmgsaenz lmgsaenz added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 23, 2023
@jkandasa
Copy link
Member

@lmgsaenz thanks for the request. On a operator release the tekton operator holds specific version CRDs(release.yaml) for all the components (as specified in https://github.com/tektoncd/operator/blob/main/components.yaml)
Passing image via TektonConfig can easily break the operand environment. hence we have not introduced that option.

However we should add a environment variable to dashboard to fix the disconnected/air gap installation.
Changing the image via environment variable is almost managed by cluster admin, and he/shw definitely would do replace the images only to support disconnected/airgap environment or similar requests. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants