Armory is working on a Terraform stage
This file contains hidden or 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
| package namespaces | |
| import ( | |
| "fmt" | |
| "k8s.io/api/core/v1" | |
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "k8s.io/client-go/kubernetes" | |
| ) |
This file contains hidden or 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
| package namespaces | |
| import ( | |
| "testing" | |
| "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| testclient "k8s.io/client-go/kubernetes/fake" | |
| ) | |
| func TestNewNamespaceWithSuffix(t *testing.T) { |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| app: spin | |
| cluster: spin-gate | |
| name: spin-gate-public | |
| spec: | |
| ports: | |
| - port: 8084 |
This file contains hidden or 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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: armory-halyard | |
| namespace: {some-namespace} | |
| labels: | |
| app: armory-halyard | |
| spec: | |
| replicas: 1 | |
| selector: |
This file contains hidden or 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
| <div> | |
| <h1>Hello World</h1> | |
| <stage-config-field label="Method" ng-if="$ctrl.displayField('method')"> | |
| <ui-select ng-model="$ctrl.stage.method" class="form-control input-sm"> | |
| <ui-select-match placeholder="Select a method...">{{$select.selected}}</ui-select-match> | |
| <ui-select-choices repeat="method in $ctrl.methods | filter: $select.search"> | |
| <span ng-bind-html="method | highlight: $select.search"></span> | |
| </ui-select-choices> | |
| </ui-select> | |
| </stage-config-field> |
This file contains hidden or 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
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: kaniko-builder | |
| spec: | |
| backoffLimit: 0 | |
| template: | |
| spec: | |
| restartPolicy: Never |
This file contains hidden or 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
| profiles: | |
| clouddriver-local.yml: | |
| foo:bar | |
| serviceSettings: | |
| clouddriver: | |
| artifactId: my-new-image | |
| orca: | |
| kubernetes: | |
| podAnnotations: | |
| i/like: annotations |
This file contains hidden or 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
| { | |
| "isNew": true, | |
| "keepWaitingPipelines": false, | |
| "lastModifiedBy": "anonymous", | |
| "limitConcurrent": true, | |
| "stages": [ | |
| { | |
| "comments": "Replace <ORG>, <REPO>, and <PATH TO FILE> with relevant parameters.", | |
| "isNew": true, | |
| "method": "PUT", |
This file contains hidden or 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
| load("//config/spinnaker/v1/spinnaker.sky", "spinnaker") | |
| application_name = 'kustomize' | |
| def slack_notification(when = []): | |
| return spinnaker.notifications.slack( | |
| channel = "#devops", | |
| when = when, | |
| ) |
OlderNewer