Comments (5)
That seems reasonable to me. So the work required for this would be to simply output a message in the log if the secret is present. Does anyone have any problem with that?
from operator-certification-operator.
Key to be used in CR should be docker-registry
when creating the secrete, since this is the value the pipeline uses.
from operator-certification-operator.
/assign
from operator-certification-operator.
This appears to already work as long as the user creates the registry-dockerconfig-secret
and runs the following command:
tkn pipeline start operator-ci-pipeline \ --param git_repo_url=$GIT_REPO_URL \ --param git_branch=main \ --param bundle_path=$BUNDLE_PATH \ --param env=prod \ --param pin_digests=true \ --param git_username=$GIT_USERNAME \ --param git_email=$GIT_EMAIL \ --param registry=$REGISTRY \ --param image_namespace=$IMAGE_NAMESPACE \ --workspace name=pipeline,volumeClaimTemplateFile=templates/workspace-template.yml \ --workspace name=kubeconfig,secret=kubeconfig \ --workspace name=ssh-dir,secret=github-ssh-credentials \ --workspace name=registry-credentials,secret=registry-dockerconfig-secret \ --showlog
we can check if the secret exists and log this in the operator but since we aren't creating secrets in the operator itself there isn't a lot for the operator to do
from operator-certification-operator.
I'll open that PR right now so folks can see it.
from operator-certification-operator.
Related Issues (20)
- Remove duplicate `Get` code in `ensureSecret` method HOT 1
- Rename the Operator HOT 5
- Conditionally Apply Various Pipelines via the CR HOT 2
- Controller Randomly Throws `panic` HOT 1
- Name and Version in cluster do not match
- Status is not updated unless all succeed
- operatorPipelinesRelease from the CR is ignored
- Add Required Annotations for Certification to the Bundle
- Add ` community-signing-pipeline` to the List of Optional Pipelines to Install
- Add Pipelines SCC and Update Pipeline SA to Reference new SCC
- Set namespace of the example `OperatorPipelines` resource to `oco` HOT 1
- Add Openshift-Pipelines as a certification-operator dependency HOT 2
- Add operator-sdk install to Makefile HOT 1
- Add operator-sdk install to Makefile HOT 2
- Update Docker File and/or Project Dependencies Such that the `as builder` image is not GB of data HOT 1
- update readme/install docs and csv to be more accurate HOT 3
- Suppress Errors for Resources Which are Optional HOT 1
- Poll for Required CRD's On Operator Installation HOT 1
- Image Streams Status Condition does not Update Properly HOT 1
- Makefile should be more flexible with image naming
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operator-certification-operator.