Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1771335: Verify builds can use pull secret
Use pull secret for registry.redhat.io to verify that builds can pull from an external registry with a pull secret.
- Loading branch information
1 parent
bc76890
commit 35e4aa5
Showing
4 changed files
with
161 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
test/extended/testdata/builds/pullsecret/linked-nodejs-bc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
kind: BuildConfig | ||
apiVersion: v1 | ||
metadata: | ||
name: linked-nodejs | ||
spec: | ||
source: | ||
git: | ||
uri: "https://github.com/sclorg/nodejs-ex.git" | ||
strategy: | ||
type: Source | ||
sourceStrategy: | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/rhscl/nodejs-10-rhel7:latest |
16 changes: 16 additions & 0 deletions
16
test/extended/testdata/builds/pullsecret/pullsecret-nodejs-bc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
kind: BuildConfig | ||
apiVersion: v1 | ||
metadata: | ||
name: pullsecret-nodejs | ||
spec: | ||
source: | ||
git: | ||
uri: "https://github.com/sclorg/nodejs-ex.git" | ||
strategy: | ||
type: Source | ||
sourceStrategy: | ||
from: | ||
kind: DockerImage | ||
name: registry.redhat.io/rhscl/nodejs-10-rhel7:latest | ||
pullSecret: | ||
name: local-ps |