Skip to content

Commit

Permalink
Add namespace to the aerospike-proxy helm chart. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaGreben authored Jul 30, 2024
1 parent 491af0c commit 4454993
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 15 deletions.
2 changes: 1 addition & 1 deletion aerospike-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 1.0.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 7 additions & 0 deletions aerospike-proxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
Define the namespace, defaults to the namespace of the helm release.
*/}}
{{- define "aerospike-proxy.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
1 change: 1 addition & 0 deletions aerospike-proxy/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 "aerospike-proxy.fullname" . }}-cm
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
{{- include "aerospike-proxy.labels" . | nindent 4 }}
data:
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/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 "aerospike-proxy.fullname" . }}
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
app: {{ include "aerospike-proxy.fullname" . }}
{{- include "aerospike-proxy.labels" . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "aerospike-proxy.fullname" . }}
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
{{- include "aerospike-proxy.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
{{- include "aerospike-proxy.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "aerospike-proxy.fullname" . }}
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
app: {{ include "aerospike-proxy.fullname" . }}
{{- include "aerospike-proxy.labels" . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/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 "aerospike-proxy.serviceAccountName" . }}
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
{{- include "aerospike-proxy.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand Down
1 change: 1 addition & 0 deletions aerospike-proxy/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Pod
metadata:
name: "{{ include "aerospike-proxy.fullname" . }}-test-connection"
namespace: {{ include "aerospike-proxy.namespace" . }}
labels:
{{- include "aerospike-proxy.labels" . | nindent 4 }}
annotations:
Expand Down
3 changes: 3 additions & 0 deletions aerospike-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

# namespaceOverride overrides the namespace, defaults to .Release.Namespace
namespaceOverride: ""

proxyConfig: {}

serviceAccount:
Expand Down
Binary file added docs/aerospike-proxy-1.0.0.tgz
Binary file not shown.
38 changes: 24 additions & 14 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ entries:
aerospike-backup-service:
- apiVersion: v2
appVersion: 1.0.0
created: "2024-07-22T15:45:53.394325+03:00"
created: "2024-07-24T13:51:55.212106858-07:00"
description: A Helm chart for Kubernetes
digest: ec8484396b05af2ba532c0a88b3072d4d542c4a025a879fc09781e249600e825
name: aerospike-backup-service
Expand All @@ -13,7 +13,7 @@ entries:
version: 1.0.0
- apiVersion: v2
appVersion: 1.0.0
created: "2024-07-22T15:45:53.393181+03:00"
created: "2024-07-24T13:51:55.210745759-07:00"
description: A Helm chart for Kubernetes
digest: 14cc5efd7357f65c0cf0f36be9e19a6276f9dc787ec131bbf602c725efbde3ab
name: aerospike-backup-service
Expand All @@ -24,7 +24,7 @@ entries:
aerospike-graph:
- apiVersion: v2
appVersion: 2.2.0
created: "2024-07-22T15:45:53.397436+03:00"
created: "2024-07-24T13:51:55.213560501-07:00"
description: Aerospike Graph Service
digest: 80e92b7a3ebcd9b02248e67f22ce7b39f884deeed360a24c9d40b48155150996
keywords:
Expand All @@ -38,7 +38,7 @@ entries:
version: 2.2.0
- apiVersion: v2
appVersion: 2.0.0
created: "2024-07-22T15:45:53.395876+03:00"
created: "2024-07-24T13:51:55.21284624-07:00"
description: Aerospike Graph Service
digest: 00e954c2ec6fe44c90cda43476070280e9c5d8bd0a4f875984928dfb2c3cbe05
keywords:
Expand All @@ -53,7 +53,7 @@ entries:
aerospike-jms-inbound:
- apiVersion: v2
appVersion: 3.0.0
created: "2024-07-22T15:45:53.399479+03:00"
created: "2024-07-24T13:51:55.215106237-07:00"
description: A Helm chart for Aerospike Connect for JMS - Inbound
digest: f664bee76244a49c19dabea859581e1d668e46f6aa2e0973c3e5ee6d8f689ba3
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -73,7 +73,7 @@ entries:
aerospike-jms-outbound:
- apiVersion: v2
appVersion: 4.1.1
created: "2024-07-22T15:45:53.401298+03:00"
created: "2024-07-24T13:51:55.217979432-07:00"
description: A Helm chart for Aerospike Connect for JMS - Outbound
digest: d3f9f3cdd9bc57eaa945336f5c1c28c164b1c8a2c41f97eda9806276077c0a2c
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -93,7 +93,7 @@ entries:
aerospike-kafka-outbound:
- apiVersion: v2
appVersion: 5.1.2
created: "2024-07-22T15:45:53.40443+03:00"
created: "2024-07-24T13:51:55.220989583-07:00"
description: A Helm chart for Aerospike Connect for Kafka - Outbound
digest: c4b04092fe2c0857d26957c6b95b317c46063add104777b481cb9291c20b85ae
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -112,7 +112,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 5.0.0
created: "2024-07-22T15:45:53.402964+03:00"
created: "2024-07-24T13:51:55.219528666-07:00"
description: A Helm chart for Aerospike Connect for Kafka - Outbound
digest: 46b6cff86371f5cf40c64a93eacd5eea402f9c572d4144ad50f174129479de77
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -132,7 +132,17 @@ entries:
aerospike-proxy:
- apiVersion: v2
appVersion: 1.1.1
created: "2024-07-22T15:45:53.408189+03:00"
created: "2024-07-24T13:51:55.223200589-07:00"
description: Helm chart for Aerospike Proxy
digest: b35fa83cfd3ab83b9defbbddaa55ab50f4875961a803e9beb20241b3ad915dc2
name: aerospike-proxy
type: application
urls:
- https://aerospike.github.io/helm-charts/aerospike-proxy-1.0.0.tgz
version: 1.0.0
- apiVersion: v2
appVersion: 1.1.1
created: "2024-07-24T13:51:55.222133737-07:00"
description: Helm chart for Aerospike Proxy
digest: f1b1508ac78cd5f6bd8832bef1d0993db71c21f331149b99c27d0f574015c418
name: aerospike-proxy
Expand All @@ -143,7 +153,7 @@ entries:
aerospike-pulsar-outbound:
- apiVersion: v2
appVersion: 3.2.1
created: "2024-07-22T15:45:53.409676+03:00"
created: "2024-07-24T13:51:55.224480413-07:00"
description: A Helm chart for Aerospike Connect for Pulsar - Outbound
digest: 8fdf247a0abb72026178a316419c83e1929043bf913b962a984d42f7b8cfdb6b
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -163,7 +173,7 @@ entries:
aerospike-vector-search:
- apiVersion: v2
appVersion: 0.9.0
created: "2024-07-22T15:45:53.414785+03:00"
created: "2024-07-24T13:51:55.229390757-07:00"
description: A Helm chart for Aerospike Vector Search
digest: b52d0d80bfb11c04b52a50bf09888a2aeb1933ad6c77e61f6bff1ab9b7d65bc0
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -180,7 +190,7 @@ entries:
version: 0.4.0
- apiVersion: v2
appVersion: 0.4.0
created: "2024-07-22T15:45:53.41319+03:00"
created: "2024-07-24T13:51:55.227786359-07:00"
description: A Helm chart for Aerospike Vector Search
digest: 7c25aa6ee63ed4fe42049cf170795bb5c3cf90fc4f5222e40c09d54a8dbf7ec1
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -197,7 +207,7 @@ entries:
version: 0.3.0
- apiVersion: v2
appVersion: 0.4.0
created: "2024-07-22T15:45:53.411371+03:00"
created: "2024-07-24T13:51:55.226166397-07:00"
description: A Helm chart for Aerospike Vector Search
digest: f66c0163471586d199efa4c88ce73a45978d17071ba8e59ba6ff8fabeebf4876
icon: https://avatars0.githubusercontent.com/u/2214313?s=200&v=4
Expand All @@ -212,4 +222,4 @@ entries:
urls:
- https://aerospike.github.io/helm-charts/aerospike-vector-search-0.1.0.tgz
version: 0.1.0
generated: "2024-07-22T15:45:53.391507+03:00"
generated: "2024-07-24T13:51:55.209196081-07:00"

0 comments on commit 4454993

Please sign in to comment.