Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09b3f88

Browse files
committedFeb 25, 2025··
feat: Default TLS encryption on Trillian services
1 parent b4dfc25 commit 09b3f88

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2068
-1135
lines changed
 

‎README.md

-13
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,6 @@ make run
6363
```
6464
NOTE: You can also run this in one step by running: make install run
6565
66-
#### Port-forward service(s)
67-
After installation of your resource(s), you will need to allow the locally running operator to the internal service(s).
68-
This workaround is needed because the trillian server use insecure RPC protocol for communication with others.
69-
Currently, it is not possible to route insecure GRPC outside the cluster so the local deployment rely on port-forward.
70-
71-
##### Procedure
72-
Install your CR and wait until the operator log prints
73-
```
74-
Operator is running on localhost. You need to port-forward services.
75-
Execute `oc port-forward service/trillian-logserver 8091 8091` in your namespace to continue.
76-
```
77-
Then execute the command as is written `oc port-forward service/trillian-logserver 8091 8091`
78-
7966
## EKS deployment
8067
It is possible to run RHTAS on EKS. If image building and signing all occurs within the cluster Ingress and Certifcates are not required. However, this will make it difficult to verify the image signatures from outside the cluster. It is highly suggested to deploy with Ingress and Certificates in place.
8168

‎api/v1alpha1/ctlog_types.go

+10
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,13 @@ func (i *CTlog) GetConditions() []metav1.Condition {
101101
func (i *CTlog) SetCondition(newCondition metav1.Condition) {
102102
meta.SetStatusCondition(&i.Status.Conditions, newCondition)
103103
}
104+
105+
func (i *CTlog) GetTrustedCA() *LocalObjectReference {
106+
if v, ok := i.GetAnnotations()["rhtas.redhat.com/trusted-ca"]; ok {
107+
return &LocalObjectReference{
108+
Name: v,
109+
}
110+
}
111+
112+
return nil
113+
}

0 commit comments

Comments
 (0)
Please sign in to comment.