|
| 1 | +# Generated by dekorate - replace with generate if dekorate supports v6.1.1 fabric8 client |
| 2 | +--- |
| 3 | +apiVersion: v1 |
| 4 | +kind: Secret |
| 5 | +metadata: |
| 6 | + name: pkcs12-pass |
| 7 | +data: |
| 8 | + password: c3VwZXJzZWNyZXQ= |
| 9 | +type: Opaque |
| 10 | +--- |
| 11 | +apiVersion: v1 |
| 12 | +kind: Service |
| 13 | +metadata: |
| 14 | + annotations: |
| 15 | + app.dekorate.io/vcs-url: <<unknown>> |
| 16 | + labels: |
| 17 | + app.kubernetes.io/name: spring-boot-sample |
| 18 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 19 | + name: spring-boot-sample |
| 20 | +spec: |
| 21 | + ports: |
| 22 | + - name: http |
| 23 | + port: 443 |
| 24 | + targetPort: 443 |
| 25 | + selector: |
| 26 | + app.kubernetes.io/name: spring-boot-sample |
| 27 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 28 | + type: ClusterIP |
| 29 | +--- |
| 30 | +apiVersion: cert-manager.io/v1 |
| 31 | +kind: Certificate |
| 32 | +metadata: |
| 33 | + annotations: |
| 34 | + app.dekorate.io/vcs-url: <<unknown>> |
| 35 | + labels: |
| 36 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 37 | + app.kubernetes.io/name: spring-boot-sample |
| 38 | + name: spring-boot-sample |
| 39 | +spec: |
| 40 | + dnsNames: |
| 41 | + - spring-boot-sample.test.svc |
| 42 | + - localhost |
| 43 | + duration: 7776000000000000ns |
| 44 | + encodeUsagesInRequest: false |
| 45 | + isCA: false |
| 46 | + issuerRef: |
| 47 | + name: spring-boot-sample |
| 48 | + keystores: |
| 49 | + pkcs12: |
| 50 | + create: true |
| 51 | + passwordSecretRef: |
| 52 | + key: password |
| 53 | + name: pkcs12-pass |
| 54 | + privateKey: |
| 55 | + algorithm: RSA |
| 56 | + encoding: PKCS8 |
| 57 | + size: 2048 |
| 58 | + renewBefore: 1296000000000000ns |
| 59 | + secretName: tls-secret |
| 60 | + subject: |
| 61 | + organizations: |
| 62 | + - Dekorate |
| 63 | + - Community |
| 64 | + usages: |
| 65 | + - server auth |
| 66 | + - client auth |
| 67 | +--- |
| 68 | +apiVersion: apps/v1 |
| 69 | +kind: Deployment |
| 70 | +metadata: |
| 71 | + annotations: |
| 72 | + app.dekorate.io/vcs-url: <<unknown>> |
| 73 | + labels: |
| 74 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 75 | + app.kubernetes.io/name: spring-boot-sample |
| 76 | + name: spring-boot-sample |
| 77 | +spec: |
| 78 | + replicas: 1 |
| 79 | + selector: |
| 80 | + matchLabels: |
| 81 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 82 | + app.kubernetes.io/name: spring-boot-sample |
| 83 | + template: |
| 84 | + metadata: |
| 85 | + annotations: |
| 86 | + app.dekorate.io/vcs-url: <<unknown>> |
| 87 | + labels: |
| 88 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 89 | + app.kubernetes.io/name: spring-boot-sample |
| 90 | + spec: |
| 91 | + containers: |
| 92 | + - env: |
| 93 | + - name: KUBERNETES_NAMESPACE |
| 94 | + valueFrom: |
| 95 | + fieldRef: |
| 96 | + fieldPath: metadata.namespace |
| 97 | + - name: SERVER_SSL_KEY_STORE |
| 98 | + value: /etc/certs/keystore.p12 |
| 99 | + - name: SERVER_SSL_KEY_STORE_PASSWORD |
| 100 | + valueFrom: |
| 101 | + secretKeyRef: |
| 102 | + key: password |
| 103 | + name: pkcs12-pass |
| 104 | + image: csviri/spring-boot-sample:0.2.1-SNAPSHOT |
| 105 | + imagePullPolicy: IfNotPresent |
| 106 | + name: spring-boot-sample |
| 107 | + ports: |
| 108 | + - containerPort: 443 |
| 109 | + name: http |
| 110 | + protocol: TCP |
| 111 | + volumeMounts: |
| 112 | + - mountPath: /etc/certs |
| 113 | + name: volume-certs |
| 114 | + readOnly: true |
| 115 | + volumes: |
| 116 | + - name: volume-certs |
| 117 | + secret: |
| 118 | + optional: false |
| 119 | + secretName: tls-secret |
| 120 | +--- |
| 121 | +apiVersion: cert-manager.io/v1 |
| 122 | +kind: Issuer |
| 123 | +metadata: |
| 124 | + annotations: |
| 125 | + app.dekorate.io/vcs-url: <<unknown>> |
| 126 | + labels: |
| 127 | + app.kubernetes.io/version: 0.2.1-SNAPSHOT |
| 128 | + app.kubernetes.io/name: spring-boot-sample |
| 129 | + name: spring-boot-sample |
| 130 | +spec: |
| 131 | + selfSigned: {} |
0 commit comments