generated from openMF/payment-hub-ee
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Connector chart * Bug fix * Indentation fix * addressing review comments * Bug fix * fix * disable connector in phee-engine * Adding variables * Variable name change
- Loading branch information
Showing
19 changed files
with
248 additions
and
221 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
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
helm/ph-ee-engine/connector-bulk-closedloop/templates/ingress.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
description: ph-ee-connector | ||
name: connector | ||
version: 1.0.0 | ||
appVersion: "1.0.0" |
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 @@ | ||
{{- if .Values.managedServiceAccount }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
# "namespace" omitted since ClusterRoles are not namespaced | ||
name: ph-ee-connector-c-role | ||
rules: | ||
- apiGroups: [""] | ||
resources: ["secrets"] | ||
verbs: ["get", "watch", "list"] | ||
{{- end -}} |
15 changes: 15 additions & 0 deletions
15
helm/ph-ee-engine/connector/templates/clusterrolebinding.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,15 @@ | ||
{{- if .Values.managedServiceAccount }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: ph-ee-connector-c-role-binding | ||
subjects: | ||
- kind: ServiceAccount | ||
name: ph-ee-connector # name of your service account | ||
namespace: paymenthub # this is the namespace your service account is in | ||
roleRef: # referring to your ClusterRole | ||
kind: ClusterRole | ||
name: ph-ee-connector-c-role | ||
apiGroup: rbac.authorization.k8s.io | ||
|
||
{{- 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
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,49 @@ | ||
{{- if .Values.ingress.enabled -}} | ||
{{- $pathtype := .Values.ingress.pathtype -}} | ||
{{- $ingressPath := .Values.ingress.path -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: ph-ee-connector | ||
labels: | ||
app: {{ .Chart.Name }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- with .Values.ingress.annotations }} | ||
annotations: | ||
{{ toYaml . | indent 4 }} | ||
{{- end }} | ||
spec: | ||
{{- if .Values.ingress.className }} | ||
ingressClassName: {{ .Values.ingress.className | quote }} | ||
{{- end }} | ||
{{- if .Values.ingress.tls }} | ||
tls: | ||
{{- if .ingressPath }} | ||
{{- range .Values.ingress.tls }} | ||
- hosts: | ||
{{- range .hosts }} | ||
- {{ . }} | ||
{{- end }} | ||
secretName: {{ .secretName }} | ||
{{- end }} | ||
{{- else }} | ||
{{ toYaml .Values.ingress.tls | indent 4 }} | ||
{{- end }} | ||
{{- end}} | ||
rules: | ||
{{- range .Values.ingress.hosts }} | ||
- host: {{ .host }} | ||
http: | ||
paths: | ||
{{- range .paths }} | ||
- path: {{ .path }} | ||
pathType: {{ $pathtype }} | ||
backend: | ||
service: | ||
name: {{ .backend.service.name}} | ||
port: | ||
number: {{ .backend.service.port.number}} | ||
{{- end }} | ||
{{- end }} | ||
{{- 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,15 @@ | ||
{{- if .Values.managedServiceAccount }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: ph-ee-operator-role-binding | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: ph-ee-operator-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: payment-hub | ||
namespace: {{ .Release.Namespace }} | ||
{{- end -}} |
4 changes: 3 additions & 1 deletion
4
...tor-bulk-closedloop/templates/secret.yaml → ...ee-engine/connector/templates/secret.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{{- if .Values.enabled -}} | ||
apiVersion: {{ .Values.secret.apiversion }} | ||
kind: Secret | ||
metadata: | ||
name: bulk-closedloop-secret | ||
type: Opaque | ||
data: | ||
aws-access-key: {{ .Values.aws.access_key | b64enc }} | ||
aws-secret-key: {{ .Values.aws.secret_key | b64enc }} | ||
aws-secret-key: {{ .Values.aws.secret_key | b64enc }} | ||
{{- end }} |
Oops, something went wrong.