stackabletech / stackabletech/issues

Extend Tilt set-up to run openshift templating

Open
#391 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Running/deploying operators against openshift clusters with Tilt does not apply this templating to the operator clusterrole, resulting in test failures:

{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
  - apiGroups:
      - security.openshift.io
    resources:
      - securitycontextconstraints
    resourceNames:
      - airflow-scc
    verbs:
      - use
{{ end }}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Tilt setup used to deploy operators against OpenShift clusters and the operator ClusterRole templating shown in the issue. Confirm that the security.openshift.io/v1 conditional is applied during setup, then verify that the resulting ClusterRole includes the securitycontextconstraints permission and that the reported tests no longer fail.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.