Try to fix vault
This commit is contained in:
parent
60da2d3104
commit
d06ac472b7
@ -1,21 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-test
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: dev-tools
|
||||
source:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/dev-tools.git
|
||||
targetRevision: HEAD
|
||||
path: charts/nginx-message-1
|
||||
helm:
|
||||
valueFiles:
|
||||
- ../../manifests/app-test/values.yaml
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: dev-tools
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
@ -1,4 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: nginx-message
|
||||
version: 0.1.0
|
||||
description: Simple NGINX server with custom HTML message
|
||||
@ -1,7 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-html
|
||||
data:
|
||||
index.html: |
|
||||
<html><body><h1>{{ .Values.message }}</h1></body></html>
|
||||
@ -1,26 +0,0 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount | default 1 }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Release.Name }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Release.Name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: html
|
||||
mountPath: /usr/share/nginx/html
|
||||
volumes:
|
||||
- name: html
|
||||
configMap:
|
||||
name: {{ .Release.Name }}-html
|
||||
@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
selector:
|
||||
app: {{ .Release.Name }}
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: 80
|
||||
type: {{ .Values.service.type }}
|
||||
@ -1,2 +0,0 @@
|
||||
enabled: true
|
||||
hostname: app-test.dvirlabs.com
|
||||
@ -1,8 +0,0 @@
|
||||
message: "Am Israel Chai 4"
|
||||
image:
|
||||
repository: nginx
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80 # ✅ Required
|
||||
@ -36,7 +36,9 @@ server:
|
||||
allowed_redirect_uris = "https://vault.dvirlabs.com/ui/vault/auth/oidc/oidc/callback"
|
||||
user_claim = "sub"
|
||||
groups_claim = "groups"
|
||||
bound_claims = { "groups": "vault-admins" }
|
||||
bound_claims {
|
||||
groups = "vault-admins"
|
||||
}
|
||||
policies = ["vault-admin"]
|
||||
}
|
||||
|
||||
@ -68,4 +70,4 @@ csi:
|
||||
enabled: false
|
||||
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user