Skip to content

Commit

Permalink
Fix Pod Kind (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Bähler <[email protected]>
  • Loading branch information
oliverbaehler authored Jan 25, 2021
1 parent 748ac51 commit e31407a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ Changes on a chart must be documented in a chart specific changelog. For every n

```
artifacthub.io/changes: |
- **[Added]**: Something New was added
- **[Changed]**: Changed Something within this chart
- **[Changed]**: Changed Something else within this chart
- **[Deprecated]**: Something deprecated
- **[Removed]**: Something was removed
- **[Fixed]**: Something was fixed
- **[Security]**: Some Security Patch was included
- "[Added]: Something New was added"
- "[Changed]: Changed Something within this chart"
- "[Changed]: Changed Something else within this chart"
- "[Deprecated]: Something deprecated"
- "[Removed]: Something was removed"
- "[Fixed]: Something was fixed"
- "[Security]: Some Security Patch was included"
```

# Workflows
Expand Down
4 changes: 2 additions & 2 deletions charts/manifests/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: manifests
description: "Bedag's Manifest chart. Library full of basic kubernetes manifests."
type: library
version: 0.4.8
version: 0.4.9
icon: "https://www.bedag.ch/wGlobal/wGlobal/layout/images/logo.svg"
keywords:
- Bedag
Expand All @@ -22,4 +22,4 @@ annotations:
artifacthub.io/prerelease: "true"
artifacthub.io/license: Apache-2.0
artifacthub.io/changes: |
- Fixes Deployment inheritance
- "[Fixed]: Pod twice kind declration & nindent"
2 changes: 1 addition & 1 deletion charts/manifests/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manifests Library

![Version: 0.4.8](https://img.shields.io/badge/Version-0.4.8-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)
![Version: 0.4.9](https://img.shields.io/badge/Version-0.4.9-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)

This library's purpose is to have more flexibility as chart author but at the same time have kubernetes manifests managed in a central library. This way you can avoid big surprises when Kubernetes has breaking changes in any of their APIs. Currently we support a base set of resources. Resources may be added as soon as we see or get a request that there's a need for it. This chart is still under development and testing, since it's rather complex. Feel free to use it. Our goal is to get it as reliable as possible.

Expand Down
3 changes: 1 addition & 2 deletions charts/manifests/templates/manifests/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ apiVersion: {{ $pod.apiVersion }}
{{- else }}
apiVersion: v1
{{- end }}
kind: Pod
{{- include "bedag-lib.template.pod" (set . "pod" $pod) | indent 0 }}
{{- include "bedag-lib.template.pod" (set . "pod" $pod) | nindent 0 }}
{{- else }}
{{- fail "Template requires '.context' as arguments" }}
{{- end }}
Expand Down

0 comments on commit e31407a

Please sign in to comment.