adding SPDX copyright headers (#844)
This commit is contained in:
parent
c5c28cb385
commit
742ddb1c52
62 changed files with 266 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
orbs:
|
orbs:
|
||||||
slack: circleci/slack@3.4.2
|
slack: circleci/slack@3.4.2
|
||||||
|
|
3
.github/ISSUE_TEMPLATE/config.yml
vendored
3
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Ask a question
|
- name: Ask a question
|
||||||
url: https://discuss.hashicorp.com/c/vault
|
url: https://discuss.hashicorp.com/c/vault
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: vault
|
name: vault
|
||||||
version: 0.23.0
|
version: 0.23.0
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a default fully qualified app name.
|
Create a default fully qualified app name.
|
||||||
We truncate at 63 chars because some Kubernetes name fields are limited to
|
We truncate at 63 chars because some Kubernetes name fields are limited to
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.csiEnabled" . -}}
|
{{- template "vault.csiEnabled" . -}}
|
||||||
{{- if .csiEnabled -}}
|
{{- if .csiEnabled -}}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.csiEnabled" . -}}
|
{{- template "vault.csiEnabled" . -}}
|
||||||
{{- if .csiEnabled -}}
|
{{- if .csiEnabled -}}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.csiEnabled" . -}}
|
{{- template "vault.csiEnabled" . -}}
|
||||||
{{- if .csiEnabled -}}
|
{{- if .csiEnabled -}}
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.csiEnabled" . -}}
|
{{- template "vault.csiEnabled" . -}}
|
||||||
{{- if .csiEnabled -}}
|
{{- if .csiEnabled -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
# Deployment for the injector
|
# Deployment for the injector
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- if .Values.injector.podDisruptionBudget }}
|
{{- if .Values.injector.podDisruptionBudget }}
|
||||||
apiVersion: {{ ge .Capabilities.KubeVersion.Minor "21" | ternary "policy/v1" "policy/v1beta1" }}
|
apiVersion: {{ ge .Capabilities.KubeVersion.Minor "21" | ternary "policy/v1" "policy/v1beta1" }}
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if .Capabilities.APIVersions.Has "admissionregistration.k8s.io/v1" }}
|
{{- if .Capabilities.APIVersions.Has "admissionregistration.k8s.io/v1" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if eq (.Values.global.openshift | toString) "true" }}
|
{{- if eq (.Values.global.openshift | toString) "true" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
{{- if eq (.Values.global.psp.enable | toString) "true" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
{{- if and (eq (.Values.injector.leaderElector.enabled | toString) "true") (gt (.Values.injector.replicas | int) 1) }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- template "vault.injectorEnabled" . -}}
|
{{- template "vault.injectorEnabled" . -}}
|
||||||
{{- if .injectorEnabled -}}
|
{{- if .injectorEnabled -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ if and (.Values.serverTelemetry.prometheusRules.rules)
|
{{ if and (.Values.serverTelemetry.prometheusRules.rules)
|
||||||
(or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.prometheusRules.enabled) )
|
(or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.prometheusRules.enabled) )
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{ if or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.serviceMonitor.enabled) }}
|
{{ if or (.Values.global.serverTelemetry.prometheusOperator) (.Values.serverTelemetry.serviceMonitor.enabled) }}
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.serverAuthDelegator" . }}
|
{{ template "vault.serverAuthDelegator" . }}
|
||||||
{{- if .serverAuthDelegator -}}
|
{{- if .serverAuthDelegator -}}
|
||||||
{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" -}}
|
{{- if .Capabilities.APIVersions.Has "rbac.authorization.k8s.io/v1" -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
{{- if eq .mode "ha" }}
|
{{- if eq .mode "ha" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
{{- if eq .mode "ha" }}
|
{{- if eq .mode "ha" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" -}}
|
{{- if ne .mode "external" -}}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- template "vault.serverServiceEnabled" . -}}
|
{{- template "vault.serverServiceEnabled" . -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- template "vault.serverServiceEnabled" . -}}
|
{{- template "vault.serverServiceEnabled" . -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- template "vault.serverServiceEnabled" . -}}
|
{{- template "vault.serverServiceEnabled" . -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- if not .Values.global.openshift }}
|
{{- if not .Values.global.openshift }}
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- if eq (.Values.server.networkPolicy.enabled | toString) "true" }}
|
{{- if eq (.Values.server.networkPolicy.enabled | toString) "true" }}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
{{- if and (ne .mode "") (eq (.Values.global.psp.enable | toString) "true") }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{- if .Values.global.openshift }}
|
{{- if .Values.global.openshift }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- if .Values.server.route.enabled -}}
|
{{- if .Values.server.route.enabled -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- template "vault.serverServiceEnabled" . -}}
|
{{- template "vault.serverServiceEnabled" . -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.serverServiceAccountEnabled" . }}
|
{{ template "vault.serverServiceAccountEnabled" . }}
|
||||||
{{- if .serverServiceAccountEnabled -}}
|
{{- if .serverServiceAccountEnabled -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- if ne .mode "" }}
|
{{- if ne .mode "" }}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- if .serverEnabled -}}
|
{{- if .serverEnabled -}}
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
{{/*
|
||||||
|
Copyright (c) HashiCorp, Inc.
|
||||||
|
SPDX-License-Identifier: MPL-2.0
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ template "vault.mode" . }}
|
{{ template "vault.mode" . }}
|
||||||
{{- if ne .mode "external" }}
|
{{- if ne .mode "external" }}
|
||||||
{{- template "vault.uiEnabled" . -}}
|
{{- template "vault.uiEnabled" . -}}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# name_prefix returns the prefix of the resources within Kubernetes.
|
# name_prefix returns the prefix of the resources within Kubernetes.
|
||||||
name_prefix() {
|
name_prefix() {
|
||||||
printf "vault"
|
printf "vault"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# The "Hello World" Vault SecretProviderClass
|
# The "Hello World" Vault SecretProviderClass
|
||||||
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
|
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
|
||||||
kind: SecretProviderClass
|
kind: SecretProviderClass
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
path "secret/data/kv1" {
|
path "secret/data/kv1" {
|
||||||
capabilities = ["read"]
|
capabilities = ["read"]
|
||||||
}
|
}
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
|
|
||||||
OUTPUT=/tmp/output.txt
|
OUTPUT=/tmp/output.txt
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
path "database/creds/db-backup" {
|
path "database/creds/db-backup" {
|
||||||
capabilities = ["read"]
|
capabilities = ["read"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
server:
|
server:
|
||||||
annotations: |
|
annotations: |
|
||||||
environment: production
|
environment: production
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
server:
|
server:
|
||||||
standalone:
|
standalone:
|
||||||
config: |
|
config: |
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# chart_dir returns the directory for the chart
|
# chart_dir returns the directory for the chart
|
||||||
chart_dir() {
|
chart_dir() {
|
||||||
echo ${BATS_TEST_DIRNAME}/../..
|
echo ${BATS_TEST_DIRNAME}/../..
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# This Dockerfile installs all the dependencies necessary to run the unit and
|
# This Dockerfile installs all the dependencies necessary to run the unit and
|
||||||
# acceptance tests. This image also contains gcloud so you can run tests
|
# acceptance tests. This image also contains gcloud so you can run tests
|
||||||
# against a GKE cluster easily.
|
# against a GKE cluster easily.
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
apiVersion: kind.x-k8s.io/v1alpha4
|
apiVersion: kind.x-k8s.io/v1alpha4
|
||||||
nodes:
|
nodes:
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
project = "${var.project}"
|
project = "${var.project}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
output "cluster_id" {
|
output "cluster_id" {
|
||||||
value = "${google_container_cluster.cluster.id}"
|
value = "${google_container_cluster.cluster.id}"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
variable "project" {
|
variable "project" {
|
||||||
default = "vault-helm-dev-246514"
|
default = "vault-helm-dev-246514"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# chart_dir returns the directory for the chart
|
# chart_dir returns the directory for the chart
|
||||||
chart_dir() {
|
chart_dir() {
|
||||||
echo ${BATS_TEST_DIRNAME}/../..
|
echo ${BATS_TEST_DIRNAME}/../..
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# These overrides are appropriate defaults for deploying this chart on OpenShift
|
# These overrides are appropriate defaults for deploying this chart on OpenShift
|
||||||
|
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright (c) HashiCorp, Inc.
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
# Available parameters and their default values for the Vault chart.
|
# Available parameters and their default values for the Vault chart.
|
||||||
|
|
||||||
global:
|
global:
|
||||||
|
|
Loading…
Reference in a new issue