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
--- | |
version: '3.7' | |
services: | |
redpanda: | |
command: | |
- redpanda | |
- start | |
- --smp | |
- '1' | |
- --reserve-memory |
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
const axios = require ('axios') | |
const net = require("net") | |
const client = new Client({ | |
user: "admin", | |
host: "localhost", | |
database: "qdb", | |
password: "quest", | |
port: "8812" | |
}) |
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
authenticate: | |
idp: | |
provider: "google" | |
clientID: "<CLIENT_ID>.apps.googleusercontent.com" | |
clientSecret: "<CLIENT_SECRET>" | |
config: | |
sharedSecret: random-secret | |
cookieSecret: super-secret | |
rootDomain: mydomain.example.com |
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
apiVersion: cert-manager.io/v1alpha2 | |
kind: Certificate | |
metadata: | |
name: wildcard-cert | |
spec: | |
secretName: wildcard-cert | |
dnsNames: | |
- '*.mydomain.example.com' | |
issuerRef: | |
name: letsencrypt-prod |
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
apiVersion: cert-manager.io/v1alpha2 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-prod | |
spec: | |
acme: | |
# You must replace this email address with your own. | |
# Let's Encrypt will use this to contact you about expiring | |
# certificates, and issues related to your account. | |
email: user@example.com |
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
additionalArguments: | |
- "--accesslog=true" | |
- "--accesslog.format=json" | |
- "--log.level=INFO" | |
- "--metrics.prometheus=true" | |
- "--metrics.prometheus.entryPoint=metrics" | |
- "--entryPoints.metrics.address=:8082" | |
deployment: | |
replicas: 3 |
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: eks-admin | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: eks-admin |
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
--- | |
apiVersion: cert-manager.io/v1alpha2 | |
kind: Certificate | |
metadata: | |
name: whoami-cert | |
namespace: whoami | |
spec: | |
commonName: whoami.example.com | |
secretName: whoami-cert | |
dnsNames: |
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
apiVersion: cert-manager.io/v1alpha2 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-staging | |
spec: | |
acme: | |
# You must replace this email address with your own. | |
# Let's Encrypt will use this to contact you about expiring | |
# certificates, and issues related to your account. | |
email: user@example.com |
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
--- | |
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
namespace: default | |
name: whoami | |
labels: | |
app: whoami | |
spec: |
NewerOlder