-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fleet-metrics
- Loading branch information
Showing
19 changed files
with
2,766 additions
and
1,320 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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: pause-prerelease | ||
labels: | ||
app: pause | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: pause | ||
template: | ||
metadata: | ||
labels: | ||
app: pause | ||
spec: | ||
containers: | ||
- name: pause | ||
image: {{.ImageWithTag}} # {"$imagescan": "test-scan"} | ||
ports: | ||
- containerPort: 80 |
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,21 @@ | ||
imageScans: | ||
# specify the policy to retrieve images, can be semver or alphabetical order | ||
- policy: | ||
# if range is specified, it will take the latest image according to semver order in the range | ||
# for more details on how to use semver, see https://github.com/Masterminds/semver | ||
# in this test case we're going to use prerelease versions. | ||
# as we're specifying * semver will ignore new tags but should not crash the fleet controller | ||
semver: | ||
range: "*" | ||
# can use ascending or descending order | ||
alphabetical: | ||
order: asc | ||
|
||
# specify images to scan | ||
image: {{.Image}} | ||
|
||
# Specify the tag name, it has to be unique in the same bundle | ||
tagName: test-scan | ||
|
||
# Specify the scan interval | ||
interval: 5s |
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,21 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: pause-prerelease | ||
labels: | ||
app: pause | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: pause | ||
template: | ||
metadata: | ||
labels: | ||
app: pause | ||
spec: | ||
containers: | ||
- name: pause | ||
image: {{.ImageWithTag}} # {"$imagescan": "test-scan"} | ||
ports: | ||
- containerPort: 80 |
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,19 @@ | ||
imageScans: | ||
# specify the policy to retrieve images, can be semver or alphabetical order | ||
- policy: | ||
# if range is specified, it will take the latest image according to semver order in the range | ||
# for more details on how to use semver, see https://github.com/Masterminds/semver | ||
semver: | ||
range: ">= 0.0.0-40" | ||
# can use ascending or descending order | ||
alphabetical: | ||
order: asc | ||
|
||
# specify images to scan | ||
image: {{.Image}} | ||
|
||
# Specify the tag name, it has to be unique in the same bundle | ||
tagName: test-scan | ||
|
||
# Specify the scan interval | ||
interval: 5s |
Oops, something went wrong.