Skip to content

Commit

Permalink
support namespaces (#240)
Browse files Browse the repository at this point in the history
* support namespaces

* Update helm documentation

* Update helm documentation

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Stefan Wiedemann and github-actions[bot] authored May 2, 2024
1 parent b2f4127 commit 92bc987
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/contract-management/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: contract-management
version: 0.6.0
version: 0.6.2
appVersion: 0.0.1
description: A Helm chart for running the contract-management on kubernetes.
icon: https://fiware.github.io/catalogue/img/fiware.png
Expand Down
2 changes: 1 addition & 1 deletion charts/contract-management/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# contract-management

![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

A Helm chart for running the contract-management on kubernetes.

Expand Down
1 change: 1 addition & 0 deletions charts/contract-management/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "contract.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "contract.labels" . | nindent 4 }}
data:
Expand Down
1 change: 1 addition & 0 deletions charts/contract-management/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "contract.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "contract.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/contract-management/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "contract.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/contract-management/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "contract.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/credentials-config-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: credentials-config-service
version: 0.1.0
version: 0.1.2
appVersion: 0.0.1
description: A Helm chart for running the credentials-config-service on kubernetes.
icon: https://fiware.github.io/catalogue/img/fiware.png
Expand Down
2 changes: 1 addition & 1 deletion charts/credentials-config-service/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# credentials-config-service

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)

A Helm chart for running the credentials-config-service on kubernetes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/credentials-config-service/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
{{- if .Values.ingress.annotations }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/credentials-config-service/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ include "ccs.fullname" . }}-ccs
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
{{- if or .Values.route.annotations .Values.route.annotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/credentials-config-service/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "ccs.labels" . | nindent 4 }}
type: Opaque
Expand Down
1 change: 1 addition & 0 deletions charts/credentials-config-service/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "ccs.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/trusted-issuers-list/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: trusted-issuers-list
version: 0.6.0
version: 0.6.2
appVersion: 0.0.2
description: A Helm chart for running the trusted-issuers-list on kubernetes.
icon: https://fiware.github.io/catalogue/img/fiware.png
Expand Down
2 changes: 1 addition & 1 deletion charts/trusted-issuers-list/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trusted-issuers-list

![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: 0.0.2](https://img.shields.io/badge/AppVersion-0.0.2-informational?style=flat-square)
![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![AppVersion: 0.0.2](https://img.shields.io/badge/AppVersion-0.0.2-informational?style=flat-square)

A Helm chart for running the trusted-issuers-list on kubernetes.

Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/deployment-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "til.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "til.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/ingress-til.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "til.fullname" . }}-til
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
{{- if .Values.ingress.til.annotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/ingress-tir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "til.fullname" . }}-tir
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
{{- if .Values.ingress.tir.annotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/initdata-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "til.fullname" . }}-init-data-cm
namespace: {{ $.Release.Namespace | quote }}
data:
entrypoint.sh: |-
{{- range $d := .Values.initData.issuers }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "til.fullname" . }}-init-data
namespace: {{ $.Release.Namespace | quote }}
annotations:
"helm.sh/hook": {{ .Values.initData.hook }}
"helm.sh/hook-delete-policy": before-hook-creation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "til.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/route-til.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ include "til.fullname" . }}-til
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
{{- if or .Values.route.til.annotations .Values.route.til.certificate }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "til.fullname" . }}-tir
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/route-tir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ include "til.fullname" . }}-tir
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
{{- if or .Values.route.tir.annotations .Values.route.tir.certificate }}
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "til.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
labels:
{{ include "til.labels" . | nindent 4 }}
type: Opaque
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "til.serviceName" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/trusted-issuers-list/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "til.fullname" . }}
namespace: {{ $.Release.Namespace | quote }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
Expand Down

0 comments on commit 92bc987

Please sign in to comment.