Skip to content

Commit

Permalink
feat(project): add support for docker-cache feature
Browse files Browse the repository at this point in the history
Resolves AB#19830
  • Loading branch information
ankitrgadiya committed Dec 11, 2024
1 parent 387181c commit 00c89fa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
9 changes: 7 additions & 2 deletions riocli/apply/manifests/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: test-project-name
labels:
purpose: testing
version: 1.0
version: "1.0"
spec:
users:
- emailID: "[email protected]"
Expand All @@ -20,4 +20,9 @@ spec:
vpn:
enabled: true
subnets: ["10.81.0.0/16"]

dockerCache:
enabled: true
proxyDevice: "edge01"
proxyInterface: "eth0"
registrySecret: "quay"
registryURL: "https://quay.io"
21 changes: 21 additions & 0 deletions riocli/jsonschema/schemas/project-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,27 @@ definitions:
properties:
enabled:
type: boolean
dockerCache:
oneOf:
- properties:
enabled:
const: false
- properties:
enabled:
const: true
proxyDevice:
type: string
proxyInterface:
type: string
registrySecret:
type: string
registryURL:
type: string
required:
- proxyDevice
- proxyInterface
- registrySecret
- registryURL
userGroup:
type: object
properties:
Expand Down

0 comments on commit 00c89fa

Please sign in to comment.