-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Helm charts for revocation service
- Loading branch information
1 parent
4429211
commit badb46d
Showing
19 changed files
with
748 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
charts/ | ||
charts/pgadmin4 | ||
**/charts/*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
dependencies: | ||
- name: keycloak | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 15.1.6 | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 2.13.3 | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 11.9.13 | ||
- name: pgadmin4 | ||
repository: file://charts/pgadmin4 | ||
version: 1.19.0 | ||
- name: keycloak | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 22.1.0 | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 2.13.3 | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 11.9.13 | ||
- name: pgadmin4 | ||
repository: file://charts/pgadmin4 | ||
version: 1.19.0 | ||
digest: sha256:fb94864221b4fed31894b48ac56b72a2324da0dc1cb1d6888cc52c3490685df7 | ||
generated: "2023-12-15T10:30:41.880265+01:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: postgres-seed-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard |
27 changes: 27 additions & 0 deletions
27
charts/managed-identity-wallet/templates/vcrs-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
############################################################### | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
############################################################### | ||
|
||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "verifiable-credential-revocation-service.fullname" . }} | ||
data: | ||
{{- range $key, $val := .Values.vcrs.env }} | ||
{{ $key }}: {{ $val | quote }} | ||
{{- end}} |
83 changes: 83 additions & 0 deletions
83
charts/managed-identity-wallet/templates/vcrs-deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
############################################################### | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
############################################################### | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: {{ include "verifiable-credential-revocation-service.fullname" . }} | ||
labels: | ||
{{- include "verifiable-credential-revocation-service.labels" . | nindent 4 }} | ||
spec: | ||
strategy: | ||
type: RollingUpdate | ||
rollingUpdate: | ||
maxUnavailable: 0 | ||
maxSurge: 1 | ||
selector: | ||
matchLabels: | ||
{{- include "verifiable-credential-revocation-service.selectorLabels" . | nindent 6 }} | ||
replicas: {{ .Values.vcrs.replicaCount }} | ||
revisionHistoryLimit: 2 | ||
template: | ||
metadata: | ||
labels: | ||
{{- include "verifiable-credential-revocation-service.selectorLabels" . | nindent 8 }} | ||
spec: | ||
containers: | ||
- name: {{ include "verifiable-credential-revocation-service.fullname" . }} | ||
image: {{ .Values.vcrs.image.repository }}:{{ default .Chart.AppVersion .Values.vcrs.image.tag }} | ||
imagePullPolicy: {{ .Values.vcrs.image.pullPolicy }} | ||
resources: | ||
{{- toYaml .Values.vcrs.resources | nindent 12 }} | ||
envFrom: | ||
- secretRef: | ||
name: {{ .Values.vcrs.secretName }} | ||
- configMapRef: | ||
name: {{ .Values.vcrs.configName }} | ||
{{- with .Values.vcrs.livenessProbe }} | ||
{{- if .enabled }} | ||
ports: | ||
- name: http | ||
containerPort: 8081 | ||
protocol: TCP | ||
livenessProbe: | ||
httpGet: | ||
path: /actuator/health/liveness | ||
port: 8081 | ||
scheme: HTTP | ||
failureThreshold: {{ .failureThreshold }} | ||
initialDelaySeconds: {{ .initialDelaySeconds }} | ||
periodSeconds: {{ .periodSeconds }} | ||
timeoutSeconds: {{ .timeoutSeconds }} | ||
{{- end }} | ||
{{- end }} | ||
{{- with .Values.vcrs.readinessProbe }} | ||
{{- if .enabled }} | ||
readinessProbe: | ||
httpGet: | ||
path: /actuator/health/readiness | ||
port: 8081 | ||
scheme: HTTP | ||
failureThreshold: {{ .failureThreshold }} | ||
initialDelaySeconds: {{ .initialDelaySeconds }} | ||
periodSeconds: {{ .periodSeconds }} | ||
successThreshold: {{ .successThreshold }} | ||
timeoutSeconds: {{ .timeoutSeconds }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.