-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update fabric8 client to v6 RC1 (#26)
- Loading branch information
Showing
5 changed files
with
151 additions
and
21 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 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,131 @@ | ||
# Generated by dekorate - replace with generate if dekorate supports v6.1.1 fabric8 client | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: pkcs12-pass | ||
data: | ||
password: c3VwZXJzZWNyZXQ= | ||
type: Opaque | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
app.dekorate.io/vcs-url: <<unknown>> | ||
labels: | ||
app.kubernetes.io/name: spring-boot-sample | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
name: spring-boot-sample | ||
spec: | ||
ports: | ||
- name: http | ||
port: 443 | ||
targetPort: 443 | ||
selector: | ||
app.kubernetes.io/name: spring-boot-sample | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
type: ClusterIP | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
annotations: | ||
app.dekorate.io/vcs-url: <<unknown>> | ||
labels: | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
app.kubernetes.io/name: spring-boot-sample | ||
name: spring-boot-sample | ||
spec: | ||
dnsNames: | ||
- spring-boot-sample.test.svc | ||
- localhost | ||
duration: 7776000000000000ns | ||
encodeUsagesInRequest: false | ||
isCA: false | ||
issuerRef: | ||
name: spring-boot-sample | ||
keystores: | ||
pkcs12: | ||
create: true | ||
passwordSecretRef: | ||
key: password | ||
name: pkcs12-pass | ||
privateKey: | ||
algorithm: RSA | ||
encoding: PKCS8 | ||
size: 2048 | ||
renewBefore: 1296000000000000ns | ||
secretName: tls-secret | ||
subject: | ||
organizations: | ||
- Dekorate | ||
- Community | ||
usages: | ||
- server auth | ||
- client auth | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
annotations: | ||
app.dekorate.io/vcs-url: <<unknown>> | ||
labels: | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
app.kubernetes.io/name: spring-boot-sample | ||
name: spring-boot-sample | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
app.kubernetes.io/name: spring-boot-sample | ||
template: | ||
metadata: | ||
annotations: | ||
app.dekorate.io/vcs-url: <<unknown>> | ||
labels: | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
app.kubernetes.io/name: spring-boot-sample | ||
spec: | ||
containers: | ||
- env: | ||
- name: KUBERNETES_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: SERVER_SSL_KEY_STORE | ||
value: /etc/certs/keystore.p12 | ||
- name: SERVER_SSL_KEY_STORE_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
key: password | ||
name: pkcs12-pass | ||
image: spring-boot-sample:latest | ||
imagePullPolicy: Never | ||
name: spring-boot-sample | ||
ports: | ||
- containerPort: 443 | ||
name: http | ||
protocol: TCP | ||
volumeMounts: | ||
- mountPath: /etc/certs | ||
name: volume-certs | ||
readOnly: true | ||
volumes: | ||
- name: volume-certs | ||
secret: | ||
optional: false | ||
secretName: tls-secret | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
annotations: | ||
app.dekorate.io/vcs-url: <<unknown>> | ||
labels: | ||
app.kubernetes.io/version: 0.2.1-SNAPSHOT | ||
app.kubernetes.io/name: spring-boot-sample | ||
name: spring-boot-sample | ||
spec: | ||
selfSigned: {} |
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