Skip to content

Instantly share code, notes, and snippets.

View susimsek's full-sized avatar
🎯
Focusing

Şuayb Şimşek susimsek

🎯
Focusing
View GitHub Profile
@susimsek
susimsek / install-prereqs.sh
Created October 31, 2021 14:30
Kubernetes Install Script
#!/bin/bash
# Variables ########################################
KUBERNETES_DASHBOARD_ENABLED=false
CERT_MANAGER_ENABLED=true
JENKINS_ENABLED=false
SONARQUBE_ENABLED=false
ISTIO_ENABLED=false
RANCHER_ENABLED=false
@susimsek
susimsek / fabric-ca-server-config.yaml
Created November 21, 2021 10:23
Fabric CA Server Orderer Configuration File
#############################################################################
# This is a configuration file for the fabric-ca-server command.
#
# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES
# ------------------------------------------------
# Each configuration element can be overridden via command line
# arguments or environment variables. The precedence for determining
# the value of each element is as follows:
# 1) command line argument
# Examples:
@susimsek
susimsek / fabric-ca-server-config.yaml
Last active November 21, 2021 10:53
Fabric CA Server Org1 Configuration File
#############################################################################
# This is a configuration file for the fabric-ca-server command.
#
# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES
# ------------------------------------------------
# Each configuration element can be overridden via command line
# arguments or environment variables. The precedence for determining
# the value of each element is as follows:
# 1) command line argument
# Examples:
@susimsek
susimsek / fabric-ca-server-config.yaml
Created November 21, 2021 11:04
Fabric CA Server Org2 Configuration File
#############################################################################
# This is a configuration file for the fabric-ca-server command.
#
# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES
# ------------------------------------------------
# Each configuration element can be overridden via command line
# arguments or environment variables. The precedence for determining
# the value of each element is as follows:
# 1) command line argument
# Examples:
@susimsek
susimsek / fabric-ca-server-config.yaml
Created November 21, 2021 11:12
Fabric CA Server Org3 Configuration File
#############################################################################
# This is a configuration file for the fabric-ca-server command.
#
# COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES
# ------------------------------------------------
# Each configuration element can be overridden via command line
# arguments or environment variables. The precedence for determining
# the value of each element is as follows:
# 1) command line argument
# Examples:
@susimsek
susimsek / ca-orderer-svc.yaml
Created November 21, 2021 11:29
Fabric CA Server CA Orderer Kubernetes Deployment
apiVersion: v1
kind: Service
metadata:
name: ca-orderer
labels:
app: ca-orderer
spec:
type: ClusterIP
selector:
app: ca-orderer
@susimsek
susimsek / ca-org1-svc.yaml
Created November 21, 2021 11:46
Fabric CA Server CA Org1 Kubernetes Deployment
apiVersion: v1
kind: Service
metadata:
name: ca-org1
labels:
app: ca-org1
spec:
type: ClusterIP
selector:
app: ca-org1 # deploymenti bu selector üzerinden bulur.deploymentdeki matchLabels ile aynı olmalı.
@susimsek
susimsek / ca-org2-svc.yaml
Created November 21, 2021 11:55
Fabric CA Server CA Org2 Kubernetes Deployment
apiVersion: v1
kind: Service
metadata:
name: ca-org2
labels:
app: ca-org2
spec:
type: ClusterIP
selector:
app: ca-org2
@susimsek
susimsek / ca-org3-svc.yaml
Created November 21, 2021 11:59
Fabric CA Server CA Org3 Kubernetes Deployment
apiVersion: v1
kind: Service
metadata:
name: ca-org3
labels:
app: ca-org3
spec:
type: ClusterIP
selector:
app: ca-org3 # deploymenti bu selector üzerinden bulur.deploymentdeki matchLabels ile aynı olmalı.
@susimsek
susimsek / fabricfiles-pv.yaml
Created November 21, 2021 12:26
Fabricfiles Kubernetes Pv,Pvc
apiVersion: v1
kind: PersistentVolume
metadata:
name: fabricfiles-pv
labels:
name: fabricfiles
spec:
storageClassName: default
capacity:
storage: 5Gi