Skip to content

Commit

Permalink
[objecten] Remove duplicate app.kubernetes.io/instance labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdie committed Mar 22, 2023
1 parent 4c6fa18 commit 9cd1d19
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/objecten/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: objecten
description: API om objecten te beheren die behoren bij een bepaald objecttype

type: application
version: 0.9.3
version: 0.9.4
appVersion: 2.1.1
4 changes: 3 additions & 1 deletion charts/objecten/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# objecten

![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.1](https://img.shields.io/badge/AppVersion-2.1.1-informational?style=flat-square)
![Version: 0.9.4](https://img.shields.io/badge/Version-0.9.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.1](https://img.shields.io/badge/AppVersion-2.1.1-informational?style=flat-square)

API om objecten te beheren die behoren bij een bepaald objecttype

Expand All @@ -11,6 +11,7 @@ helm repo add my-repo https://maykinmedia.github.io/charts/
helm install my-release my-repo/objecten
```


## Values

| Key | Type | Default | Description |
Expand Down Expand Up @@ -82,6 +83,7 @@ helm install my-release my-repo/objecten
| settings.isHttps | bool | `true` | |
| settings.secretKey | string | `""` | Generate secret key at https://djecrety.ir/ |
| settings.sentry.dsn | string | `""` | |
| settings.twoFactorAuthentication | bool | `true` | |
| settings.useXForwardedHost | bool | `true` | |
| settings.uwsgi.harakiri | string | `""` | |
| settings.uwsgi.master | string | `""` | |
Expand Down
2 changes: 0 additions & 2 deletions charts/objecten/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Common labels
*/}}
{{- define "objecten.commonLabels" -}}
helm.sh/chart: {{ include "objecten.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Expand All @@ -54,7 +53,6 @@ Selector labels
*/}}
{{- define "objecten.selectorLabels" -}}
app.kubernetes.io/name: {{ include "objecten.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/objecten/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data:
DEBUG: "True"
{{- end }}
TWO_FACTOR_FORCE_OTP_ADMIN: {{ if .Values.settings.twoFactorAuthentication }}"True"{{ else }}"False"{{ end }}
TWO_FACTOR_PATCH_ADMIN: {{ if .Values.settings.twoFactorAuthentication }}"True"{{ else }}"False"{{ end }}
TWO_FACTOR_PATCH_ADMIN: {{ if .Values.settings.twoFactorAuthentication }}"True"{{ else }}"False"{{ end }}
IS_HTTPS: {{ if .Values.settings.isHttps }}"True"{{ else }}"False"{{ end }}
EMAIL_HOST: {{ .Values.settings.email.host | toString | quote }}
EMAIL_PORT: {{ .Values.settings.email.port | toString | quote }}
Expand Down
4 changes: 2 additions & 2 deletions charts/objecten/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ stringData:
{{- end }}
{{- if .Values.settings.email.password }}
EMAIL_HOST_PASSWORD: {{ .Values.settings.email.password | toString | quote }}
{{- end }}
{{- end }}
{{- if .Values.settings.elasticapm.url }}
ELASTIC_APM_SERVER_URL: {{ .Values.settings.elasticapm.url | toString | quote }}
ELASTIC_APM_SECRET_TOKEN: {{ .Values.settings.elasticapm.token | toString | quote }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/objecten/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ settings:
debug: false

twoFactorAuthentication: true

uwsgi:
master: ''
threads: ''
Expand Down

0 comments on commit 9cd1d19

Please sign in to comment.