Skip to content

Commit 88ccbca

Browse files
committed
Revert changes to hydra chart
1 parent 03c58d0 commit 88ccbca

File tree

6 files changed

+0
-21
lines changed

6 files changed

+0
-21
lines changed

helm/charts/hydra/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ A Helm chart for deploying ORY Hydra in Kubernetes
5454
| cronjob.janitor.serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
5555
| cronjob.janitor.serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
5656
| cronjob.janitor.tolerations | list | `[]` | Configure node tolerations |
57-
| separateAdminAndPublicDeploys | bool | `false` | When `true` separate deploys will be created for admin and public components. Use `deployment.admin` and `deployment.public` to configure component specific options. |
58-
| deployment.admin | object | `{}` | When separateAdminAndPublicDeploys is enabled, this field acts as overrides only for the `hydra-admin` deployment object. |
59-
| deployment.public | object | `{}` | When separateAdminAndPublicDeploys is enabled, this field acts as overrides only for the `hydra-public` deployment object. |
6057
| deployment.annotations | object | `{}` | Set custom deployment level annotations |
6158
| deployment.automigration | object | `{"extraEnv":[]}` | Parameters for the automigration initContainer |
6259
| deployment.automigration.extraEnv | list | `[]` | Array of extra envs to be passed to the initContainer. Kubernetes format is expected. Value is processed with Helm `tpl` - name: FOO value: BAR |

helm/charts/hydra/templates/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.separateAdminAndPublicDeploys | not -}}
21
{{- include "hydra.automigration.typeVerification" . -}}
32
{{- $migrationExtraEnv := ternary .Values.deployment.automigration.extraEnv .Values.deployment.extraEnv (not (empty .Values.deployment.automigration.extraEnv )) -}}
43

@@ -235,4 +234,3 @@ spec:
235234
dnsConfig:
236235
{{- toYaml . | nindent 8 }}
237236
{{- end }}
238-
{{- end -}}

helm/charts/hydra/templates/hpa.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.separateAdminAndPublicDeploys | not }}
21
{{- if .Values.deployment.autoscaling.enabled }}
32
apiVersion: autoscaling/v2
43
kind: HorizontalPodAutoscaler
@@ -35,4 +34,3 @@ spec:
3534
{{- toYaml . | nindent 8 }}
3635
{{- end }}
3736
{{- end }}
38-
{{- end }}

helm/charts/hydra/templates/service-admin.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ spec:
3232
selector:
3333
app.kubernetes.io/name: {{ include "hydra.name" . }}
3434
app.kubernetes.io/instance: {{ .Release.Name }}
35-
{{- if .Values.separateAdminAndPublicDeploys }}
36-
app.kubernetes.io/component: admin
37-
{{- end }}
3835
{{- if .Values.serviceMonitor.enabled }}
3936
---
4037
apiVersion: monitoring.coreos.com/v1

helm/charts/hydra/templates/service-public.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ metadata:
1111
{{- with .Values.service.public.labels }}
1212
{{- toYaml . | nindent 4 }}
1313
{{- end }}
14-
app.kubernetes.io/component: public
1514
annotations:
1615
{{- with .Values.service.public.annotations }}
1716
{{- toYaml . | nindent 4 }}
@@ -31,7 +30,4 @@ spec:
3130
selector:
3231
app.kubernetes.io/name: {{ include "hydra.name" . }}
3332
app.kubernetes.io/instance: {{ .Release.Name }}
34-
{{- if .Values.separateAdminAndPublicDeploys }}
35-
app.kubernetes.io/component: public
36-
{{- end }}
3733
{{- end }}

helm/charts/hydra/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,8 @@ hydra:
180180
# -- Enable dev mode, not secure in production environments
181181
dev: false
182182

183-
# When `true` separate deploys will be created for admin and public components. Use `deployment.admin` and `deployment.public` to configure component specific options.
184-
separateAdminAndPublicDeploys: false
185-
186183
## -- Deployment specific config
187184
deployment:
188-
# When separateAdminAndPublicDeploys is enabled, the admin/public fields act as overrides for the individual deploys.
189-
admin: {}
190-
public: {}
191-
192185
strategy:
193186
type: RollingUpdate
194187
rollingUpdate:

0 commit comments

Comments
 (0)