Skip to content

Commit

Permalink
feat: make addpodidbinding optional (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasap authored Mar 3, 2023
1 parent c935a7f commit 15061ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# macOS
.DS_Store
.AppleDouble
.LSOverride
.LSOverride

# Helm Chart packages
*.tgz
3 changes: 1 addition & 2 deletions charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ apiVersion: v2
name: app
description: A Helm chart for Kubernetes for running an application
type: application
version: 2.0.5
#appVersion: "1.3.0"
version: 2.1.0
4 changes: 3 additions & 1 deletion charts/app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Expand the name of the service.
*/}}
{{- define "nmp-chart.serviceName" -}}
{{- default .Values.serviceName .Values.serviceNameNameOverride | trunc 63 | trimSuffix "-" }}
{{- default .Values.serviceName .Values.serviceNameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Expand Down Expand Up @@ -75,6 +75,8 @@ Selector labels
{{- define "nmp-chart.selectorLabels" -}}
app.kubernetes.io/name: {{ include "nmp-chart.deploymentName" . }}
app.kubernetes.io/instance: {{ include "nmp-chart.deploymentName" . }}
{{- if .Values.aadpodidbinding }}
aadpodidbinding: {{ .Values.aadpodidbinding }}
{{- end }}
{{- end }}

15 changes: 0 additions & 15 deletions charts/app/templates/tests/test-connection.yaml

This file was deleted.

0 comments on commit 15061ba

Please sign in to comment.