-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #972 from neicnordic/feature/admin-api-charts
Feature/admin api charts
- Loading branch information
Showing
12 changed files
with
449 additions
and
4 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ global: | |
ingress: | ||
deploy: false | ||
hostName: | ||
api: pipeline-sda-svc-api | ||
auth: pipeline-sda-svc-auth | ||
download: pipeline-sda-svc-download | ||
s3Inbox: pipeline-sda-svc-inbox | ||
|
@@ -12,6 +13,13 @@ global: | |
enabled: false | ||
issuer: "" | ||
clusterIssuer: "cert-issuer" | ||
api: | ||
adminsFileSecret: | ||
adminUsers: | ||
- [email protected] | ||
- [email protected] | ||
jwtPubKeyName: jwt.pub | ||
jwtSecret: jwk | ||
archive: | ||
storageType: s3 | ||
s3AccessKey: PLACEHOLDER_VALUE | ||
|
@@ -102,6 +110,9 @@ global: | |
port: "8080" | ||
password: "pass" | ||
user: "user" | ||
api: | ||
replicaCount: 1 | ||
resources: null | ||
auth: | ||
replicaCount: 1 | ||
resources: null | ||
|
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,39 @@ | ||
{{- if .Values.global.tls.enabled }} | ||
{{- if or .Values.global.tls.clusterIssuer .Values.global.tls.issuer }} | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: {{ template "sda.fullname" . }}-api-certs | ||
spec: | ||
# Secret names are always required. | ||
secretName: {{ template "sda.fullname" . }}-api-certs | ||
|
||
duration: 2160h # 90d | ||
|
||
# The use of the common name field has been deprecated since 2000 and is | ||
# discouraged from being used. However, it is still needed for TLS based authentication for Postgres and other services. | ||
commonName: {{ template "sda.fullname" . }}-api | ||
isCA: false | ||
privateKey: | ||
algorithm: ECDSA | ||
size: 384 | ||
usages: | ||
- client auth | ||
- server auth | ||
# At least one of a DNS Name, URI, or IP address is required. | ||
dnsNames: | ||
- {{ template "sda.fullname" . }}-api | ||
- {{ template "sda.fullname" . }}-api.{{ .Release.Namespace }}.svc | ||
ipAddresses: | ||
- 127.0.0.1 | ||
# Issuer references are always required. | ||
issuerRef: | ||
name: {{ template "TLSissuer" . }} | ||
# We can reference ClusterIssuers by changing the kind here. | ||
# The default value is Issuer (i.e. a locally namespaced Issuer) | ||
kind: {{ ternary "Issuer" "ClusterIssuer" (empty .Values.global.tls.clusterIssuer )}} | ||
# This is optional since cert-manager will default to this value however | ||
# if you are using an external issuer, change this to that issuer group. | ||
group: cert-manager.io | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.