Skip to content

Commit

Permalink
Merge pull request #9 from Cray-HPE/CASMPET_6182-1.5
Browse files Browse the repository at this point in the history
Add psp for bitnami etcd backup/restore
  • Loading branch information
bklei authored Mar 1, 2023
2 parents af6ef51 + daa577a commit df49e4b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

CHART_METADATA_IMAGE ?= artifactory.algol60.net/csm-docker/stable/chart-metadata
YQ_IMAGE ?= artifactory.algol60.net/docker.io/mikefarah/yq:4
HELM_IMAGE ?= artifactory.algol60.net/docker.io/alpine/helm:3.7.1
HELM_UNITTEST_IMAGE ?= artifactory.algol60.net/docker.io/quintush/helm-unittest
HELM_DOCS_IMAGE ?= artifactory.algol60.net/docker.io/jnorwood/helm-docs:v1.5.0
HELM_IMAGE ?= artifactory.algol60.net/csm-docker/stable/docker.io/alpine/helm:3.9.4
HELM_UNITTEST_IMAGE ?= artifactory.algol60.net/csm-docker/stable/docker.io/quintush/helm-unittest:latest
HELM_DOCS_IMAGE ?= artifactory.algol60.net/csm-docker/stable/docker.io/jnorwood/helm-docs:v1.5.0

all: lint dep-up test package

Expand All @@ -28,7 +28,7 @@ dep-up:
test:
docker run --rm \
-v ${PWD}/charts:/apps \
${HELM_UNITTEST_IMAGE} -3 \
${HELM_UNITTEST_IMAGE} \
cray-psp

package:
Expand Down
4 changes: 2 additions & 2 deletions charts/cray-psp/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand All @@ -23,7 +23,7 @@
#
apiVersion: v2
name: cray-psp
version: 0.4.2
version: 0.4.3
description: Apply net-raw PSP
keywords:
- cray-psp
Expand Down
13 changes: 13 additions & 0 deletions charts/cray-psp/templates/psp/cray-etcd-s3-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cray-etcd-s3-sync-psp
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: restricted-transition-net-raw-psp
subjects:
- kind: ServiceAccount
name: etcd-backup-restore
namespace: services

0 comments on commit df49e4b

Please sign in to comment.