Skip to content

Commit e940626

Browse files
Merge pull request #72 from philips-labs/spire-client-example
2 parents 8d0421f + d56a358 commit e940626

4 files changed

Lines changed: 11 additions & 21 deletions

File tree

charts/spire-client-example/Chart.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@ apiVersion: v2
22
name: spire-client-example
33
description: A Helm chart for deploying a spire workload as example.
44
type: application
5-
version: 0.2.2
6-
appVersion: "1.4.4"
5+
version: 0.3.0
6+
appVersion: "1.5.1"
77
keywords: ["spiffe", "spire", "client", "example"]
88
home: https://github.com/philips-labs/helm-charts/charts/spire-client-example
99
sources:
1010
- https://github.com/philips-labs/helm-charts/charts/spire-client-example
11-
maintainers:
12-
- name: marcofranssen
13-
email: marco.franssen@philips.com
14-
url: https://marcofranssen.nl
1511
kubeVersion: ">=1.19.0-0"
1612
deprecated: true

charts/spire-client-example/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44

55
> **:exclamation: This Helm Chart is deprecated!**
66
7-
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.4](https://img.shields.io/badge/AppVersion-1.4.4-informational?style=flat-square)
7+
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.1](https://img.shields.io/badge/AppVersion-1.5.1-informational?style=flat-square)
88

99
A Helm chart for deploying a spire workload as example.
1010

1111
**Homepage:** <https://github.com/philips-labs/helm-charts/charts/spire-client-example>
1212

13-
## Maintainers
14-
15-
| Name | Email | Url |
16-
| ---- | ------ | --- |
17-
| marcofranssen | <marco.franssen@philips.com> | <https://marcofranssen.nl> |
18-
1913
## Source Code
2014

2115
* <https://github.com/philips-labs/helm-charts/charts/spire-client-example>

charts/spire-client-example/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
export CLIENT_EXAMPLE=$(kubectl -n {{ .Release.Namespace }} get pods -o jsonpath="{.items[0].metadata.name}" -l app.kubernetes.io/name={{ .Chart.Name }})
44
kubectl -n {{ .Release.Namespace }} exec -it $CLIENT_EXAMPLE -- \
5-
bin/spire-agent api fetch -socketPath /run/spire/sockets/agent.sock
5+
bin/spire-agent api fetch -socketPath /spiffe-workload-api/spire-agent.sock

charts/spire-client-example/templates/client-deployment.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ spec:
5151
- /opt/spire/bin/spire-agent
5252
- healthcheck
5353
- -socketPath
54-
- /run/spire/sockets/agent.sock
54+
- /spiffe-workload-api/spire-agent.sock
5555
resources:
5656
{{- toYaml .Values.resources | nindent 12 }}
5757
volumeMounts:
58-
- name: spire-agent-socket
59-
mountPath: /run/spire/sockets
58+
- name: spiffe-workload-api
59+
mountPath: /spiffe-workload-api
6060
readOnly: true
6161
volumes:
62-
- name: spire-agent-socket
63-
hostPath:
64-
path: /run/spire/sockets
65-
type: Directory
62+
- name: spiffe-workload-api
63+
csi:
64+
driver: "csi.spiffe.io"
65+
readOnly: true
6666
{{- with .Values.nodeSelector }}
6767
nodeSelector:
6868
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)