-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Replace structured events with binary ones (#182)
closes #154
- Loading branch information
1 parent
df776f8
commit a68b074
Showing
45 changed files
with
844 additions
and
471 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,4 +1,4 @@ | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Broker | ||
metadata: | ||
name: authority-broker | ||
name: authority-api-broker |
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 |
---|---|---|
|
@@ -78,4 +78,4 @@ spec: | |
ref: | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Broker | ||
name: authority-broker | ||
name: authority-api-broker |
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,4 @@ | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Broker | ||
metadata: | ||
name: authority-awala-broker |
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,69 @@ | ||
apiVersion: serving.knative.dev/v1 | ||
kind: Service | ||
metadata: | ||
name: veraid-authority-awala | ||
spec: | ||
template: | ||
metadata: | ||
annotations: | ||
autoscaling.knative.dev/min-scale: "1" | ||
spec: | ||
containers: | ||
- name: queue | ||
image: dev.local/veraid-authority | ||
args: [awala] | ||
readinessProbe: | ||
httpGet: | ||
path: / | ||
initialDelaySeconds: 1 | ||
env: | ||
- name: AUTHORITY_VERSION | ||
value: "1.0.0dev1" | ||
- name: MONGODB_USERNAME | ||
valueFrom: | ||
configMapKeyRef: | ||
name: credentials | ||
key: mongodb_username | ||
- name: MONGODB_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: credentials | ||
key: mongodb_password | ||
- name: MONGODB_URI | ||
value: mongodb://$(MONGODB_USERNAME):$(MONGODB_PASSWORD)@mongodb | ||
|
||
# Mock AWS KMS (used by WebCrypto KMS) | ||
- name: KMS_ADAPTER | ||
value: AWS | ||
- name: AWS_ACCESS_KEY_ID | ||
valueFrom: | ||
configMapKeyRef: | ||
name: mock-aws-kms | ||
key: access_key_id | ||
- name: AWS_SECRET_ACCESS_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: credentials | ||
key: aws_kms_secret_access_key | ||
- name: AWS_KMS_ENDPOINT | ||
valueFrom: | ||
configMapKeyRef: | ||
name: mock-aws-kms | ||
key: endpoint | ||
- name: AWS_KMS_REGION | ||
value: eu-west-2 | ||
--- | ||
apiVersion: sources.knative.dev/v1 | ||
kind: SinkBinding | ||
metadata: | ||
name: veraid-authority-awala-sink-binding | ||
spec: | ||
subject: | ||
apiVersion: serving.knative.dev/v1 | ||
kind: Service | ||
name: veraid-authority-awala | ||
sink: | ||
ref: | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Broker | ||
name: authority-awala-broker |
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
Oops, something went wrong.