Skip to content

Commit

Permalink
fix(agent-group): add nameOverride to JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Krail committed Jun 8, 2020
1 parent 94ecb29 commit 8f9ee27
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/agent-group/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: agent-group
version: 1.0.2
version: 1.0.3
appVersion: 10
description: Jitterbit Agent Group
home: https://github.com/jitterbit/charts
Expand Down
11 changes: 11 additions & 0 deletions charts/agent-group/ci/all-nameoverride-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
nameOverride: private-agent-group
image:
tag: 10
agent:
registerjson:
cloudUrl: https://na-east.jitterbit.com
username: $00lAuva91/rNxAaoQ+bC3pdtq+dXD9CLw9YdFGxcHLXI3Fhgf6JXQp3dDnIVKZE89xzwREjV/KDqINtTr8XQ/w==
password: $00RIOD/BqGlQ1ack56p2GKG8vXJlpfAnbLxyUs5GqH8=
agentGroupId: 6282
agentNamePrefix: "%host%"
deregisterAgentOnDrainstop: true
17 changes: 10 additions & 7 deletions charts/agent-group/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ properties:
metadata:
description: Chart metadata
type: object
nameOverride:
description: Override the name of resources
type: string
image:
description: Docker image configuration
$ref: '#/definitions/image'
$ref: "#/definitions/image"
agent:
description: Agent Group specific configuration
type: object
Expand Down Expand Up @@ -75,19 +78,19 @@ properties:
- "null"
hpa:
description: Horizontal pod autoscaler configuration
$ref: '#/definitions/hpa'
$ref: "#/definitions/hpa"
replicas:
description: Number of replicas set if the horizontal pod autoscaler is disabled or malfunctioning
$ref: '#/definitions/replicas'
$ref: "#/definitions/replicas"
resources:
description: Upper- and lower-bounded resource constraints of the containers
$ref: '#/definitions/resources'
$ref: "#/definitions/resources"
revisionHistoryLimit:
description: Number of old replica sets to store in case of the need to rollback
$ref: '#/definitions/revisionHistoryLimit'
$ref: "#/definitions/revisionHistoryLimit"
affinity:
description: Pod affinity and anti-affinity definitions
$ref: '#/definitions/affinity'
$ref: "#/definitions/affinity"
env:
description: List of additional environment variables that may be specified in the container
$ref: '#/definitions/env'
$ref: "#/definitions/env"

0 comments on commit 8f9ee27

Please sign in to comment.