Skip to content

Commit b617687

Browse files
syedhaseebahmedhaseebsyed12
authored andcommitted
using service specific tokens
1 parent c5be50e commit b617687

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

components/nautobot/secretstore-nautobot.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ rules:
2626
- watch
2727
resourceNames:
2828
- nautobot-superuser
29+
- ansible-token
30+
- openstack-token
31+
- workflow-token
2932
- apiGroups:
3033
- authorization.k8s.io
3134
resources:

workflows/argo-events/secrets/nautobot-token.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ spec:
2121
data:
2222
- secretKey: token
2323
remoteRef:
24-
key: nautobot-superuser
25-
property: apitoken
24+
key: workflow-token
25+
property: token
2626
# necessary to avoid argoproj/argo-cd#13004
2727
conversionStrategy: Default
2828
decodingStrategy: None

workflows/openstack/secrets/nautobot-token.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ spec:
2121
data:
2222
- secretKey: token
2323
remoteRef:
24-
key: nautobot-superuser
25-
property: apitoken
24+
key: openstack-token
25+
property: token
2626
# necessary to avoid argoproj/argo-cd#13004
2727
conversionStrategy: Default
2828
decodingStrategy: None

0 commit comments

Comments
 (0)