-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from viaduct-ai/devstein/kustomize/api/v0.3.1
Upgrade to Go 1.13 and Latest Kustomize Refactor
- Loading branch information
Showing
9 changed files
with
361 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,11 +31,12 @@ go get -u github.com/viaduct-ai/kustomize-sops | |
``` | ||
|
||
|
||
### Install (or Reinstall) kustomize with the Same Version (v3.2.0) Used in KSOPS | ||
### Install (or Reinstall) the Latest kustomize with in KSOPS | ||
|
||
```bash | ||
# KSOPS is built with [email protected] | ||
# If you want to change versions, make sure to check that the KSOPS tests still pass | ||
# KSOPS is built with latest kustomize | ||
# If you want to change versions, update the installation script with your desired version and make sure to check that the KSOPS tests still pass | ||
# If you want to change versions below kustomize v3.3.0, use the KSOPS v1.0 or go-1.12 release! | ||
./scripts/install-kustomize.sh | ||
``` | ||
|
||
|
@@ -278,7 +279,7 @@ ARG PKG_NAME=ksops | |
COPY --from=ksops-builder /go/bin/kustomize /usr/local/bin/kustomize | ||
# Copy the plugin to kustomize plugin path | ||
COPY --from=ksops-builder /go/src/github.com/viaduct-ai/kustomize-sops/{PKG_NAME}.so $KUSTOMIZE_PLUGIN_PATH/viaduct.ai/v1/${PKG_NAME}/ | ||
COPY --from=ksops-builder /go/src/github.com/viaduct-ai/kustomize-sops/* $KUSTOMIZE_PLUGIN_PATH/viaduct.ai/v1/${PKG_NAME}/ | ||
# Switch back to non-root user | ||
USER argocd | ||
|
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 |
---|---|---|
@@ -1,34 +1,31 @@ | ||
module github.com/viaduct-ai/kustomize-sops | ||
|
||
go 1.12 | ||
go 1.13 | ||
|
||
require ( | ||
cloud.google.com/go v0.47.0 // indirect | ||
contrib.go.opencensus.io/exporter/ocagent v0.6.0 // indirect | ||
github.com/Azure/azure-sdk-for-go v34.4.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.8.0 // indirect | ||
github.com/Azure/go-autorest/autorest/azure/auth v0.4.0 // indirect | ||
github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect | ||
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect | ||
github.com/aws/aws-sdk-go v1.25.19 // indirect | ||
github.com/golang/groupcache v0.0.0-20191025150517-4a4ac3fbac33 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway v1.11.3 // indirect | ||
github.com/hashicorp/golang-lru v0.5.3 // indirect | ||
cloud.google.com/go v0.51.0 // indirect | ||
github.com/Azure/azure-sdk-for-go v38.0.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest/azure/auth v0.4.2 // indirect | ||
github.com/aws/aws-sdk-go v1.27.2 // indirect | ||
github.com/emicklei/go-restful v2.11.1+incompatible // indirect | ||
github.com/fatih/color v1.9.0 // indirect | ||
github.com/go-openapi/jsonreference v0.19.3 // indirect | ||
github.com/go-openapi/spec v0.19.5 // indirect | ||
github.com/go-openapi/swag v0.19.6 // indirect | ||
github.com/gogo/protobuf v1.3.1 // indirect | ||
github.com/googleapis/gnostic v0.3.1 // indirect | ||
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c // indirect | ||
github.com/json-iterator/go v1.1.9 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | ||
github.com/mattn/go-colorable v0.1.4 // indirect | ||
github.com/mattn/go-isatty v0.0.10 // indirect | ||
github.com/lib/pq v1.3.0 // indirect | ||
github.com/mailru/easyjson v0.7.0 // indirect | ||
github.com/pkg/errors v0.8.1 | ||
go.mozilla.org/sops v0.0.0-20190912205235-14a22d7a7060 | ||
go.opencensus.io v0.22.1 // indirect | ||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect | ||
golang.org/x/net v0.0.0-20191021144547-ec77196f6094 // indirect | ||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect | ||
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect | ||
google.golang.org/api v0.11.0 // indirect | ||
google.golang.org/appengine v1.6.5 // indirect | ||
google.golang.org/grpc v1.24.0 // indirect | ||
gopkg.in/yaml.v2 v2.2.4 // indirect | ||
sigs.k8s.io/kustomize/v3 v3.2.0 | ||
go.mozilla.org/sops/v3 v3.5.0 | ||
golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876 // indirect | ||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect | ||
golang.org/x/sys v0.0.0-20200107162124-548cf772de50 // indirect | ||
gopkg.in/ini.v1 v1.51.1 // indirect | ||
gopkg.in/yaml.v2 v2.2.7 // indirect | ||
sigs.k8s.io/kustomize/api v0.3.1 | ||
sigs.k8s.io/yaml v1.1.0 | ||
) |
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# EXPECTS .sops.yaml TO SPECIFY CREATION RULES | ||
|