-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
d4d0b2f
commit 83413a9
Showing
22 changed files
with
218 additions
and
197 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
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,6 @@ | ||
apiVersion: v2 | ||
name: juniper | ||
description: Juniper Helm chart | ||
type: application | ||
# this is the chart version, increment with each change | ||
version: 0.0.1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
gcpProject: broad-juniper-dev | ||
gcpRegion: us-central1 | ||
adminUrl: juniper-cmi.dev | ||
# "portals" adds certificates for each portal - both for the juniper-cmi.dev subdomains and the custom domain | ||
portals: | ||
- name: demo | ||
# customDomain: juniper-demostudy.org <-- add once we purchase this domain | ||
- name: hearthive | ||
- name: ourhealth | ||
- name: cmi | ||
- name: rgp | ||
- name: atcp | ||
b2c: | ||
admin: | ||
clientId: 705c09dc-5cca-43d3-ae06-07de78bad29a | ||
tenantName: ddpdevb2c | ||
policyName: B2C_1A_ddp_admin_signup_signin_dev | ||
portals: | ||
atcp: | ||
changePasswordPolicyName: does-not-exist | ||
clientId: does-not-exist | ||
policyName: does-not-exist | ||
tenantName: does-not-exist | ||
cmi: | ||
changePasswordPolicyName: B2C_1A_ddp_participant_change_password_cmi-dev | ||
clientId: 0cdfdafd-75fb-4e36-b6a2-c00e79c86bb0 | ||
policyName: B2C_1A_ddp_participant_signup_signin_cmi-dev | ||
tenantName: junipercmidemo | ||
demo: | ||
changePasswordPolicyName: B2C_1A_ddp_participant_change_password_demo-dev | ||
clientId: 37d95cc4-7c71-465e-9fc2-66be9a54c202 | ||
policyName: B2C_1A_ddp_participant_signup_signin_demo-dev | ||
tenantName: juniperdemodev | ||
gvasc: | ||
changePasswordPolicyName: B2C_1A_ddp_participant_change_password_gvasc-dev | ||
clientId: 441d57d2-5f17-473b-8b19-a2ed523c09bf | ||
policyName: B2C_1A_ddp_participant_signup_signin_gvasc-dev | ||
tenantName: gvascdev | ||
hearthive: | ||
changePasswordPolicyName: B2C_1A_ddp_participant_change_password_hearthive-dev | ||
clientId: 8c778931-b7f6-4503-b30e-e975ab8ea615 | ||
policyName: B2C_1A_ddp_participant_signup_signin_hearthive-dev | ||
tenantName: hearthivedev | ||
ourhealth: | ||
changePasswordPolicyName: B2C_1A_DDP_participant_change_password_ourhealth-dev | ||
clientId: 206a23da-f303-4a9b-ad86-f51d1be51777 | ||
policyName: B2C_1A_DDP_participant_signup_signin_ourhealth-dev | ||
tenantName: ourhealthdev | ||
rgp: | ||
changePasswordPolicyName: B2C_1A_ddp_participant_change_password_rgp-dev | ||
clientId: 42445bb9-7ab2-48e9-b7a7-c5f84258e87b | ||
policyName: B2C_1A_ddp_participant_signup_signin_rgp-dev | ||
tenantName: juniperrgpdemo | ||
template: | ||
changePasswordPolicyName: does-not-exist | ||
clientId: does-not-exist | ||
policyName: does-not-exist | ||
tenantName: does-not-exist |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
File renamed without changes.
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,14 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: portal-b2c-configmap | ||
data: | ||
portalB2CConfig.yaml: | | ||
b2c: | ||
{{range $key, $value := .Values.b2c.portals}} | ||
{{$key}}: | ||
tenantName: {{$value.tenantName}} | ||
policyName: {{$value.policyName}} | ||
clientId: {{$value.clientId}} | ||
changePasswordPolicyName: {{$value.changePasswordPolicyName}} | ||
{{end}} |
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,35 @@ | ||
{{- define "customer-certs" -}} | ||
{{- range $idx, $val := $.Values.portals -}} | ||
{{- if $idx }} | ||
{{- print "," -}} | ||
{{- end -}} | ||
{{- $val.name -}}-admin-subdomain-cert{{if $val.customDomain}},{{- $val.name -}}-public-url-cert{{end}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: juniper-ingress | ||
annotations: | ||
kubernetes.io/ingress.global-static-ip-name: admin-ip | ||
networking.gke.io/managed-certificates: "admin-cert,{{ template "customer-certs" . }}" | ||
# If the class annotation is not specified it defaults to "gce". | ||
kubernetes.io/ingress.class: "gce" | ||
spec: | ||
rules: | ||
- host: "juniper-cmi.dev" | ||
http: | ||
paths: | ||
- path: /* | ||
pathType: ImplementationSpecific | ||
backend: | ||
service: | ||
name: admin-service | ||
port: | ||
number: 80 | ||
defaultBackend: | ||
service: | ||
name: participant-service | ||
port: | ||
number: 80 |
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,9 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: juniper-app-ksa | ||
annotations: | ||
iam.gke.io/gcp-service-account: juniper-app-gsa@{{.Values.gcpProject}}.iam.gserviceaccount.com | ||
|
||
|
||
|
Oops, something went wrong.