Skip to content

Commit

Permalink
Updated URL to proper reference or Placeholders for Azure examples [s…
Browse files Browse the repository at this point in the history
…kip ci] (#111)

* update to proper URL's to be used in the example

* Update URL to proper URL's or placeholders

* Change to proper urls or placeholders

* Change URL's and placeholders

* Rename AzureAD to EntraID

* AzureAD rename to EntraID

* Rename AzureAD to EntraID

* Rename AzureAD to EntraID

* Rename AzureAD to EntraID
  • Loading branch information
iam-take authored May 5, 2024
1 parent bbf6c6f commit ad9490e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
16 changes: 8 additions & 8 deletions examples/AzureAuthentication-Example1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To use this examples you will need the following:

- Azure Active Directory
- Entra ID Directory ( formerly known as Azure AD Directory )
- Azure Storage Account with these containers:
- registry (blob)
- tfstate (private)
Expand All @@ -22,7 +22,7 @@ name: "terrakube"

## Terrakube Security
security:
adminGroup: "<<CHANGE_THIS>>" # This should be your Azure AD group name
adminGroup: "<<CHANGE_THIS>>" # This should be your Entra ID (formerly Azure AD) group name
patSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters z6QHX!y@Nep2QDT!53vgH43^PjRXyC3X
internalSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters Kb^8cMerPNZV6hS!9!kcD*KuUPUBa^B3
dexClientId: "microsoft"
Expand All @@ -39,7 +39,7 @@ storage:
## Dex
dex:
config:
issuer: https://terrakube-api.sandbox.terrakube.org/dex
issuer: https://<<CHANGE_THIS>>/dex # Change this to your terrakube api url for example terrakube-api.example.com
storage:
type: memory
oauth2:
Expand All @@ -51,7 +51,7 @@ dex:
staticClients:
- id: microsoft
redirectURIs:
- 'https://terrakube-api.domain.com'
- 'https://<<CHANGE_THIS>>' # Change this to your Terrakube UI URL for example terrakube.example.com
- 'http://localhost:10001/login'
- 'http://localhost:10000/login'
- '/device/callback'
Expand All @@ -65,15 +65,15 @@ dex:
config:
clientID: "<<CHANGE_THIS>>"
clientSecret: "<<CHANGE_THIS>>"
redirectURI: "https://terrakube-api.domain.com/dex/callback"
redirectURI: "https://<<CHANGE_THIS>>/dex/callback" # Change this to your terrakube api url for example terrakube-api.example.com
tenant: "<<CHANGE_THIS>>"

## Ingress properties
ingress:
useTls: true
ui:
enabled: true
domain: "terrakube-ui.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your Terrakube UI URL for example terrakube.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -82,7 +82,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
api:
enabled: true
domain: "terrakube-api.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube api url for example terrakube-api.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -92,7 +92,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
registry:
enabled: true
domain: "terrakube-reg.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube registry url for example terrakube-registry.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand Down
18 changes: 9 additions & 9 deletions examples/AzureAuthentication-Example2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To use this examples you will need the following:

- Azure Active Directory
- Entra ID Directory ( formerly known as Azure AD Directory )
- Azure Storage Account with these containers:
- registry (blob)
- tfstate (private)
Expand All @@ -23,7 +23,7 @@ name: "terrakube"

## Terrakube Security
security:
adminGroup: "<<CHANGE_THIS>>" # This should be your Azure AD group name
adminGroup: "<<CHANGE_THIS>>" # This should be your Entra ID (formerly Azure AD) group name
patSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters z6QHX!y@Nep2QDT!53vgH43^PjRXyC3X
internalSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters Kb^8cMerPNZV6hS!9!kcD*KuUPUBa^B3
dexClientId: "microsoft"
Expand All @@ -40,7 +40,7 @@ storage:
## Dex
dex:
config:
issuer: https://terrakube-api.sandbox.terrakube.org/dex
issuer: https://<<CHANGE_THIS>>/dex # Change this to your terrakube api url for example terrakube-api.example.com
storage:
type: memory
oauth2:
Expand All @@ -52,7 +52,7 @@ dex:
staticClients:
- id: microsoft
redirectURIs:
- 'https://terrakube-api.domain.com'
- 'https://<<CHANGE_THIS>>' # Change this to your Terrakube UI URL for example terrakube.example.com
- 'http://localhost:10001/login'
- 'http://localhost:10000/login'
- '/device/callback'
Expand All @@ -66,7 +66,7 @@ dex:
config:
clientID: "<<CHANGE_THIS>>"
clientSecret: "<<CHANGE_THIS>>"
redirectURI: "https://terrakube-api.domain.com/dex/callback"
redirectURI: "https://<<CHANGE_THIS>>/dex/callback" # Change this to your terrakube api url for example terrakube-api.example.com
tenant: "<<CHANGE_THIS>>"

## API properties
Expand All @@ -76,7 +76,7 @@ api:
serviceType: "ClusterIP"
properties:
databaseType: "SQL_AZURE"
databaseHostname: "terrakubedb.database.azure.com" #Change with the real value
databaseHostname: "<<CHANGE_THIS>>" #Change with the real value for example terrakubedb.database.azure.com
databaseName: "<<CHANGE_THIS>>"
databaseUser: "<<CHANGE_THIS>>"
databasePassword: "<<CHANGE_THIS>>"
Expand All @@ -86,7 +86,7 @@ ingress:
useTls: true
ui:
enabled: true
domain: "terrakube-ui.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your Terrakube UI URL for example terrakube.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -95,7 +95,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
api:
enabled: true
domain: "terrakube-api.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube api url for example terrakube-api.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -105,7 +105,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
registry:
enabled: true
domain: "terrakube-reg.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube registry url for example terrakube-registry.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand Down
18 changes: 9 additions & 9 deletions examples/AzureAuthentication-Example3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To use this examples you will need the following:

- Azure Active Directory
- Entra ID Directory ( formerly known as Azure AD Directory )
- Azure Storage Account with these containers:
- registry (blob)
- tfstate (private)
Expand All @@ -23,7 +23,7 @@ name: "terrakube"

## Terrakube Security
security:
adminGroup: "<<CHANGE_THIS>>" # This should be your Azure AD group name
adminGroup: "<<CHANGE_THIS>>" # This should be your Entra ID (formerly Azure AD) group name
patSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters z6QHX!y@Nep2QDT!53vgH43^PjRXyC3X
internalSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters Kb^8cMerPNZV6hS!9!kcD*KuUPUBa^B3
dexClientId: "microsoft"
Expand All @@ -40,7 +40,7 @@ storage:
## Dex
dex:
config:
issuer: https://terrakube-api.sandbox.terrakube.org/dex
issuer: https://<<CHANGE_THIS>>/dex # Change this to your terrakube api url for example terrakube-api.example.com
storage:
type: memory
oauth2:
Expand All @@ -52,7 +52,7 @@ dex:
staticClients:
- id: microsoft
redirectURIs:
- 'https://terrakube-api.domain.com'
- 'https://<<CHANGE_THIS>>' # Change this to your Terrakube UI URL for example terrakube.example.com
- 'http://localhost:10001/login'
- 'http://localhost:10000/login'
- '/device/callback'
Expand All @@ -66,7 +66,7 @@ dex:
config:
clientID: "<<CHANGE_THIS>>"
clientSecret: "<<CHANGE_THIS>>"
redirectURI: "https://terrakube-api.domain.com/dex/callback"
redirectURI: "https://<<CHANGE_THIS>>/dex/callback" # Change this to your terrakube api url for example terrakube-api.example.com
tenant: "<<CHANGE_THIS>>"

## API properties
Expand All @@ -76,7 +76,7 @@ api:
serviceType: "ClusterIP"
properties:
databaseType: "POSTGRESQL"
databaseHostname: "terrakubedb.database.azure.com" #Change with the real value
databaseHostname: "<<CHANGE_THIS>>" #Change with the real value for example terrakubedb.database.azure.com
databaseName: "<<CHANGE_THIS>>"
databaseUser: "<<CHANGE_THIS>>"
databasePassword: "<<CHANGE_THIS>>"
Expand All @@ -86,7 +86,7 @@ ingress:
useTls: true
ui:
enabled: true
domain: "terrakube-ui.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your Terrakube UI URL for example terrakube.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -95,7 +95,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
api:
enabled: true
domain: "terrakube-api.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube api url for example terrakube-api.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand All @@ -105,7 +105,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt
registry:
enabled: true
domain: "terrakube-reg.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube registry url for example terrakube-registry.example.com
path: "/(.*)"
pathType: "Prefix"
annotations:
Expand Down
18 changes: 9 additions & 9 deletions examples/AzureAuthentication-Example4.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

To use this examples you will need the following:

- Azure Active Directory for Authentication
- Entra ID Directory ( formerly known as Azure AD Directory )
- Amazon EKS + Load Balancer
- S3 Bucket
- PostgreSQL Database
Expand All @@ -21,7 +21,7 @@ name: "terrakube"

## Terrakube Security
security:
adminGroup: "<<CHANGE_THIS>>" # This should be your Azure AD group name
adminGroup: "<<CHANGE_THIS>>" # This should be your Entra ID (formerly Azure AD) group name
patSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters z6QHX!y@Nep2QDT!53vgH43^PjRXyC3X
internalSecret: "<<CHANGE_THIS>>" # Sample Key 32 characters Kb^8cMerPNZV6hS!9!kcD*KuUPUBa^B3
dexClientId: "microsoft"
Expand All @@ -39,7 +39,7 @@ storage:
## Dex
dex:
config:
issuer: https://terrakube-api.sandbox.terrakube.org/dex
issuer: https://<<CHANGE_THIS>>/dex # Change this to your terrakube api url for example terrakube-api.example.com
storage:
type: memory
oauth2:
Expand All @@ -51,7 +51,7 @@ dex:
staticClients:
- id: microsoft
redirectURIs:
- 'https://terrakube-api.domain.com'
- 'https://<<CHANGE_THIS>>' # Change this to your Terrakube UI URL for example terrakube.example.com
- 'http://localhost:10001/login'
- 'http://localhost:10000/login'
- '/device/callback'
Expand All @@ -65,7 +65,7 @@ dex:
config:
clientID: "<<CHANGE_THIS>>"
clientSecret: "<<CHANGE_THIS>>"
redirectURI: "https://terrakube-api.domain.com/dex/callback"
redirectURI: "https://<<CHANGE_THIS>>/dex/callback" # Change this to your terrakube api url for example terrakube-api.example.com
tenant: "<<CHANGE_THIS>>"

## API properties
Expand All @@ -75,7 +75,7 @@ api:
serviceType: "ClusterIP"
properties:
databaseType: "POSTGRESQL"
databaseHostname: "terrakubedb.database.azure.com" #Change with the real value
databaseHostname: "<<CHANGE_THIS>>" #Change with the real value for example terrakubedb.database.azure.com
databaseName: "<<CHANGE_THIS>>"
databaseUser: "<<CHANGE_THIS>>"
databasePassword: "<<CHANGE_THIS>>"
Expand All @@ -85,7 +85,7 @@ ingress:
useTls: true
ui:
enabled: true
domain: "terrakube-ui.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your Terrakube UI URL for example terrakube.example.com
path: "/(.*)"
pathType: "Prefix"
annotations: # This annotations can change based on requirements. The followin is an example using EKS
Expand All @@ -101,7 +101,7 @@ ingress:
kubernetes.io/ingress.class: alb
api:
enabled: true
domain: "terrakube-api.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube api url for example terrakube-api.example.com
path: "/(.*)"
pathType: "Prefix"
annotations: # This annotations can change based on requirements. The followin is an example using EKS
Expand All @@ -117,7 +117,7 @@ ingress:
kubernetes.io/ingress.class: alb
registry:
enabled: true
domain: "terrakube-reg.domain.com" # Change for your real domain
domain: "<<CHANGE_THIS>>" # Change this to your terrakube registry url for example terrakube-registry.example.com
path: "/(.*)"
pathType: "Prefix"
annotations: # This annotations can change based on requirements. The followin is an example using EKS
Expand Down

0 comments on commit ad9490e

Please sign in to comment.