Skip to content

Commit

Permalink
Merge pull request #71 from steadybit/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ReuDa authored Aug 2, 2022
2 parents 5f48633 + c240d03 commit c96dbd6
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.MD
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`
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Currently supported:
- [steadybit Platform](charts/steadybit-platform/README.md)
- [steadybit AWS extension](charts/steadybit-extension-aws/README.md)
- [steadybit Kong extension](charts/steadybit-extension-kong/README.md)
- [steadybit Postman extension](charts/steadybit-extension-postman/README.md)

## How to use the steadybit Helm repository

Expand Down
23 changes: 23 additions & 0 deletions charts/steadybit-extension-postman/.helmignore
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/
21 changes: 21 additions & 0 deletions charts/steadybit-extension-postman/Chart.yaml
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
26 changes: 26 additions & 0 deletions charts/steadybit-extension-postman/README.md
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 charts/steadybit-extension-postman/templates/deployment.yaml
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 }}
---
12 changes: 12 additions & 0 deletions charts/steadybit-extension-postman/templates/service.yaml
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
23 changes: 23 additions & 0 deletions charts/steadybit-extension-postman/values.yaml
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"

0 comments on commit c96dbd6

Please sign in to comment.