-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubectl-apply-job-0.7.0.tgz-meta/README.md kubectl-apply-job-0.7.0.tgz-meta/main.yaml kubectl-apply-job-0.7.0.tgz-meta/values.schema.json
- Loading branch information
1 parent
b06d15a
commit 62da4e9
Showing
5 changed files
with
143 additions
and
1 deletion.
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
Binary file not shown.
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,24 @@ | ||
# kubectl-apply-job library chart | ||
|
||
This helm charty can be used to easily generate a Job which executes `kubectl apply` before the actual installation of a chart | ||
|
||
## Usage | ||
|
||
- Specify this library chart as a dependency in your `Chart.yaml` | ||
|
||
dependencies: | ||
- name: kubectl-apply-job | ||
version: "0.1.0" | ||
repository: https://giantswarm.github.io/giantswarm-playground-catalog | ||
|
||
- Run `helm dep update` | ||
- Add at least these additional values to your `values.yaml` | ||
|
||
kubectlApplyJob: | ||
files: | ||
- path/to/file-1.yaml | ||
- path/to/file-2.yaml | ||
|
||
- Somewhere in your templates, add | ||
|
||
{{ include "kubectlApplyJob.job" . }} |
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,9 @@ | ||
annotations: | ||
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.7.0.tgz-meta/main.yaml | ||
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.7.0.tgz-meta/README.md | ||
application.giantswarm.io/values-schema: https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.7.0.tgz-meta/values.schema.json | ||
chartApiVersion: v2 | ||
chartFile: kubectl-apply-job-0.7.0.tgz | ||
dateCreated: '2023-12-12T12:39:39.758200' | ||
digest: d666bdd66fb188caa27a42366fc13ff18a2aab53dc7b9dbe17a2198687b63455 | ||
home: https://github.com/giantswarm/kubectl-apply-job |
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,94 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"ciliumNetworkPolicy": { | ||
"type": "object", | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean" | ||
} | ||
} | ||
}, | ||
"kubectlApplyJob": { | ||
"type": "object", | ||
"properties": { | ||
"backoffLimit": { | ||
"type": "integer" | ||
}, | ||
"files": { | ||
"type": "array" | ||
}, | ||
"image": { | ||
"type": "object", | ||
"properties": { | ||
"pullPolicy": { | ||
"type": "string" | ||
}, | ||
"registry": { | ||
"type": "string" | ||
}, | ||
"repository": { | ||
"type": "string" | ||
}, | ||
"tag": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"podSecurityPolicy": { | ||
"type": "object", | ||
"properties": { | ||
"annotations": { | ||
"type": "object" | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"labels": { | ||
"type": "object" | ||
} | ||
} | ||
}, | ||
"resources": { | ||
"type": "object", | ||
"properties": { | ||
"limits": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": ["string", "integer"] | ||
}, | ||
"memory": { | ||
"type": ["string", "integer"] | ||
} | ||
} | ||
}, | ||
"requests": { | ||
"type": "object", | ||
"properties": { | ||
"cpu": { | ||
"type": ["string", "integer"] | ||
}, | ||
"memory": { | ||
"type": ["string", "integer"] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"securityContext": { | ||
"type": "object", | ||
"properties": { | ||
"runAsGroup": { | ||
"type": "integer" | ||
}, | ||
"runAsUser": { | ||
"type": "integer" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |