Skip to content

Commit

Permalink
add kubectl-apply-job-0.7.0.tgz
Browse files Browse the repository at this point in the history
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
catalogbot committed Dec 12, 2023
1 parent b06d15a commit 62da4e9
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 1 deletion.
17 changes: 16 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6084,6 +6084,21 @@ entries:
- https://giantswarm.github.io/giantswarm-playground-catalog/kube-bench-app-0.1.0.tgz
version: 0.1.0
kubectl-apply-job:
- 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
apiVersion: v2
created: "2023-12-12T12:39:41.352962723Z"
description: 'A Helm chart containing a Job to apply kubernetes manifests using
kubectl apply. '
digest: d666bdd66fb188caa27a42366fc13ff18a2aab53dc7b9dbe17a2198687b63455
home: https://github.com/giantswarm/kubectl-apply-job
name: kubectl-apply-job
type: library
urls:
- https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.7.0.tgz
version: 0.7.0
- annotations:
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.6.0.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-playground-catalog/kubectl-apply-job-0.6.0.tgz-meta/README.md
Expand Down Expand Up @@ -9050,4 +9065,4 @@ entries:
urls:
- https://giantswarm.github.io/giantswarm-playground-catalog/vertical-pod-autoscaler-crd-1.0.0.tgz
version: 1.0.0
generated: "2023-12-07T12:57:25.338265481Z"
generated: "2023-12-12T12:39:41.35201817Z"
Binary file added kubectl-apply-job-0.7.0.tgz
Binary file not shown.
24 changes: 24 additions & 0 deletions kubectl-apply-job-0.7.0.tgz-meta/README.md
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" . }}
9 changes: 9 additions & 0 deletions kubectl-apply-job-0.7.0.tgz-meta/main.yaml
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
94 changes: 94 additions & 0 deletions kubectl-apply-job-0.7.0.tgz-meta/values.schema.json
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"
}
}
}
}
}
}
}

0 comments on commit 62da4e9

Please sign in to comment.