This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Python 3.10, add deployment via Flux
- Loading branch information
1 parent
a43fd1a
commit a00b6dd
Showing
11 changed files
with
665 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: aadpodidentity.k8s.io/v1 | ||
kind: AzureIdentity | ||
metadata: | ||
name: keyvault2kube | ||
namespace: kube-system | ||
annotations: | ||
aadpodidentity.k8s.io/Behavior: namespaced | ||
spec: | ||
type: 0 | ||
resourceID: /subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/foo/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bar | ||
clientID: 00000000-0000-0000-0000-00000000 | ||
--- | ||
apiVersion: aadpodidentity.k8s.io/v1 | ||
kind: AzureIdentityBinding | ||
metadata: | ||
name: keyvault2kube | ||
namespace: kube-system | ||
spec: | ||
azureIdentity: keyvault2kube | ||
selector: keyvault2kube |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: keyvault2kube | ||
rules: | ||
- apiGroups: [''] | ||
resources: [secrets] | ||
verbs: [get, update, create, patch] | ||
- apiGroups: [''] | ||
resources: [namespaces] | ||
verbs: [list] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: keyvault2kube | ||
subjects: | ||
- kind: ServiceAccount | ||
name: keyvault2kube | ||
namespace: kube-system | ||
roleRef: | ||
kind: ClusterRole | ||
name: keyvault2kube | ||
apiGroup: rbac.authorization.k8s.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: keyvault2kube | ||
namespace: kube-system | ||
labels: | ||
app: keyvault2kube | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: keyvault2kube | ||
template: | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/default-container: app | ||
labels: | ||
app: keyvault2kube | ||
aadpodidbinding: keyvault2kube | ||
spec: | ||
serviceAccountName: keyvault2kube | ||
containers: | ||
- name: app | ||
image: ghcr.io/terrycain/keyvault2kube:latest | ||
env: | ||
- name: KEY_VAULT_URLS | ||
value: https://foo.vault.azure.net/ | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 64Mi | ||
limits: | ||
cpu: 1000m | ||
memory: 64Mi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
resources: | ||
- azureidentity.yaml | ||
- clusterrole.yaml | ||
- clusterrolebinding.yaml | ||
- deploy.yaml | ||
- serviceaccount.yaml | ||
|
||
namespace: kube-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: keyvault2kube | ||
namespace: kube-system |
Oops, something went wrong.