Skip to content

Commit

Permalink
Merge pull request #47 from amazeeio/container-names
Browse files Browse the repository at this point in the history
Add meaningful container names to lagoon-core chart
  • Loading branch information
smlx authored Aug 27, 2020
2 parents d928b17 + 7c46877 commit 3c85bf3
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion charts/lagoon-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# 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.12.0
version: 0.12.1

# This is the version number of the application being deployed. This version
# number should be incremented each time you make changes to the application.
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/api-db.statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
securityContext:
{{- toYaml .Values.apiDB.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: api-db
securityContext:
{{- toYaml .Values.apiDB.securityContext | nindent 12 }}
image: "{{ .Values.apiDB.image.repository }}:{{ .Values.apiDB.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/api-redis.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
securityContext:
{{- toYaml .Values.apiRedis.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: api-redis
securityContext:
{{- toYaml .Values.apiRedis.securityContext | nindent 12 }}
image: "{{ .Values.apiRedis.image.repository }}:{{ .Values.apiRedis.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/api.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
securityContext:
{{- toYaml .Values.api.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: api
securityContext:
{{- toYaml .Values.api.securityContext | nindent 12 }}
image: "{{ .Values.api.image.repository }}:{{ .Values.api.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/auth-server.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
securityContext:
{{- toYaml .Values.authServer.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: auth-server
securityContext:
{{- toYaml .Values.authServer.securityContext | nindent 12 }}
image: "{{ .Values.authServer.image.repository }}:{{ .Values.authServer.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/auto-idler.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
securityContext:
{{- toYaml .Values.autoIdler.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: auto-idler
securityContext:
{{- toYaml .Values.autoIdler.securityContext | nindent 12 }}
image: "{{ .Values.autoIdler.image.repository }}:{{ .Values.autoIdler.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/broker.statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
securityContext:
{{- toYaml .Values.broker.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: broker
securityContext:
{{- toYaml .Values.broker.securityContext | nindent 12 }}
image: "{{ .Values.broker.image.repository }}:{{ .Values.broker.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/drush-alias.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
securityContext:
{{- toYaml .Values.drushAlias.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: drush-alias
securityContext:
{{- toYaml .Values.drushAlias.securityContext | nindent 12 }}
image: "{{ .Values.drushAlias.image.repository }}:{{ .Values.drushAlias.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/keycloak-db.statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
securityContext:
{{- toYaml .Values.keycloakDB.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: keycloak-db
securityContext:
{{- toYaml .Values.keycloakDB.securityContext | nindent 12 }}
image: "{{ .Values.keycloakDB.image.repository }}:{{ .Values.keycloakDB.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/keycloak.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
securityContext:
{{- toYaml .Values.keycloak.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: keycloak
securityContext:
{{- toYaml .Values.keycloak.securityContext | nindent 12 }}
image: "{{ .Values.keycloak.image.repository }}:{{ .Values.keycloak.image.tag | default .Chart.AppVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
securityContext:
{{- toYaml .Values.logsDBCurator.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: logs-db-curator
securityContext:
{{- toYaml .Values.logsDBCurator.securityContext | nindent 12 }}
image: "{{ .Values.logsDBCurator.image.repository }}:{{ .Values.logsDBCurator.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/logs2email.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.logs2email.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: logs2email
securityContext:
{{- toYaml .Values.logs2email.securityContext | nindent 12 }}
image: "{{ .Values.logs2email.image.repository }}:{{ .Values.logs2email.image.tag | default .Chart.AppVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.logs2microsoftteams.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: logs2microsoftteams
securityContext:
{{- toYaml .Values.logs2microsoftteams.securityContext | nindent 12 }}
image: "{{ .Values.logs2microsoftteams.image.repository }}:{{ .Values.logs2microsoftteams.image.tag | default .Chart.AppVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.logs2rocketchat.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: logs2rocketchat
securityContext:
{{- toYaml .Values.logs2rocketchat.securityContext | nindent 12 }}
image: "{{ .Values.logs2rocketchat.image.repository }}:{{ .Values.logs2rocketchat.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/logs2slack.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.logs2slack.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: logs2slack
securityContext:
{{- toYaml .Values.logs2slack.securityContext | nindent 12 }}
image: "{{ .Values.logs2slack.image.repository }}:{{ .Values.logs2slack.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/ssh.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
securityContext:
{{- toYaml .Values.ssh.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: ssh
image: "{{ .Values.ssh.image.repository }}:{{ .Values.ssh.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.ssh.image.pullPolicy }}
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
securityContext:
{{- toYaml .Values.storageCalculator.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: storage-calculator
securityContext:
{{- toYaml .Values.storageCalculator.securityContext | nindent 12 }}
image: "{{ .Values.storageCalculator.image.repository }}:{{ .Values.storageCalculator.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/lagoon-core/templates/ui.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
securityContext:
{{- toYaml .Values.ui.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: ui
securityContext:
{{- toYaml .Values.ui.securityContext | nindent 12 }}
image: "{{ .Values.ui.image.repository }}:{{ .Values.ui.image.tag | default .Chart.AppVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.webhookHandler.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: webhook-handler
securityContext:
{{- toYaml .Values.webhookHandler.securityContext | nindent 12 }}
image: "{{ .Values.webhookHandler.image.repository }}:{{ .Values.webhookHandler.image.tag | default .Chart.AppVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
securityContext:
{{- toYaml .Values.webhooks2tasks.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: webhooks2tasks
securityContext:
{{- toYaml .Values.webhooks2tasks.securityContext | nindent 12 }}
image: "{{ .Values.webhooks2tasks.image.repository }}:{{ .Values.webhooks2tasks.image.tag | default .Chart.AppVersion }}"
Expand Down

0 comments on commit 3c85bf3

Please sign in to comment.