Skip to content

Commit

Permalink
Let operator create tls for now
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryDodzin committed Apr 15, 2024
1 parent db26906 commit 41318bd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 40 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/ca.conf

This file was deleted.

10 changes: 1 addition & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,5 @@ jobs:
cpus: 'max'
memory: '4gb'
- uses: azure/[email protected]
- run: |
openssl genrsa -out ca.key 4096
openssl genrsa -out tls.key 4096
openssl req -x509 -new -sha512 -nodes -key ./ca.key -days 7307 -out ./ca.crt -config ./.github/workflows/ca.conf
openssl req -new -key ./tls.key -out ./tls.csr -config ./.github/workflows/tls.conf
openssl x509 -req -in ./tls.csr -CA ./ca.crt -CAkey ./ca.key \
-CAcreateserial -out ./tls.crt -days 10000 \
-extensions v3_req -extfile ./.github/workflows/tls.conf
- run: helm install mirrord-operator --set license.file.data."license\\.pem"=$MIRRORD_OPERATOR_LICENSE --set operator.disableTelemetries=true --set tls.data."tls\\.key"="$(cat tls.key)" --set tls.data."tls\\.crt"="$(cat tls.crt)" ./mirrord-operator --wait
- run: helm install mirrord-operator --set license.file.data."license\\.pem"=$MIRRORD_OPERATOR_LICENSE --set operator.disableTelemetries=true ./mirrord-operator --wait
- run: kubectl get mirrordoperators.operator.metalbear.co operator -o yaml
19 changes: 0 additions & 19 deletions .github/workflows/tls.conf

This file was deleted.

0 comments on commit 41318bd

Please sign in to comment.