-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from steadybit/develop
Develop
- Loading branch information
Showing
8 changed files
with
137 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## Test and Lint | ||
|
||
- Install chart-testing on MacOs `brew install chart-testing yamllint` | ||
- Lint: `ct lint --target-branch main` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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: v2 | ||
name: steadybit-extension-postman | ||
description: Steadybit Postman extension Helm chart for Kubernetes. | ||
version: 1.0.0 | ||
appVersion: latest | ||
home: https://www.steadybit.com/ | ||
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png | ||
maintainers: | ||
- email: [email protected] | ||
name: reuda | ||
sources: | ||
- https://github.com/steadybit/helm-charts | ||
annotations: | ||
artifacthub.io/images: | | ||
- name: logo | ||
image: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png | ||
artifacthub.io/links: |- | ||
- name: steadybit website | ||
url: https://www.steadybit.com | ||
- name: steadybit Kubernetes Helm charts | ||
url: https://github.com/steadybit/helm-charts |
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,26 @@ | ||
# Steadybit Postman Extension | ||
|
||
This Helm chart adds the Steadybit Postman extension to your Kubernetes cluster via a deployment. | ||
|
||
## Quick Start | ||
|
||
### Add Steadybit Helm repository | ||
|
||
``` | ||
helm repo add steadybit https://steadybit.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
### Installing the Chart | ||
|
||
To install the chart with the name `steadybit-extension-postman` and set the required configuration values. | ||
|
||
```bash | ||
$ helm upgrade steadybit-extension-postman \ | ||
--install \ | ||
--wait \ | ||
--timeout 5m0s \ | ||
--create-namespace \ | ||
--namespace steadybit-extension \ | ||
steadybit/steadybit-extension-postman | ||
``` |
27 changes: 27 additions & 0 deletions
27
charts/steadybit-extension-postman/templates/deployment.yaml
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,27 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: steadybit-extension-postman | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: steadybit-extension-postman | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: steadybit-extension-postman | ||
spec: | ||
containers: | ||
- image: {{ .Values.image.name }}:{{ .Values.image.tag }} | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
name: steadybit-extension-postman | ||
resources: | ||
requests: | ||
memory: {{ .Values.resources.requests.memory }} | ||
cpu: {{ .Values.resources.requests.cpu }} | ||
limits: | ||
memory: {{ .Values.resources.limits.memory }} | ||
cpu: {{ .Values.resources.limits.cpu }} | ||
--- |
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,12 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: steadybit-extension-postman | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
selector: | ||
app.kubernetes.io/name: steadybit-extension-postman | ||
ports: | ||
- protocol: TCP | ||
port: 8086 | ||
targetPort: 8086 |
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,23 @@ | ||
# Default values for steadybit-extension-postman. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
image: | ||
# image.name -- The container image to use for the steadybit Postman extension. | ||
name: steadybit/extension-postman | ||
# image.tag -- tag name of the extension-postman container image to use. | ||
# See https://hub.docker.com/r/steadybit/extension-postman for all tags. | ||
tag: latest | ||
# image.pullPolicy -- Specifies when to pull the image container. | ||
pullPolicy: Always | ||
|
||
resources: | ||
requests: | ||
# resources.requests.memory -- The minimal amount of memory needed | ||
memory: "64Mi" | ||
# resources.requests.cpu -- The minimal amount of cpu shares needed | ||
cpu: "50m" | ||
limits: | ||
# resources.limits.memory -- The limit of memory to be used | ||
memory: "128Mi" | ||
# resources.limits.cpu -- The limit of cpu share to be used during its interval | ||
cpu: "200m" |