-
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.
Signed-off-by: yzamir <[email protected]>
- Loading branch information
yzamir
committed
Oct 16, 2023
1 parent
b585041
commit 1ce5298
Showing
3 changed files
with
137 additions
and
5 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,72 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: konveyor-forklift | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: getpublickey-serving-cert | ||
namespace: konveyor-forklift | ||
data: | ||
tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZaVENDQTAyZ0F3SUJBZ0lVQnhiOG9UWjlrMm82WmlrQmtuZXYyYlhKTzg0d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1FqRUxNQWtHQTFVRUJoTUNXRmd4RlRBVEJnTlZCQWNNREVSbFptRjFiSFFnUTJsMGVURWNNQm9HQTFVRQpDZ3dUUkdWbVlYVnNkQ0JEYjIxd1lXNTVJRXgwWkRBZUZ3MHlNekV3TVRZd09ESXdNVEZhRncweU5ERXdNVFV3Ck9ESXdNVEZhTUVJeEN6QUpCZ05WQkFZVEFsaFlNUlV3RXdZRFZRUUhEQXhFWldaaGRXeDBJRU5wZEhreEhEQWEKQmdOVkJBb01FMFJsWm1GMWJIUWdRMjl0Y0dGdWVTQk1kR1F3Z2dJaU1BMEdDU3FHU0liM0RRRUJBUVVBQTR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NUnphWVdmV3E3akdvZWp6MGpHWmE0eHlJLzBuS1BXQnl5L2Z6b05KQW9rcWVqVjAKV2pINFFqZEl3UjJEd2tKQ0RNYUllamJXRFJtRHdVaz0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo= | ||
type: Opaque | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: getpublickey | ||
namespace: konveyor-forklift | ||
labels: | ||
app: getpublickey | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: getpublickey | ||
template: | ||
metadata: | ||
labels: | ||
app: getpublickey | ||
spec: | ||
volumes: | ||
- name: getpublickey-serving-cert | ||
secret: | ||
secretName: getpublickey-serving-cert | ||
containers: | ||
- name: getpublickey | ||
image: quay.io/kubev2v/getpublickey:latest | ||
volumeMounts: | ||
- name: getpublickey-serving-cert | ||
mountPath: /var/run/secrets/getpublickey-serving-cert | ||
ports: | ||
- containerPort: 8443 | ||
protocol: TCP | ||
imagePullPolicy: Always | ||
command: | ||
- python | ||
- getpublickey.py | ||
args: | ||
- "--tls-key" | ||
- "/var/run/secrets/getpublickey-serving-cert/tls.key" | ||
- "--tls-crt" | ||
- "/var/run/secrets/getpublickey-serving-cert/tls.crt" | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: getpublickey | ||
namespace: konveyor-forklift | ||
labels: | ||
app: getpublickey | ||
spec: | ||
ports: | ||
- name: 8443-tcp | ||
protocol: TCP | ||
port: 8443 | ||
targetPort: 8443 | ||
selector: | ||
app: getpublickey | ||
type: ClusterIP | ||
sessionAffinity: None |