Convert helm-charts-observability to regular directory
This commit is contained in:
@@ -0,0 +1,155 @@
|
||||
---
|
||||
# Source: opensearch-dashboards/templates/configmap.yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: brilliant-opensearch-dashboard-opensearch-dashboards-config
|
||||
labels:
|
||||
helm.sh/chart: opensearch-dashboards-3.7.0
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
app.kubernetes.io/version: "3.7.0"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
data:
|
||||
opensearch_dashboards.yml: |
|
||||
server:
|
||||
name: dashboards
|
||||
host: "0.0.0.0"
|
||||
|
||||
opensearch:
|
||||
username: kibanaserver
|
||||
password: ${KIBANASERVER_PASSWORD}
|
||||
ssl:
|
||||
verificationMode: full
|
||||
certificateAuthorities: /usr/share/opensearch-dashboards/certs/root-ca.pem
|
||||
---
|
||||
# Source: opensearch-dashboards/templates/service.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: brilliant-opensearch-dashboard-opensearch-dashboards
|
||||
labels:
|
||||
helm.sh/chart: opensearch-dashboards-3.7.0
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
app.kubernetes.io/version: "3.7.0"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 5601
|
||||
protocol: TCP
|
||||
name: http
|
||||
targetPort: 5601
|
||||
- name: metrics
|
||||
protocol: TCP
|
||||
port: 9601
|
||||
selector:
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
---
|
||||
# Source: opensearch-dashboards/templates/deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: brilliant-opensearch-dashboard-opensearch-dashboards
|
||||
labels:
|
||||
helm.sh/chart: opensearch-dashboards-3.7.0
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
app.kubernetes.io/version: "3.7.0"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: opensearch-dashboards
|
||||
app.kubernetes.io/instance: brilliant-opensearch-dashboard
|
||||
annotations:
|
||||
configchecksum: 94f1f2434bc321e09c11f8b57337937eb527a3de2f9e79796a0c518e55b3bee
|
||||
spec:
|
||||
securityContext:
|
||||
{}
|
||||
serviceAccountName: default
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: brilliant-opensearch-dashboard-opensearch-dashboards-config
|
||||
# Currently some extra blocks accept strings
|
||||
# to continue with backwards compatibility this is being kept
|
||||
# whilst also allowing for yaml to be specified too.
|
||||
- name: root-cert
|
||||
secret:
|
||||
secretName: opensearch-dashboard-ca
|
||||
containers:
|
||||
- name: dashboards
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
image: "opensearchproject/opensearch-dashboards:3.7.0"
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
readinessProbe:
|
||||
failureThreshold: 10
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
successThreshold: 1
|
||||
tcpSocket:
|
||||
port: 5601
|
||||
timeoutSeconds: 5
|
||||
livenessProbe:
|
||||
failureThreshold: 10
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
successThreshold: 1
|
||||
tcpSocket:
|
||||
port: 5601
|
||||
timeoutSeconds: 5
|
||||
startupProbe:
|
||||
failureThreshold: 20
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
tcpSocket:
|
||||
port: 5601
|
||||
timeoutSeconds: 5
|
||||
env:
|
||||
- name: OPENSEARCH_HOSTS
|
||||
value: "https://brilliant-opensearch-cluster-master:9200"
|
||||
- name: SERVER_HOST
|
||||
value: "0.0.0.0"
|
||||
- name: KIBANASERVER_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: KIBANASERVER_PASSWORD
|
||||
name: opensearch-kibanaserver-password
|
||||
ports:
|
||||
- containerPort: 5601
|
||||
name: http
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 6G
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 2G
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /usr/share/opensearch-dashboards/config/opensearch_dashboards.yml
|
||||
subPath: opensearch_dashboards.yml
|
||||
# Currently some extra blocks accept strings
|
||||
# to continue with backwards compatibility this is being kept
|
||||
# whilst also allowing for yaml to be specified too.
|
||||
- mountPath: /usr/share/opensearch-dashboards/certs
|
||||
name: root-cert
|
||||
readOnly: true
|
||||
Reference in New Issue
Block a user